/* ==========================================================================
   VillanyPRO — instrument-panel theme  ·  v2
   Vizuális nyelv: holadelej.hu (sötét adatpanel, hajszálvonalak, mono számok)
   v2: piktogram-alapú oszlopszínek, nagyobb és világosabb szöveg
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokenek
   -------------------------------------------------------------------------- */
:root {
  /* felületek */
  --bg:            #070C12;
  --bg-1:          #0A1017;
  --panel:         #0C131C;
  --panel-2:       #101823;
  --panel-hi:      #151E2A;

  /* vonalak */
  --line:          #1B2431;
  --line-2:        #26313F;
  --line-hi:       #344254;

  /* szöveg — v2: egy teljes lépéssel világosabb */
  --tx:            #F3F7FC;
  --tx-2:          #BAC6D4;
  --tx-3:          #8F9CAC;
  --tx-4:          #6E7B8A;

  /* --- jelzőszínek: minden szolgáltatás saját színt kap ------------------ */
  --red:        #FF5F63;
  --red-soft:   rgba(255, 95, 99, .13);
  --red-line:   rgba(255, 95, 99, .42);
  --red-glow:   rgba(255, 95, 99, .07);

  --blue:       #5AA2FF;
  --blue-soft:  rgba(90, 162, 255, .13);
  --blue-line:  rgba(90, 162, 255, .42);
  --blue-glow:  rgba(90, 162, 255, .07);

  --amber:      #FFC24D;
  --amber-soft: rgba(255, 194, 77, .13);
  --amber-line: rgba(255, 194, 77, .42);
  --amber-glow: rgba(255, 194, 77, .07);

  --violet:      #B190FF;
  --violet-soft: rgba(177, 144, 255, .13);
  --violet-line: rgba(177, 144, 255, .42);
  --violet-glow: rgba(177, 144, 255, .07);

  --green:      #46D68B;
  --green-soft: rgba(70, 214, 139, .13);
  --green-line: rgba(70, 214, 139, .42);

  --accent:      var(--red);
  --accent-line: var(--red-line);

  /* alapértelmezett "szolgáltatás-szín" — a kártyák ezt írják felül */
  --svc:      var(--tx-2);
  --svc-soft: rgba(255,255,255,.05);
  --svc-line: var(--line-2);
  --svc-glow: transparent;

  /* tipográfia */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;

  /* geometria */
  --r:    5px;
  --r-lg: 9px;
  --maxw: 1240px;
  --gut:  24px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* segéd-osztályok a színcsomagok kiosztásához */
.c-red    { --svc: var(--red);    --svc-soft: var(--red-soft);    --svc-line: var(--red-line);    --svc-glow: var(--red-glow); }
.c-blue   { --svc: var(--blue);   --svc-soft: var(--blue-soft);   --svc-line: var(--blue-line);   --svc-glow: var(--blue-glow); }
.c-amber  { --svc: var(--amber);  --svc-soft: var(--amber-soft);  --svc-line: var(--amber-line);  --svc-glow: var(--amber-glow); }
.c-violet { --svc: var(--violet); --svc-soft: var(--violet-soft); --svc-line: var(--violet-line); --svc-glow: var(--violet-glow); }
.c-green  { --svc: var(--green);  --svc-soft: var(--green-soft);  --svc-line: var(--green-line);  --svc-glow: transparent; }

/* --------------------------------------------------------------------------
   2. Alap
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--tx);
  font-weight: 600;
  letter-spacing: -0.021em;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* minden szám monospace + tabuláris */
.num, .mono,
.detail-step__num,
.about__process-num,
.contact__detail-value,
.stat__value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.text-red      { color: var(--red); }
.text-gradient { color: var(--tx); border-bottom: 2px solid var(--accent); padding-bottom: 3px; }

::selection { background: rgba(255,95,99,.3); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

/* --------------------------------------------------------------------------
   3. Háttér
   -------------------------------------------------------------------------- */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 30%, transparent 78%);
}

