/*
===============================================================================
 GÉPI FÖLDMUNKA GYŐR – KÖZÖS STÍLUSLAP
===============================================================================

 Ez a fájl a főoldal és a szolgáltatás/cikk aloldal teljes megjelenését kezeli.
 A legtöbb általános finomhangolás a közvetlenül lent található :root
 változók módosításával elvégezhető. A szolgáltatásoldal szabályai egyetlen,
 egységes blokkban szerepelnek, ezért nincs rejtett későbbi felülírás.

 GYORS FINOMHANGOLÁSI TÉRKÉP
 ------------------------------------------------------------------------------
 • Fő sárga szín:                 --accent
 • Sárga sötétebb árnyalata:      --accent-deep
 • Oldal maximális szélessége:    --max
 • Általános lekerekítés:         --radius
 • Nagyobb árnyék:                --shadow
 • Fő betűtípus:                  a body szabály font-family sora
 • Asztali/mobil töréspontok:      a fájl alján lévő @media blokkok
 • Főoldali nyitókép:              .home-hero::before
 • Cikkoldali fő kép magassága:    .article-image-frame img
 • Cikkoldali cím mérete:          .article-title-wrap h1
 • Árblokk kialakítása:            .price-box és alosztályai

 A kommentek a vizuális egységeket követik, így az egyes részek gyorsan
 megtalálhatók. A HTML osztályneveit csak akkor nevezd át, ha ugyanazt a nevet
 a HTML-fájlokban is átírod.
===============================================================================
*/

/* --------------------------------------------------------------------------
   1. SZÍNEK, MÉRETEK ÉS KÖZÖS VÁLTOZÓK
   -------------------------------------------------------------------------- */
:root {
  --ink: #141414;          /* Elsődleges sötét szövegszín */
  --ink-2: #202020;        /* Másodlagos sötét háttér/szöveg */
  --paper: #ffffff;        /* Alap fehér háttér */
  --paper-2: #f6f6f4;      /* Enyhén törtfehér háttér */
  --muted: #666a70;        /* Halványabb bekezdések, kiegészítő szövegek */
  --line: #e5e5e2;         /* Elválasztóvonalak és keretek */
  --accent: #f5b400;       /* Fő sárga kiemelőszín */
  --accent-deep: #d99a00;  /* Sötétebb sárga linkekhez és ikonokhoz */
  --max: 1180px;           /* A központi tartalom maximális szélessége */
  --shadow: 0 18px 50px rgba(0, 0, 0, .12); /* Nagy képek/kártyák árnyéka */
  --radius: 16px;          /* Általános lekerekítési alapérték */
}

/* --------------------------------------------------------------------------
   2. GLOBÁLIS ALAPBEÁLLÍTÁSOK ÉS KÖZÖS SEGÉDOSZTÁLYOK
   -------------------------------------------------------------------------- */
/* Minden elem szélességébe beleszámít a belső térköz és a keret. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Az oldal globális betűtípusa, színe, háttere és sormagassága. */
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px; /* Minden normál szöveg alapmérete */
  line-height: 1.4; /* A teljes oldalon használt legnagyobb sormagasság */
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
/* Központi tartó: oldalt minimum 20–20 px margó, legfeljebb --max szélesség. */
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
/* Általános szekciótérközök. */
.section { padding: 82px 0; }
.section-sm { padding: 58px 0; }
/* Kis, nagybetűs sárga felirat a főcímek felett. */
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
/* Szekciók fő címsora; a clamp automatikusan méretezi a kijelzőhöz. */
.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-lead { max-width: 680px; color: var(--muted); font-size: 1rem; }
/* Közös gombstílus: a fejléc, CTA-k és kapcsolati gombok ezt használják. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--accent);
  color: #121212;
  font-weight: 850;
  font-size: 1rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); background: #ffc31a; box-shadow: 0 9px 25px rgba(245,180,0,.25); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); box-shadow: none; }

/* --------------------------------------------------------------------------
   3. FEJLÉC ÉS FŐMENÜ
   A fejléc asztali nézetben ragadós (sticky), mobilon lenyíló menüt használ.
   -------------------------------------------------------------------------- */
