/* FercoreIT – a korábbi fusion/Helix sablon kinézete statikus oldalon.
   Színek a sablon „Preset 1” beállításaiból: háttér #011110, kiemelés #15FFF1, menü #88898A.
   Betűk: Iceberg (nagy címek, menü), Ubuntu Mono (minden más). */
:root {
  --link-color: #15fff1; --link-color-dark: #00aea4; --link-color-light: rgb(21 255 241 / .3);
  --bg: #011110; --bg-2: #031c1b; --panel: #041816; --teal: #15fff1; --teal-2: #0fb8ae; --teal-deep: #0b5f5a;
  --text: #ffffff; --muted: #a9bbb8; --menu: #88898a; --line: rgb(21 255 241 / .16); --line-2: rgb(21 255 241 / .32);
  --title: "Iceberg", "Ubuntu Mono", sans-serif; --mono: "Ubuntu Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px; --gut: clamp(16px, 4vw, 40px); --head: 104px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head); }
body { margin: 0; /* a rács a sablonénál halványabb (sötét réteg fölötte), hogy a szöveg nyugodtabb legyen */
  background: linear-gradient(rgb(1 17 16 / .65), rgb(1 17 16 / .65)), url(/img/bg-racs.png) repeat var(--bg); background-size: auto, 85px; color: var(--text);
  font: 17px/1.6 var(--mono); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: #8ffff8; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--teal); color: #011110; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.h-xl { font: 400 clamp(34px, 5.2vw, 68px)/1.06 var(--title); text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.center { text-align: center; }
.block > h2.center { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.1; letter-spacing: 0; }
.eyebrow { font: 400 15px var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* gombok – a sablon hatszögletű gombjai */
.hx { display: inline-flex; position: relative; transition: filter .35s;
  }
.hx-default { filter: none; }
.hx:hover, .hx:focus-within { filter: none; }
.btn { --cut: 22px; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-width: 226px; min-height: 64px; padding: 0 40px; font: 400 20px/1.3 var(--mono); text-transform: uppercase; color: #fff;
  background: var(--teal); border: 0; cursor: pointer; transition: background .35s, color .35s;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%); }
.btn::after { content: ""; position: absolute; inset: 2px; z-index: -1; transition: opacity .35s;
  clip-path: polygon(calc(var(--cut) - 1px) 0, calc(100% - var(--cut) + 1px) 0, 100% 50%, calc(100% - var(--cut) + 1px) 100%, calc(var(--cut) - 1px) 100%, 0 50%);
  background: linear-gradient(rgb(0 0 0 / .75), rgb(0 0 0 / .75)), rgb(21 255 241 / .3); box-shadow: inset 0 0 16px 8px rgb(21 255 241 / .3); }
.btn-default { background: #fff; }
.btn-default::after { background: #011110; box-shadow: none; }
.btn:hover, .btn:focus-visible { color: #000; }
.btn:hover::after, .btn:focus-visible::after { opacity: 0; }
.btn-sm { --cut: 15px; min-width: 153px; min-height: 44px; padding: 0 26px; font-size: 16px; }

/* fejléc */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: var(--head); display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 0 clamp(16px, 5vw, 84px); }
.logo img { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; padding: 6px 28px; position: relative; }
/* a menüsor kapszula alakja külön rétegen – ha magát a menüt vágnánk körbe, a lenyíló menü is levágódna */
.nav-bg { position: absolute; inset: 0; z-index: -1; border: 1px solid rgb(255 255 255 / .22); background: rgb(1 17 16 / .72); backdrop-filter: blur(6px);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0 50%); }
.nav::before, .nav::after { content: ""; position: absolute; top: 50%; width: 32px; height: 1px; background: rgb(255 255 255 / .22); }
.nav::before { left: -6px; transform: translateY(-14px) rotate(-38deg); }
.nav::after { right: -6px; transform: translateY(-14px) rotate(38deg); }
.menu { display: flex; list-style: none; gap: 6px; }
.menu > li { position: relative; }
.menu a, .sub-toggle { display: flex; align-items: center; gap: 6px; padding: 18px 12px; font: 400 14px var(--title); letter-spacing: .06em;
  text-transform: uppercase; color: #fff; background: none; border: 0; cursor: pointer; position: relative; }
.menu > li > a { color: var(--menu); }
.menu > li > a.active, .menu > li > a:hover, .sub-toggle:hover, .sub-toggle.active { color: var(--teal); }
.menu > li > a.active::after, .sub-toggle.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--teal); }
.sub-toggle svg { width: 11px; height: 8px; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; list-style: none; padding: 8px 0; background: var(--bg);
  border: 1px solid var(--line); box-shadow: 0 20px 40px rgb(0 0 0 / .5); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.sub a { padding: 10px 20px; color: var(--menu); }
.sub a:hover, .sub a.active { color: var(--teal); }
.btn-hex .btn[aria-current] { color: #000; } .btn-hex .btn[aria-current]::after { opacity: 0; }
.lang { display: flex; gap: 4px; }
.lang a { font: 700 13px var(--mono); color: #fff; padding: 4px 6px; border-radius: 3px; }
.lang a[aria-current] { background: rgb(255 255 255 / .2); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger i { display: block; height: 2px; background: var(--teal); margin: 6px 0; }
.offcanvas { position: fixed; inset: 0; z-index: 50; background: rgb(0 0 0 / .6); }
.offcanvas[hidden] { display: none; }
.oc-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(86vw, 340px); background: var(--bg); border-left: 1px solid var(--line);
  padding: 70px 28px 28px; overflow-y: auto; display: grid; align-content: start; gap: 24px; }
.oc-panel ul { list-style: none; display: grid; gap: 2px; }
.oc-panel li a { display: block; padding: 10px 0; font: 400 17px var(--title); text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.oc-panel li a.active { color: var(--teal); }
.oc-label { font: 400 12px var(--title); letter-spacing: .16em; text-transform: uppercase; color: var(--menu); padding-top: 10px; }
.oc-label ~ li a { padding-left: 14px; }
.oc-label ~ li:last-child a { padding-left: 0; }
.oc-close { position: absolute; top: 16px; right: 18px; width: 42px; height: 42px; font-size: 32px; line-height: 1; color: var(--teal); background: none; border: 0; cursor: pointer; }
.oc-contact { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.oc-contact a { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; }
.oc-contact svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* nyitóblokk */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; place-items: center; overflow-x: clip; padding: calc(var(--head) + 90px) 0 380px; }
.hero-in { position: relative; z-index: 2; text-align: center; }
.hero h1 { font: 400 clamp(46px, 9.4vw, 136px)/1.02 var(--title); text-transform: uppercase; letter-spacing: 0; text-wrap: balance;
  text-shadow: 0 0 40px rgb(1 17 16 / .9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

/* animációk – a régi sablon (Helix „fusion”) mozgásai alapján */
@keyframes slideInUp50Filter { 0% { transform: translate3d(0, 15px, 0); filter: saturate(1); } 60% { transform: none; filter: saturate(1); }
  80% { transform: none; filter: saturate(10); } 100% { transform: none; filter: saturate(20); } }
@keyframes fadeIn50 { 0%, 100% { transform: translate3d(0, 0, 0); opacity: 0; } 5%, 10% { transform: translate3d(0, 0, 0); opacity: .5; } 15% { transform: translate3d(0, 0, 0); opacity: 0; }
  20%, 25% { transform: translate3d(200px, 0, 0); opacity: 0; } 30%, 35% { transform: translate3d(200px, 0, 0); opacity: .5; } 40%, 45% { transform: translate3d(200px, 0, 0); opacity: 0; }
  50% { transform: translate3d(200px, -200px, 0); opacity: 0; } 55%, 60% { transform: translate3d(200px, -200px, 0); opacity: .5; } 65%, 70% { transform: translate3d(200px, -200px, 0); opacity: 0; }
  75% { transform: translate3d(-200px, -200px, 0); opacity: 0; } 80%, 85% { transform: translate3d(-200px, -200px, 0); opacity: .5; } 90%, 95% { transform: translate3d(-200px, -200px, 0); opacity: 0; } }
@keyframes spFadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* a Fusion nyitóblokk ábrái (build.py: fusion_hero) */
.fh { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fh svg { display: block; width: 100%; height: auto; }
.fh-box { position: absolute; inset: 0; width: min(100%, 1320px); margin-inline: auto; }
.fh-glow { position: absolute; width: 100%; left: calc(-50% - 100px); top: 50%; transform: translateY(-50%); opacity: .7; }
.fh-px { position: absolute; width: 100%; left: -20%; top: 20%; opacity: 0; animation: fadeIn50 12s infinite; }
.fh-circ { position: absolute; left: 50%; bottom: -180px; transform: translateX(-50%); width: 100%; max-width: 1700px; display: flex; align-items: flex-end; }
.fh-c { animation: slideInUp50Filter 2s infinite alternate-reverse; }
.fh-c1 { flex: 0 0 8.4%; } .fh-c2 { flex: 0 0 17.88%; animation-duration: 1.5s; animation-delay: 1s; } .fh-c3 { flex: 0 0 18.9%; animation-duration: 2.2s; animation-delay: .4s; }
.fh-c4 { flex: 0 0 12.8%; animation-delay: .5s; } .fh-c5 { flex: 0 0 16.35%; animation-duration: 1.5s; animation-delay: .6s; } .fh-c6 { flex: 0 0 25.6%; animation-delay: .8s; }
.hero h1 { animation: spFadeInUp .9s ease-out both; }
.hero-cta { animation: spFadeInUp .9s .25s ease-out both; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { animation: spFadeInUp .4s ease-in; }
/* görgetésre beúsznak a blokkok (site.js teszi rá a .rv osztályt, csak a képernyőn kívül lévőkre) */
html .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease-out, transform .7s ease-out; }
html .rv.in { opacity: 1; transform: none; }

/* nagy panel ferde felső sarkokkal (a sablon „kártyája”) */
.panel-wrap { position: relative; z-index: 3; margin-top: -120px; padding-inline: clamp(0px, 2vw, 24px); }
.panel { background: linear-gradient(180deg, #041a18, #020f0e 70%); border-top: 1px solid rgb(255 255 255 / .14); padding: 140px 0 120px;
  clip-path: polygon(7% 0, 93% 0, 100% 90px, 100% 100%, 0 100%, 0 90px); }
.trust { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px 64px; align-items: end; }
.trust h2 { font: 400 clamp(30px, 2.8vw, 40px)/1.65 var(--title); text-transform: uppercase; }
.trust-sub { display: grid; gap: 4px; margin: 34px 0 30px; font: 400 clamp(20px, 2.2vw, 28px)/1.2 var(--title); text-transform: uppercase; padding-left: 20px; }
.trust-sub span:first-child { color: var(--teal); }
.trust-text { display: grid; gap: 16px; color: #fff; font-size: 20px; line-height: 1.5; }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.ticks li { padding-left: 30px; position: relative; font: 400 18px/2.2 var(--title); text-transform: uppercase; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; border: 2px solid var(--teal); transform: translateY(-50%); }

/* szolgáltatások */
.block { padding-block: clamp(70px, 9vw, 120px); }
.serv-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 54px; }
/* a sablon „Product we serve” kártyái: vékony keret levágott sarkokkal, szürke kép a sablon türkiz szűrőjével */
.serv-card { position: relative; padding: 46px 34px 44px; display: grid; gap: 14px; align-content: start; transition: background .35s, transform .35s; }
.serv-card .box-border { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.serv-card .box-border path { stroke: #565656; stroke-width: 1; transition: stroke .35s; }
.serv-card:hover { background: linear-gradient(180deg, transparent 75%, rgb(0 0 0 / .6)); transform: translateY(-3px); }
.serv-card:hover .box-border path { stroke: var(--teal); }
.serv-img { display: grid; place-items: center; height: 300px; margin-bottom: 18px; }
.serv-img img { max-height: 270px; max-width: 85%; width: auto; height: auto; filter: invert(27%) sepia(85%) saturate(345%) hue-rotate(127deg) brightness(96%) contrast(93%); }
.serv-card h3 { font: 400 clamp(28px, 2.6vw, 38px)/1.12 var(--title); text-transform: uppercase; color: var(--teal); }
.serv-card p { color: var(--muted); }

/* IT rendszer + támogatás – a sablon „Our facilities” része: türkiz kéz, alatta szöveg; jobbra pontok keret nélkül */
.fac { position: relative; padding-block: clamp(70px, 9vw, 130px); overflow-x: clip; }
.fac::before, .fac::after { content: ""; position: absolute; top: 45%; width: 1140px; height: 1140px; border-radius: 50%; transform: translateY(-50%);
  z-index: -1; pointer-events: none; opacity: .25; }
.fac::before { left: -50%; background: radial-gradient(closest-side, #15fff1, transparent); }
.fac::after { right: -50%; background: radial-gradient(closest-side, #006daa, transparent); }
.sys { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sys-media img { display: block; width: calc(100% + var(--gut)); max-width: none; margin-left: calc(-1 * var(--gut));
  filter: invert(27%) sepia(85%) saturate(345%) hue-rotate(127deg) brightness(96%) contrast(93%); }
.sys-h { font: 400 30px/1.1 var(--title); text-transform: uppercase; margin: 10px 0 22px; }
.sys-p { font-size: 20px; line-height: 1.5; max-width: 34ch; }
.eyebrow-line { display: flex; align-items: center; font: 400 18px/1.2 var(--title); text-transform: uppercase; margin: 70px 0 18px; }
.eyebrow-line::before { content: ""; width: 4px; height: 26px; background: var(--teal); transform: rotate(35deg); margin-right: 18px; }
.fac-h2 { font: 400 clamp(40px, 4.2vw, 60px)/1.15 var(--title); text-transform: uppercase; }
.fac-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 30px; margin-top: 90px; }
.fac-grid li { display: grid; gap: 14px; align-content: start; }
.fac-ico { color: rgb(255 255 255 / .3); transition: color .35s; }
.fac-ico svg { width: 36px; height: 36px; }
.fac-grid li:hover .fac-ico { color: var(--teal); }
.fac-grid h3 { font: 400 18px/1.1 var(--title); text-transform: uppercase; }

/* aloldalak */
.page-top { padding-top: calc(var(--head) + 40px); padding-bottom: 80px; }
.article { padding-top: calc(var(--head) + 10px); }

/* kapcsolat */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.contact .h-xl { margin-bottom: 18px; }
.cform { display: grid; gap: 30px; margin-top: 40px; max-width: 560px; }
.cform label { display: grid; gap: 4px; font: 400 14px/1.4 var(--title); text-transform: uppercase; color: #fff; }
.cform input, .cform textarea { width: 100%; font: 16px var(--mono); color: #fff; background: transparent; border: 0; border-bottom: 1px solid #565656;
  border-radius: 0; padding: 12px 6px; resize: vertical; transition: border-color .35s; }
.cform input:focus, .cform textarea:focus { border-bottom-color: var(--teal); outline: none; }
.cform .hx { justify-self: start; margin-top: 6px; }
.fnote { font-size: 13px; color: var(--muted); }
.contact-cards { display: grid; gap: 18px; margin-top: 56px; }
.ccard { position: relative; display: flex; gap: 18px; align-items: center; padding: 26px 30px; color: #fff; font-size: 18px; }
.ccard .box-border { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ccard .box-border path { stroke: #2b3b3a; stroke-width: 1; transition: stroke .35s; }
a.ccard:hover { color: #fff; } a.ccard:hover .box-border path { stroke: var(--teal); }
.cc-ico { color: var(--teal); flex: none; } .cc-ico svg { width: 30px; height: 30px; }
.ccard small { display: flex; align-items: center; font: 400 14px var(--title); text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.ccard small::before { content: ""; width: 3px; height: 18px; background: var(--teal); transform: rotate(35deg); margin-right: 12px; }
.nf { min-height: 60vh; }
.nf .lead { margin-top: 18px; }
.nf .hero-cta { justify-content: flex-start; }

/* lábléc */
.site-footer { border-top: 1px solid rgb(255 255 255 / .12); padding: 90px 0 30px; background: linear-gradient(180deg, transparent, rgb(21 255 241 / .04)); }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.2fr; gap: 40px; }
.foot-grid h2 { font: 400 17px var(--title); color: var(--teal); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a { color: #fff; }
.foot-grid a:hover { color: var(--teal); }
.foot-contact p { font-size: 22px; margin-bottom: 26px; }
.foot-contact p:last-child { margin-bottom: 0; }
.copy { margin-top: 60px; font-size: 14px; color: var(--menu); }

@media (max-width: 1100px) {
  .nav { gap: 12px; padding: 6px 20px; }
  .menu a, .sub-toggle { padding-inline: 8px; }
}
@media (max-width: 991px) {
  :root { --head: 84px; }
  .nav { display: none; }
  .burger { display: block; }
  .logo img { height: 36px; }
  .trust, .sys, .contact { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { margin-top: 0; }
  .panel { clip-path: polygon(10% 0, 90% 0, 100% 50px, 100% 100%, 0 100%, 0 50px); padding: 100px 0 80px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 150px; min-height: 88svh; }
  .hero h1 { letter-spacing: .03em; }
  .hero-cta .hx { flex: 1 1 100%; } .hero-cta .btn { width: 100%; }
  .hero { padding-bottom: 230px; } .fh-circ { width: 190%; bottom: -70px; }
  .panel-wrap { margin-top: -80px; }
  .fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; margin-top: 50px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-contact p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .rv { opacity: 1; transform: none; } }