.bg-glow {
  position: fixed; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(130px); opacity: .2;
}
.bg-glow--1 { width: 640px; height: 640px; top: -230px; right: -180px; background: #16436F; }
.bg-glow--2 { width: 540px; height: 540px; top: 45%;    left: -250px; background: #55191D; }
.bg-glow--3 { width: 480px; height: 480px; bottom: -210px; right: 10%; background: #123048; }

/* --------------------------------------------------------------------------
   4. Navigáció
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7,12,18,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav--scrolled { border-bottom-color: var(--line); background: rgba(7,12,18,.93); }

.nav__container {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gut);
  height: 66px; display: flex; align-items: center; gap: 32px;
}

.nav__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__logo-icon {
  width: 28px; height: 28px; flex: none;
  display: grid; place-items: center; font-size: 14px;
  background: var(--red-soft);
  border: 1px solid var(--red-line);
  border-radius: var(--r);
}
.nav__logo-text { font-size: 16px; font-weight: 700; color: var(--tx); letter-spacing: -0.02em; }

.nav__links { display: flex; gap: 28px; }
.nav__link {
  font-size: 14px; color: var(--tx-2); font-weight: 500;
  position: relative; padding: 4px 0;
  transition: color .18s var(--ease);
}
.nav__link:hover { color: var(--tx); }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link--active { color: var(--tx); }
.nav__link--active::after { transform: scaleX(1); }
.mobile-menu__link--active { color: var(--accent); }
body[class*="svc-"] .mobile-menu__link--active { color: var(--svc); }

.nav__burger {
  display: none; width: 36px; height: 36px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r);
  cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav__burger span {
  display: block; width: 16px; height: 1.5px; background: var(--tx-2); border-radius: 1px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Mobil menü
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed; inset: 66px 0 0 0; z-index: 99;
  background: rgba(7,12,18,.98); backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__content { padding: 28px var(--gut); display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__link {
  font-size: 18px; font-weight: 500; color: var(--tx);
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__cta { margin-top: 20px; justify-content: center; }

/* --------------------------------------------------------------------------
   6. Gombok
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 10px 17px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
/* világos akcentus + sötét felirat: jobb kontraszt, mint a fehér szöveg */
.btn--primary { background: var(--accent); color: #1A0407; border-color: var(--accent); }
.btn--primary:hover { background: #FF7A7E; border-color: #FF7A7E; }
.btn--primary svg { stroke-width: 2.2; }

.btn--glass { background: var(--panel-2); color: var(--tx); border-color: var(--line-2); }
.btn--glass:hover { background: var(--panel-hi); border-color: var(--line-hi); }

.btn--lg   { padding: 13px 24px; font-size: 15px; }
.btn--full { width: 100%; }

.btn__pulse { display: none; }
.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   7. Szekció-fejlécek
   -------------------------------------------------------------------------- */
.section-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--svc, var(--tx-3));
  padding-bottom: 7px; margin-bottom: 16px;
  border-bottom: 2px solid var(--svc-line, var(--line-2));
}
.section-header { max-width: 640px; margin-bottom: 44px; }
.section-title { font-size: clamp(28px, 3.5vw, 40px); font-weight: 650; }
.section-subtitle { margin-top: 14px; font-size: 16px; color: var(--tx-3); }

/* --------------------------------------------------------------------------
   8. Hero (főoldal)
   -------------------------------------------------------------------------- */
.hero { position: relative; z-index: 1; padding: 132px 0 72px; }
.hero__container {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .11em;
  color: var(--tx-2);
  background: var(--green-soft);
  border: 1px solid var(--green-line); border-radius: 100px;
  padding: 6px 14px 6px 11px;
  margin-bottom: 22px;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(70,214,139,.18);
  animation: blip 2.4s ease-in-out infinite;
}
@keyframes blip { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero__title { font-size: clamp(34px, 4.7vw, 54px); font-weight: 650; letter-spacing: -0.03em; }
.hero__subtitle { margin-top: 18px; font-size: 17px; color: var(--tx-2); max-width: 48ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.hero__trust-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--tx-2); font-weight: 500;
}
.hero__trust-item:nth-child(1) svg { color: var(--green); }
.hero__trust-item:nth-child(3) svg { color: var(--blue); }
.hero__trust-item:nth-child(5) svg { color: var(--amber); }
.hero__trust-item svg { flex: none; }
.hero__trust-divider { width: 1px; height: 13px; background: var(--line-2); }

/* --- hero szolgáltatás-csempék ------------------------------------------- */
.hero__services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--panel);
}
.hero__service-card {
  position: relative;
  padding: 24px 20px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
/* felső színes zárójel a piktogram színéből */
.hero__service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--svc); opacity: .75;
}
.hero__service-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, var(--svc-glow), transparent 62%);
}
.hero__service-card:nth-child(2n) { border-right: none; }
.hero__service-card:nth-child(n+3) { border-bottom: none; }
.hero__service-card:hover { background: var(--panel-hi); }