/* Sticky fejléc: görgetéskor a képernyő tetején marad. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20,20,20,.97);
  color: white;
  border-bottom: 1px solid rgba(245,180,0,.25);
  backdrop-filter: blur(14px);
}
/* A fejléc belső sorának magassága és elemei közti távolság. */
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; min-width: 220px; }
/* Logó mérete; contain miatt torzítás nélkül fér a megadott keretbe. */
.brand img { width: 170px; height: 50px; object-fit: contain; object-position: left center; }
/* Asztali menü: a margin-left:auto jobbra tolja a navigációt. */
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.main-nav a {
  position: relative;
  color: #f5f5f5;
  font-weight: 760;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .025em;
  padding: 28px 0 24px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 17px;
  height: 2px; background: var(--accent);
  transition: right .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-call { white-space: nowrap; min-height: 44px; }
/* Mobil hamburgergomb; asztalon rejtve van, a médiakérdés jeleníti meg. */
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0; border-radius: 5px;
  background: transparent; color: white;
  font-size: 1.65rem; cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. FŐOLDALI NYITÓSZEKCIÓ (HERO)
   A háttérkép és a sötét átmenetek pszeudoelemekből épülnek fel.
   -------------------------------------------------------------------------- */
/* A teljes főoldali nyitóblokk magassága és alapszíne. */
.home-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: white;
  background: linear-gradient(90deg, #151719 0%, #151719 41%, #202327 41%, #202327 100%);
}
/* A nyitóblokk jobb oldalán lévő kép és a rákerülő sötét átmenet. */
.home-hero::before {
  content: "";
  position: absolute; inset: 0 0 0 42%;
  background: linear-gradient(90deg, rgba(20,22,24,.96) 0%, rgba(20,22,24,.34) 26%, rgba(20,22,24,.05) 100%),
              var(--hero-image, url("../images/hero-home.jpg")) center 48% / cover no-repeat;
}
/* Plusz sötétítés alul és enyhe sárga fényfolt bal oldalon. */
.home-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 48%), radial-gradient(circle at 18% 30%, rgba(245,180,0,.08), transparent 30%);
}
.hero-content { position: relative; z-index: 2; min-height: 610px; display: flex; align-items: center; }
.hero-copy { width: 54%; padding: 70px 0 110px; }
/* Főoldali H1: nagy, reszponzív címméret. */
.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 780px;
}
.hero-copy h1 span { display: block; color: var(--accent); }
.hero-copy p { margin: 0 0 30px; max-width: 580px; color: #e6e7e8; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* A nyitókép jobb alsó sarkában lévő információs panel. */
.hero-proof {
  position: absolute; z-index: 3; right: max(20px, calc((100vw - var(--max))/2)); bottom: 0;
  padding: 20px 28px; min-width: 350px;
  background: rgba(29,29,29,.93); border-left: 3px solid var(--accent);
  display: flex; gap: 14px; align-items: center;
}
.hero-proof strong { display:block; }
.hero-proof small { color: #bfc1c4; }

/* --------------------------------------------------------------------------
   5. FŐOLDALI SZOLGÁLTATÁSKÁRTYÁK
   -------------------------------------------------------------------------- */
.section-heading-row { display:flex; justify-content:space-between; align-items:end; gap:28px; margin-bottom:36px; }
/* Négy egyforma szélességű szolgáltatáskártya asztalon. */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: white; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.05); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(0,0,0,.1); }
.service-card img { aspect-ratio: 1.55; object-fit: cover; }
.card-body { padding: 24px 22px 22px; }
.card-icon { width: 42px; height: 42px; margin-top: -44px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); border: 5px solid white; display:grid; place-items:center; font-size:1.05rem; }
.card-body h3 { margin: 0 0 8px; font-size: 1rem; }
.card-body p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; }
.text-link { color: var(--accent-deep); font-weight: 850; font-size: 1rem; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   6. GÉPPARK SZEKCIÓ – SÖTÉT HÁTTÉRREL
   -------------------------------------------------------------------------- */
.equipment { color: white; background: radial-gradient(circle at 10% 20%, #292929, #151515 52%, #101010); }
/* Első oszlop a bevezetőé, utána négy gépkártya. */
.equipment-grid { display: grid; grid-template-columns: 1.12fr repeat(4, 1fr); gap: 18px; align-items: stretch; }
.equipment-intro { padding: 18px 28px 18px 0; }
.equipment-intro h2 { font-size: 2.45rem; line-height: 1.08; margin: 0 0 18px; letter-spacing: -.035em; }
.equipment-intro p { color: #c7c7c7; }
.machine-card { background: #242424; border: 1px solid rgba(255,255,255,.06); }
.machine-card img { height: 175px; object-fit: cover; }
.machine-card div { padding: 20px; }
.machine-card h3 { margin:0 0 4px; font-size:1.05rem; }
.machine-card strong { color: var(--accent); font-size:.83rem; }
.machine-card p { margin:10px 0 0; color:#c9c9c9; font-size:.85rem; }

/* --------------------------------------------------------------------------
   7. ELŐNYÖK / „MIÉRT MINKET?” IKONOS SOR
   -------------------------------------------------------------------------- */
/* Öt előny egy sorban asztali nézetben. */
.advantage-grid { display:grid; grid-template-columns:repeat(5, 1fr); gap:24px; margin-top:40px; }
.advantage { text-align:center; }
.advantage .round-icon { width:70px; height:70px; margin:0 auto 14px; border-radius:50%; border:1px solid #ecebe7; box-shadow:0 10px 25px rgba(0,0,0,.06); display:grid; place-items:center; color:var(--accent-deep); font-size:1.65rem; }
.advantage h3 { margin:0 0 4px; font-size:1rem; }
.advantage p { margin:0; color:var(--muted); font-size:.85rem; }

/* --------------------------------------------------------------------------
   8. FŐOLDALI REFERENCIAKÉPEK
   -------------------------------------------------------------------------- */
/* Négy referenciafotó egy sorban a főoldalon. */
.ref-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.ref-card { overflow:hidden; position:relative; background:#222; }
.ref-card img { aspect-ratio: 1.65; object-fit:cover; transition: transform .35s ease; }
.ref-card:hover img { transform:scale(1.04); }
.ref-card span { position:absolute; inset:auto 0 0; padding:30px 14px 12px; color:white; font-size:.82rem; font-weight:750; background:linear-gradient(transparent,rgba(0,0,0,.82)); }

/* --------------------------------------------------------------------------
   9. SZOLGÁLTATÁSI TERÜLET, TÉRKÉP ÉS KAPCSOLATI PANEL
   -------------------------------------------------------------------------- */
/* Három részes blokk: településlista | térkép | kapcsolat. */
.area-contact { display:grid; grid-template-columns:.9fr 1.15fr .95fr; min-height:390px; }
.area-copy, .contact-panel { padding:56px max(38px, calc((100vw - var(--max))/2)); }
.area-copy { padding-right:42px; background:#fafafa; }
.area-copy ul { columns:2; list-style:none; padding:0; margin:24px 0 0; }
.area-copy li { margin:8px 0; }
.area-copy li::before { content:"✓"; color:var(--accent-deep); font-weight:900; margin-right:8px; }
.area-map { background:url("../images/service-map.jpg") center / cover no-repeat; }
.contact-panel { padding-left:48px; background:linear-gradient(135deg,#242424,#111); color:white; }
.contact-panel h2 { margin:0 0 10px; font-size:2.25rem; line-height:1.06; }
.contact-panel p { color:#c7c7c7; }
.contact-actions { display:grid; gap:12px; margin-top:25px; }

/* --------------------------------------------------------------------------
   10. LÁBLÉC ÉS MOBIL ALSÓ AKCIÓSÁV
   -------------------------------------------------------------------------- */
.site-footer { background:#151515; color:white; padding:48px 0 24px; }
/* Négyoszlopos lábléc. */
.footer-grid { display:grid; grid-template-columns:1.2fr .9fr .9fr 1.15fr; gap:42px; }
.footer-brand img { width:175px; height:58px; object-fit:contain; object-position:left; margin-bottom:14px; }
.footer-brand p, .footer-col a, .footer-col p { color:#b9b9b9; font-size:.88rem; }
.footer-col h3 { font-size:.88rem; text-transform:uppercase; letter-spacing:.08em; margin:0 0 14px; }
.footer-col a { display:block; margin:7px 0; }
.footer-bottom { margin-top:32px; padding-top:18px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:20px; color:#8f8f8f; font-size:.78rem; }
/* Fix mobil alsó gombsáv; alapesetben rejtve, mobilon jelenik meg. */
.mobile-action { display:none; }

/* --------------------------------------------------------------------------
   11. SZOLGÁLTATÁS-/CIKKOLDAL – EGYSÉGES, DUPLIKÁCIÓMENTES BLOKK
   --------------------------------------------------------------------------
   Minden szolgáltatásoldali szabály egy helyen található. A szelektorok
   szándékosan a .fold-service-article szülőelemmel kezdődnek, így nem
   ütköznek a normál Joomla-cikkek megjelenésével.
   -------------------------------------------------------------------------- */

/* A teljes szolgáltatáscikk külső kerete. */
.fold-service-article {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: clip;
  background: #fff;
}

/* Sötét fejléc finom ipari vonalmintával. */
.fold-service-article .article-hero {
  position: relative;
  margin-bottom: 50px;
  padding: 34px 0 0;
  color: #fff;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(245,180,0,.08) 46.2% 46.45%, transparent 46.7%) right -120px top -120px / 660px 660px no-repeat,
    linear-gradient(45deg, transparent 0 48%, rgba(255,255,255,.035) 48.2% 48.45%, transparent 48.7%) right -20px top -40px / 500px 500px no-repeat,
    radial-gradient(circle at 78% 18%, #282828 0, #171717 43%, #0f0f0f 100%);
}

/* Morzsamenü – az eredeti, vízszintes Joomla-formázás. */
.fold-service-article .breadcrumbs {
  min-height: 22px;
  margin: 0 0 30px;
  color: #b9b9b9;
  font-size: .78rem;
}
.fold-service-article .breadcrumbs .mod-breadcrumbs,
.fold-service-article .breadcrumbs ol,
.fold-service-article .breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fold-service-article .breadcrumbs li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--accent);
}

/* Címblokk és bal oldali sárga díszvonal. */
.fold-service-article .article-title-wrap {
  position: relative;
  max-width: 930px;
  padding: 8px 0 4px 48px;
}
.fold-service-article .article-title-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--accent);
}
.fold-service-article .article-title-wrap h1 {
  max-width: 910px;
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  line-height: .97;
  letter-spacing: -.055em;
}
.fold-service-article .article-title-wrap h1 span {
  display: block;
  color: var(--accent);
}
.fold-service-article .article-title-wrap .intro {
  max-width: 790px;
  margin: 0;
  color: #e1e1e1;
  font-size: 1rem;
  line-height: 1.4;
}

/* Főkép: nincs árnyék és nincs lekerekítés. */
.fold-service-article .article-image-frame {
  position: relative;
  margin-top: 0px;
  padding: 18px;
  transform: translateY(40px);
  /*border: 1px solid rgba(245,180,0,.7);*/
  border-radius: 0px;
  /*background: linear-gradient(145deg, #222, #111);*/
  box-shadow: none;
}
/*.fold-service-article .article-image-frame::before,
.fold-service-article .article-image-frame::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 70px;
  border-color: var(--accent);
  opacity: .25;
}
.fold-service-article .article-image-frame::before {
  top: -18px;
  right: 35px;
  border-top: 1px solid;
  border-right: 1px solid;
}
.fold-service-article .article-image-frame::after {
  bottom: -18px;
  left: 35px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}*/

.fold-service-article .article-image-frame img {
  height: clamp(290px, 38vw, 390px);
  object-fit: cover;
  object-position: center;
  border-radius: 0px;
}

/* Cikktörzs. */
.fold-service-article .article-main {
  padding: 30px 0 0;
}
.fold-service-article .article-copy {
  width: min(calc(100% - 40px), 1080px);
  max-width: 1080px;
  margin: 0 auto;
}
.fold-service-article .article-copy h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 2.15rem;
  letter-spacing: -.03em;
}
.fold-service-article .article-copy h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 13px auto 0;
  background: var(--accent);
}
.fold-service-article .article-lead {
  max-width: 880px;
  margin: 0 auto 38px;
  color: #434343;
  text-align: center;
  font-size: 1rem;
}

/* A Joomla szerkesztőből érkező cikkszöveg két hasábban fut asztalon. */
.fold-service-article .service-article-text {
  max-width: none;
  margin: 0 auto;
  column-count: 2;
  column-gap: 66px;
  column-rule: 1px solid #e5e5e2;
  color: #303236;
  font-size: 1rem;
  line-height: 1.4;
}
.fold-service-article .service-article-text > :first-child { margin-top: 0; }
.fold-service-article .service-article-text > :last-child { margin-bottom: 0; }
.fold-service-article .service-article-text p {
  margin: 0 0 1.35em;
  text-align: justify;
  text-justify: inter-word;
  text-wrap: pretty;
  hyphens: auto;
  break-inside: avoid-column;
}
.fold-service-article .service-article-text h2,
.fold-service-article .service-article-text h3,
.fold-service-article .service-article-text h4 {
  column-span: all;
  max-width: 900px;
  margin: 1.5em auto .8em;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.025em;
  text-align: center;
  break-after: avoid;
}
.fold-service-article .service-article-text h2:first-child,
.fold-service-article .service-article-text h3:first-child {
  margin-top: 0;
}
.fold-service-article .service-article-text h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.fold-service-article .service-article-text h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.fold-service-article .service-article-text ul,
.fold-service-article .service-article-text ol,
.fold-service-article .service-article-text blockquote {
  break-inside: avoid-column;
}
.fold-service-article .service-article-text ul,
.fold-service-article .service-article-text ol {
  max-width: none;
  margin: 1.1em auto 1.6em;
}
.fold-service-article .service-article-text ul {
  padding-left: 0;
  list-style: none;
}
.fold-service-article .service-article-text ol {
  padding-left: 1.5em;
}
.fold-service-article .service-article-text li {
  margin: .55em 0;
}
.fold-service-article .service-article-text ul li {
  position: relative;
  padding-left: 28px;
}
.fold-service-article .service-article-text ul li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent-deep);
  font-weight: 900;
}
.fold-service-article .service-article-text img {
  width: 100%;
  height: auto;
  margin: 2em auto;
  border-radius: 10px;
}
.fold-service-article .service-article-text blockquote {
  margin: 2em auto;
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
  background: var(--paper-2);
  font-size: 1rem;
}

/* Árblokk. */
.fold-service-article .price-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 150px;
  margin: 52px auto 0;
  overflow: hidden;
  border: 1px solid #f0e7d4;
  border-radius: 14px;
  background: linear-gradient(105deg, #fff8e8, #fbfaf7);
  box-shadow: none;
}
.fold-service-article .price-main,
.fold-service-article .price-note {
  padding: 30px 38px;
}
.fold-service-article .price-main {
  display: flex;
  align-items: center;
  gap: 22px;
}
.fold-service-article .price-icon {
  display: grid;
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 1.6rem;
}
.fold-service-article .price-main h2 {
  margin: 0;
  text-align: left;
  font-size: 1.28rem;
}
.fold-service-article .price-main h2::after { display: none; }
.fold-service-article .price {
  display: block;
  margin-top: 6px;
  font-size: clamp(2.15rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.fold-service-article .price small {
  font-size: 1rem;
  letter-spacing: 0;
}
.fold-service-article .price-main p {
  margin: 4px 0 0;
  font-weight: 700;
}
.fold-service-article .price-note {
  display: flex;
  align-items: center;
  gap: 18px;
  border-left: 2px solid var(--accent);
}
.fold-service-article .price-note p { margin: 0; }
.fold-service-article .price-note-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-deep);
  font-weight: 900;
}

/* Munkafolyamat. */
.fold-service-article .process {
  padding: 66px 0 56px;
}
.fold-service-article .process h2,
.fold-service-article .article-refs h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 2rem;
}
.fold-service-article .process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.fold-service-article .process-step {
  position: relative;
  padding: 4px 6px 0 54px;
}
.fold-service-article .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -17px;
  width: 42px;
  border-top: 1px dashed #c3c3c3;
}
.fold-service-article .step-no {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-weight: 900;
}
.fold-service-article .process-step h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}
.fold-service-article .process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Referenciák. */
.fold-service-article .article-refs {
  padding-bottom: 6px;
}
.fold-service-article .article-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fold-service-article .article-ref-grid figure { margin: 0; }
.fold-service-article .article-ref-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}
.fold-service-article .article-ref-grid img {
  aspect-ratio: 1.75;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .3s ease, filter .3s ease;
}
.fold-service-article .article-ref-grid a:hover img {
  transform: scale(1.035);
  filter: brightness(.94);
}
.fold-service-article .article-ref-grid figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: 650;
}
.fold-service-article .references-more {
  margin: 22px 0 0;
  color: var(--accent-deep);
  text-align: center;
  font-weight: 800;
}

/* Alsó CTA-sáv. */
.fold-service-article .cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 54px 0 0;
  padding: 27px 34px;
  border-radius: 12px;
  background: linear-gradient(100deg, #202020, #111);
  color: #fff;
}
.fold-service-article .cta-bar h2 {
  margin: 0 0 4px;
  font-size: 1.45rem;
}
.fold-service-article .cta-bar p {
  margin: 0;
  color: #c6c6c6;
}

/* Normál, nem szolgáltatás jellegű Joomla-cikkek. */
.standard-article { padding: 70px 0; }
.standard-article-inner { max-width: 960px; }
.standard-article h1 {
  margin: 0 0 28px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.standard-article-image {
  max-height: 520px;
  margin-bottom: 34px;
  border-radius: 12px;
  object-fit: cover;
}
.standard-article-text {
  font-size: 1rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. TABLET ÉS KISEBB ASZTALI NÉZET – 1020 PX ALATT
   Itt válik a főmenü lenyithatóvá, és több rács kétoszlopossá.
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .main-nav { position:fixed; inset:78px 0 auto; display:none; flex-direction:column; align-items:stretch; gap:0; padding:16px 20px 25px; background:#171717; border-bottom:1px solid rgba(245,180,0,.25); }
  .main-nav.open { display:flex; }
  .main-nav a { padding:14px 2px; border-bottom:1px solid rgba(255,255,255,.08); }
  .main-nav a::after { display:none; }
  .menu-toggle { display:block; }
  .header-call { margin-left:0; }
  .home-hero::before { inset:0; opacity:.62; }
  .hero-copy { width:75%; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .equipment-grid { grid-template-columns:repeat(2,1fr); }
  .equipment-intro { grid-column:1/-1; }
  .advantage-grid { grid-template-columns:repeat(3,1fr); }
  .area-contact { grid-template-columns:1fr 1fr; }
  .area-map { min-height:340px; }
  .contact-panel { grid-column:2; grid-row:1 / span 2; }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
}

/* --------------------------------------------------------------------------
   13. MOBILNÉZET – 720 PX ALATT
   Az elrendezések egy oszlopra váltanak, megjelenik az alsó fix akciósáv.
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .container { width:min(calc(100% - 28px), var(--max)); }
  .section { padding:58px 0; }
  .header-inner { min-height:68px; gap:12px; }
  .brand { min-width:0; }
  .brand img { width:142px; height:44px; }
  .header-call { width:44px; padding:0; font-size:0; }
  .header-call::before { content:"☎"; font-size:1rem; }
  .main-nav { inset:68px 0 auto; }
  .home-hero { min-height:600px; }
  .home-hero::before { inset:0; background:linear-gradient(0deg,rgba(15,15,15,.92),rgba(15,15,15,.2)),var(--hero-image, url("../images/hero-home.jpg")) center/cover; }
  .hero-content { min-height:600px; align-items:end; }
  .hero-copy { width:100%; padding:145px 0 122px; }
  .hero-copy h1 { font-size:clamp(2.55rem, 13vw, 4rem); }
  .hero-copy p { font-size:1rem; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-proof { left:0; right:0; min-width:0; padding:17px 20px; }
  .section-heading-row { display:block; }
  .service-grid, .equipment-grid, .advantage-grid, .ref-grid { grid-template-columns:1fr; }
  .machine-card { display:grid; grid-template-columns:42% 58%; }
  .machine-card img { height:100%; min-height:155px; }
  .advantage-grid { gap:34px; }
  .ref-grid { grid-template-columns:repeat(2,1fr); }
  .area-contact { grid-template-columns:1fr; }
  .area-copy, .contact-panel { padding:48px 24px; }
  .area-copy ul { columns:1; }
  .area-map { min-height:280px; }
  .contact-panel { grid-column:auto; grid-row:auto; }
  .footer-grid { grid-template-columns:1fr; gap:26px; }
  .footer-bottom { display:block; }
  .mobile-action { display:flex; position:fixed; z-index:50; bottom:0; left:0; right:0; background:#111; border-top:1px solid rgba(245,180,0,.45); padding:9px 12px; gap:8px; }
  .mobile-action .btn { flex:1; min-height:44px; }

  /* Szolgáltatásoldal mobilnézete – minden mobil felülírás egy helyen. */
  .fold-service-article .article-hero {
    margin-bottom: 78px;
    padding-top: 20px;
  }
  .fold-service-article .breadcrumbs {
    margin-bottom: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .fold-service-article .article-title-wrap {
    padding-left: 20px;
  }
  .fold-service-article .article-title-wrap h1 {
    font-size: clamp(2.45rem, 11vw, 3.55rem);
    line-height: 1.01;
  }
  .fold-service-article .article-title-wrap .intro {
    font-size: 1rem;
    line-height: 1.4;
  }
  .fold-service-article .article-image-frame {
    margin-top: 26px;
    padding: 7px;
    transform: translateY(48px);
    border-radius: 12px;
  }
  .fold-service-article .article-image-frame img {
    height: 235px;
    border-radius: 8px;
  }
  .fold-service-article .article-copy {
    width: min(calc(100% - 28px), 1080px);
  }
  .fold-service-article .service-article-text {
    column-count: 1;
    column-rule: 0;
  }
  .fold-service-article .service-article-text p {
    text-align: left;
    hyphens: none;
  }
  .fold-service-article .service-article-text h2,
  .fold-service-article .service-article-text h3,
  .fold-service-article .service-article-text h4 {
    text-align: left;
  }
  .fold-service-article .price-box {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }
  .fold-service-article .price-main,
  .fold-service-article .price-note {
    padding: 24px;
  }
  .fold-service-article .price-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }
  .fold-service-article .price-note {
    border-left: 0;
    border-top: 2px solid var(--accent);
  }
  .fold-service-article .process {
    padding: 52px 0 45px;
  }
  .fold-service-article .process-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .fold-service-article .process-step {
    min-height: 52px;
    padding-left: 54px;
  }
  .fold-service-article .process-step:not(:last-child)::after {
    top: 40px;
    right: auto;
    left: 17px;
    width: 0;
    height: 34px;
    border-top: 0;
    border-left: 1px dashed #c3c3c3;
  }
  .fold-service-article .article-ref-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .fold-service-article .cta-bar {
    display: block;
    padding: 25px;
  }
  .fold-service-article .cta-bar .btn {
    width: 100%;
    margin-top: 18px;
  }

  body { padding-bottom:62px; }
}


/* ========================================================================== 
   14. JOOMLA-SPECIFIKUS ILLESZTÉSEK
   Ezek a szabályok a Joomla által generált menüket, rendszerüzeneteket,
   cikkeket és szerkesztői elemeket igazítják az egyedi dizájnhoz.
   ========================================================================== */

/* Billentyűzettel navigálóknak megjelenő, alapállapotban rejtett ugrólink. */
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* A Joomla menümodul alapértelmezett ul/li szerkezetének lenullázása. */
.main-nav .mod-menu,
.main-nav .mod-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav .nav-item { margin: 0; padding: 0; }
.main-nav .nav-item.current > a::after,
.main-nav .nav-item.active > a::after,
.main-nav a[aria-current="page"]::after { right: 0; }

/* Joomla rendszerüzenetek (mentés, hiba, figyelmeztetés) egységes kerete. */
joomla-alert,
.alert {
  width: min(calc(100% - 40px), var(--max));
  margin: 18px auto;
  border-radius: 8px;
}

/* A normál – nem szolgáltatás elrendezésű – Joomla komponensek alapkerete. */
.is-inner > main > .com-content-article,
.is-inner > main > .com-content-category-blog,
.is-inner > main > .com-content-featured,
.is-inner > main > .com-contact,
.is-inner > main > .login,
.is-inner > main > form {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 64px 0;
}

/* Joomla szerkesztőikonok ne törjék szét a címsort. */
.icons { position: relative; z-index: 4; }

/* A főoldali moduloknak nincs automatikus külső margója. */
.home-bottom-modules > * { margin: 0; }
/* Az area és contact modul gyökéreleme nem hoz létre plusz rácsoszlopot.
   Így a településlista, a térkép és a kapcsolati panel a három külön oszlopba kerül. */
.fold-position-area,
.fold-position-contact { display: contents; }
.center-heading { text-align: center; }
.references-section { background: #fafafa; }
.hero-proof-icon { font-size: 1.55rem; color: var(--accent); }

/* ========================================================================== 
   16. GALÉRIA ÉS LIGHTBOX KÖZÖS STÍLUSA
   A külön települő Foldmunka Galéria modul is ezeket az osztályokat használja.
   ========================================================================== */
.fold-gallery-title {
  margin: 0 0 34px;
  text-align: center;
  font-size: 2rem;
  letter-spacing: -.03em;
}
.fold-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 3), minmax(0, 1fr));
  gap: 20px;
}
.fold-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 9px;
  background: #1b1b1b;
}
.fold-gallery-item img {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.fold-gallery-item:hover img { transform: scale(1.035); opacity: .92; }
.fold-gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 16px 13px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  font-size: 1rem;
  font-weight: 750;
}
.fold-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(0,0,0,.92);
}
.fold-lightbox.is-open { display: grid; }
.fold-lightbox-dialog {
  position: relative;
  width: min(1200px, 94vw);
  max-height: 92vh;
  display: grid;
  place-items: center;
}
.fold-lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}
.fold-lightbox-caption {
  margin-top: 12px;
  color: #fff;
  text-align: center;
}
.fold-lightbox-close,
.fold-lightbox-prev,
.fold-lightbox-next {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(20,20,20,.82);
  color: #fff;
  cursor: pointer;
}
.fold-lightbox-close { top: -14px; right: -14px; width: 44px; height: 44px; font-size: 1.55rem; }
.fold-lightbox-prev,
.fold-lightbox-next { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); font-size: 1.65rem; }
.fold-lightbox-prev { left: 8px; }
.fold-lightbox-next { right: 8px; }
body.fold-lightbox-open { overflow: hidden; }

/* Egyszerű 404-es oldal. */
.foldmunka-error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: #151515; color: #fff; }
.error-shell { width: min(680px, 100%); text-align: center; }
.error-shell h1 { margin: 0 0 16px; font-size: clamp(2.3rem, 7vw, 4rem); line-height: 1; }
.error-shell p { color: #c8c8c8; }
.error-shell .btn { margin-top: 16px; }

@media (max-width: 1020px) {
  .main-nav .mod-menu,
  .main-nav .mod-list { display: block; }
  .main-nav .nav-item { display: block; }
  .fold-gallery-grid { grid-template-columns: repeat(min(var(--gallery-columns, 3), 2), minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .service-article-text { font-size: 1rem; line-height: 1.4; }
  .service-article-text p { text-align: left; hyphens: none; }
  .service-article-text h2,
  .service-article-text h3,
  .service-article-text h4 { text-align: left; }
  .fold-gallery-grid { grid-template-columns: 1fr; }
  .fold-lightbox { padding: 14px; }
  .fold-lightbox-prev { left: 0; }
  .fold-lightbox-next { right: 0; }
}

/* Foldmunka sablon – tisztított CSS build: 0.1.10 – breadcrumbs és egyedi radiusok visszaállítva */