.hero__service-icon {
  position: relative;
  width: 40px; height: 40px; margin-bottom: 42px;
  display: grid; place-items: center;
  color: var(--svc);
  background: var(--svc-soft);
  border: 1px solid var(--svc-line);
  border-radius: var(--r);
}
.hero__service-icon svg { width: 21px; height: 21px; }
.hero__service-icon--red    { --svc: var(--red);    --svc-soft: var(--red-soft);    --svc-line: var(--red-line);    --svc-glow: var(--red-glow); }
.hero__service-icon--blue   { --svc: var(--blue);   --svc-soft: var(--blue-soft);   --svc-line: var(--blue-line);   --svc-glow: var(--blue-glow); }
.hero__service-icon--amber  { --svc: var(--amber);  --svc-soft: var(--amber-soft);  --svc-line: var(--amber-line);  --svc-glow: var(--amber-glow); }
.hero__service-icon--violet { --svc: var(--violet); --svc-soft: var(--violet-soft); --svc-line: var(--violet-line); --svc-glow: var(--violet-glow); }

/* a színcsomag a kártyára is kell (::before / ::after miatt) */
#hero-svc-1 { --svc: var(--red);    --svc-soft: var(--red-soft);    --svc-line: var(--red-line);    --svc-glow: var(--red-glow); }
#hero-svc-2 { --svc: var(--blue);   --svc-soft: var(--blue-soft);   --svc-line: var(--blue-line);   --svc-glow: var(--blue-glow); }
#hero-svc-3 { --svc: var(--amber);  --svc-soft: var(--amber-soft);  --svc-line: var(--amber-line);  --svc-glow: var(--amber-glow); }
#hero-svc-4 { --svc: var(--violet); --svc-soft: var(--violet-soft); --svc-line: var(--violet-line); --svc-glow: var(--violet-glow); }

.hero__service-name { font-size: 15.5px; font-weight: 600; position: relative; }
.hero__service-text { margin-top: 5px; font-size: 13.5px; color: var(--tx-3); line-height: 1.5; position: relative; }
.hero__service-arrow {
  position: absolute; top: 24px; right: 18px; z-index: 1;
  font-size: 15px; color: var(--svc);
  opacity: 0; transform: translateX(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.hero__service-card:hover .hero__service-arrow { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   9. Mérőszám-sáv
   -------------------------------------------------------------------------- */
.stat-strip { position: relative; z-index: 1; padding-bottom: 24px; }
.stat-strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--panel); overflow: hidden;
}
.stat { position: relative; padding: 20px 22px; border-right: 1px solid var(--line); }
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--svc); opacity: .7;
}
.stat:nth-child(1) { --svc: var(--amber); }
.stat:nth-child(2) { --svc: var(--blue); }
.stat:nth-child(3) { --svc: var(--red); }
.stat:nth-child(4) { --svc: var(--violet); }
.stat:last-child { border-right: none; }
.stat__label {
  font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--tx-3); margin-bottom: 9px;
}
.stat__value {
  font-size: 28px; font-weight: 500; color: var(--svc);
  line-height: 1.1; letter-spacing: -0.02em;
}
.stat__unit { font-size: 13.5px; color: var(--tx-3); margin-left: 7px; letter-spacing: 0; }

/* --------------------------------------------------------------------------
   10. Szolgáltatás-kártyák
   -------------------------------------------------------------------------- */
.services { position: relative; z-index: 1; padding: 76px 0; }
.services .section-tag { --svc: var(--amber); --svc-line: var(--amber-line); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.service-card {
  position: relative; display: block; overflow: hidden;
  padding: 28px 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--svc-line);
  border-radius: var(--r-lg);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
/* halvány színderengés a piktogram színéből */
.service-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 12% 0%, var(--svc-glow), transparent 60%);
}
.service-card > * { position: relative; }
.service-card:hover { background: var(--panel-2); border-color: var(--svc-line); }
.service-card__glow { display: none; }

#service-troubleshoot { --svc: var(--red);    --svc-soft: var(--red-soft);    --svc-line: var(--red-line);    --svc-glow: var(--red-glow); }
#service-installation { --svc: var(--blue);   --svc-soft: var(--blue-soft);   --svc-line: var(--blue-line);   --svc-glow: var(--blue-glow); }
#service-solar        { --svc: var(--amber);  --svc-soft: var(--amber-soft);  --svc-line: var(--amber-line);  --svc-glow: var(--amber-glow); }
#service-smarthome    { --svc: var(--violet); --svc-soft: var(--violet-soft); --svc-line: var(--violet-line); --svc-glow: var(--violet-glow); }

.service-card--featured { border-top-width: 3px; }

.service-card__badge {
  position: absolute; top: 24px; right: 22px; z-index: 2;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--svc);
  background: var(--svc-soft);
  border: 1px solid var(--svc-line); border-radius: 3px;
  padding: 4px 8px;
}

.service-card__icon-wrap { margin-bottom: 20px; }
.service-card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--svc);
  background: var(--svc-soft);
  border: 1px solid var(--svc-line); border-radius: var(--r);
}
.service-card__icon svg { width: 22px; height: 22px; }

.service-card__title { font-size: 19px; font-weight: 620; }
.service-card__desc  { margin-top: 10px; font-size: 15px; color: var(--tx-2); }

.service-card__features {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid; gap: 1px;
}
.service-card__features li {
  position: relative;
  font-family: var(--mono); font-size: 13px; color: var(--tx-2);
  padding: 6px 0 6px 20px;
}
.service-card__features li::before {
  content: '▸'; position: absolute; left: 0; color: var(--svc); font-size: 11px;
}

.service-card__footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.service-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--svc);
  transition: gap .18s var(--ease);
}
.service-card:hover .service-card__link { gap: 12px; }

/* --------------------------------------------------------------------------
   11. Rólunk
   -------------------------------------------------------------------------- */
.about { position: relative; z-index: 1; padding: 76px 0; border-top: 1px solid var(--line); }
.about .section-tag { --svc: var(--blue); --svc-line: var(--blue-line); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about__text { margin-top: 18px; font-size: 16px; color: var(--tx-2); }

.about__features { margin-top: 30px; display: grid; gap: 1px; }
.about__feature {
  display: flex; gap: 16px; padding: 20px 0;
  border-top: 1px solid var(--line);
}
.about__feature:nth-child(1) { --svc: var(--green);  --svc-soft: var(--green-soft);  --svc-line: var(--green-line); }
.about__feature:nth-child(2) { --svc: var(--amber);  --svc-soft: var(--amber-soft);  --svc-line: var(--amber-line); }
.about__feature:nth-child(3) { --svc: var(--blue);   --svc-soft: var(--blue-soft);   --svc-line: var(--blue-line); }
.about__feature-icon {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  color: var(--svc);
  background: var(--svc-soft);
  border: 1px solid var(--svc-line); border-radius: var(--r);
}
.about__feature h4 { font-size: 15.5px; font-weight: 600; }
.about__feature p  { margin-top: 6px; font-size: 14.5px; color: var(--tx-3); }

/* folyamat */
.about__process {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue-line);
  border-radius: var(--r-lg);
  padding: 8px 22px;
}
.about__process-step { display: flex; gap: 18px; padding: 20px 0; align-items: flex-start; }
.about__process-num {
  font-size: 12.5px; font-weight: 500; color: var(--blue);
  letter-spacing: .06em; padding-top: 3px; flex: none;
}
.about__process-content h4 { font-size: 15.5px; font-weight: 600; }
.about__process-content p  { margin-top: 6px; font-size: 14.5px; color: var(--tx-3); }
.about__process-line { height: 1px; background: var(--line); }

/* --------------------------------------------------------------------------
   12. Kapcsolat
   -------------------------------------------------------------------------- */
.contact { position: relative; z-index: 1; padding: 76px 0; border-top: 1px solid var(--line); }
.contact .section-tag { --svc: var(--green); --svc-line: var(--green-line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__text { margin-top: 18px; font-size: 16px; color: var(--tx-2); }

.contact__details {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--green-line);
  border-radius: var(--r-lg);
  background: var(--panel); overflow: hidden;
}
.contact__detail {
  display: flex; align-items: center; gap: 15px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.contact__detail:nth-child(1) { --svc: var(--green); }
.contact__detail:nth-child(2) { --svc: var(--blue); }
.contact__detail:nth-child(3) { --svc: var(--red); }
.contact__detail:nth-child(4) { --svc: var(--amber); }
.contact__detail:last-child { border-bottom: none; }
.contact__detail-icon { color: var(--svc); flex: none; }
.contact__detail-label {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--tx-3);
}
.contact__detail-value { margin-top: 4px; font-size: 15px; color: var(--tx); }

/* űrlap */
.contact__form-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red-line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.contact__form { display: grid; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: grid; gap: 8px; }
.form-label {
  font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--tx-2);
}
.form-input {
  width: 100%; padding: 11px 13px;
  font-family: var(--sans); font-size: 15px; color: var(--tx);
  background: var(--bg-1);
  border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.form-input::placeholder { color: var(--tx-4); }
.form-input:focus { outline: none; border-color: var(--red-line); background: var(--panel-2); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 8l3-3.5' stroke='%238F9CAC' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 34px;
}
.form-select option { background: var(--panel-2); color: var(--tx); }

.form-note {
  font-family: var(--mono); font-size: 11px; color: var(--tx-3);
  text-align: center; letter-spacing: .04em;
}
.form-status {
  display: none; font-size: 14px; padding: 11px 13px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--bg-1); color: var(--tx-2);
}
.form-status.is-visible { display: block; }
.form-status.is-ok { border-color: var(--green-line); background: var(--green-soft); color: var(--green); }

/* --------------------------------------------------------------------------
   13. Lábléc
   -------------------------------------------------------------------------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 52px 0 26px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 34px;
}
.footer__brand .nav__logo { margin-bottom: 14px; }
.footer__desc { font-size: 14px; color: var(--tx-3); max-width: 34ch; }

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__title {
  font-family: var(--mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--tx-3);
  margin-bottom: 4px; font-weight: 500;
}
.footer__link { font-size: 14px; color: var(--tx-2); transition: color .16s var(--ease); }
a.footer__link:hover { color: var(--red); }

.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--tx-3);
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   14. Belépő animáció
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   15. Reszponzív
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__container, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 112px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .services__grid { grid-template-columns: 1fr; }
  .stat-strip__inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  :root { --gut: 16px; }
  body { font-size: 15.5px; }
  .hero { padding: 100px 0 56px; }
  .hero__services-grid { grid-template-columns: 1fr; }
  .hero__service-card { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .hero__service-card:last-child { border-bottom: none !important; }
  .hero__service-icon { margin-bottom: 20px; }
  .hero__actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat-strip__inner { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .services, .about, .contact { padding: 52px 0; }
}
