/* ============================================
   BETUTIPUSOK - HELYBEN TAROLVA
   ============================================

   MIERT NEM a Google Fonts CDN-rol: a
   <link href="fonts.googleapis.com/css2?..."> RENDERBLOKKOLO volt - a bongeszo
   nem rajzolt, amig azt a stiluslapot le nem toltotte, es csak UTANA derult ki,
   hogy melyik woff2 kell. Ket kulso kapcsolat (googleapis -> gstatic), plusz egy
   kereslanc. Ez a docs/audit D1 dontese.

   A FAJLOK PONTOSAN AZOK, amiket a Google ma kiszolgal - nem "hasonlo" Inter es
   Manrope masik forrasbol. Igy a betu rajzolata garantaltan valtozatlan; egy
   verzio- vagy hinting-elteres lathato szovegelcsuszast okozna.

   OSSZEVONT SULYOK: a Google ugyanazt a VARIABLE FONT fajlt adja mind a harom
   sulyhoz, csak mas URL-en (md5-tel ellenorizve: azonosak). Igy ma a bongeszo
   UGYANAZT a fajlt haromszor tolti le. Ezert all itt sulyTARTOMANY
   (`font-weight: 400 600`) harom kulon blokk helyett: a variable font ugyanugy
   400/500/600-on jelenik meg, de egyetlen letoltesbol.
   Merve: 516 KB -> 173 KB egy magyar oldalon.

   A tobbi irasrendszer (cyrillic, greek, vietnamese) SZANDEKOSAN bent maradt.
   Az `unicode-range` miatt ezeket a magyar oldal soha nem tolti le, viszont ha
   valaha bekerul egy ilyen karakter, nem esik vissza rendszerbeture.

   HA FRISSITED: a docs/audit/eszkozok/ alatti eljaras szerint kerd le ujra a
   css2 URL-t modern bongeszo-User-Agenttel, es tukrozd az uj fajlokat.
   ============================================ */

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   PC-OBD Kft - Main CSS
   Modern corporate design - Kék, fehér, szürke
   ============================================ */

/* CSS Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Színpaletta */
  --color-primary: #0056b3;
  --color-primary-hover: #3498db;
  --color-dark: #2c3e50;
  --color-light-gray: #ecf0f1;
  --color-mid-gray: #6b7785;
  --color-white: #ffffff;
  --color-success: #27ae60;
  --color-accent: #e74c3c;

  /* Tipográfia */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Méretek */
  --container-max-width: 1200px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;

  /* Border radius - modern, lekerekített */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --border-radius: 12px;

  /* Shadows - modern, lágy árnyékok */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);

  /* Transitions - smooth animációk */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Scrollbar theme */
  --scrollbar-size: 12px;
  --scrollbar-track: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
  --scrollbar-thumb: linear-gradient(180deg, #2f84d6 0%, #0056b3 100%);
  --scrollbar-thumb-hover: linear-gradient(180deg, #4b9be3 0%, #0d67c4 100%);
  --scrollbar-thumb-active: linear-gradient(180deg, #1f76cc 0%, #004a99 100%);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Global premium scrollbar (desktop + supported browsers) */
* {
  scrollbar-width: thin;
  scrollbar-color: #2f84d6 #eef2f7;
}

*::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

*::-webkit-scrollbar-thumb:active {
  background: var(--scrollbar-thumb-active);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 2001;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 12px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; } /* 40px */
h2 { font-size: 2rem; }    /* 32px */
h3 { font-size: 1.5rem; }  /* 24px */
h4 { font-size: 1.25rem; } /* 20px */
h5 { font-size: 1.125rem; } /* 18px */
h6 { font-size: 1rem; }    /* 16px */

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.obf-phone-reveal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 10px;
  background: rgba(0, 86, 179, 0.06);
  border: 1px solid rgba(0, 86, 179, 0.22);
  border-radius: 999px;
  margin: 0;
  color: var(--color-primary);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: baseline;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.obf-phone-reveal:hover {
  color: var(--color-primary-hover);
  background: rgba(52, 152, 219, 0.14);
  border-color: rgba(0, 86, 179, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.obf-phone-reveal:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.obf-phone-value {
  display: inline-block;
  white-space: nowrap;
  font-weight: 600;
}

/* a:hover {
  color: var(--color-primary-hover);
} */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container & Grid */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-sm);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--spacing-sm) * -0.5);
}

.col {
  flex: 1;
  padding: 0 calc(var(--spacing-sm) * 0.5);
}

.col-1 { flex: 0 0 8.333%; max-width: 8.333%; padding: 0 calc(var(--spacing-sm) * 0.5); }
.col-2 { flex: 0 0 16.666%; max-width: 16.666%; padding: 0 calc(var(--spacing-sm) * 0.5); }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 calc(var(--spacing-sm) * 0.5); }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 calc(var(--spacing-sm) * 0.5); }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 calc(var(--spacing-sm) * 0.5); }
.col-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 calc(var(--spacing-sm) * 0.5); }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--spacing-sm) * 0.5); }

/* Responsive columns for medium screens and up (768px+) */
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333%; max-width: 8.333%; padding: 0 calc(var(--spacing-sm) * 0.5); }
  .col-md-2 { flex: 0 0 16.666%; max-width: 16.666%; padding: 0 calc(var(--spacing-sm) * 0.5); }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; padding: 0 calc(var(--spacing-sm) * 0.5); }
  .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 calc(var(--spacing-sm) * 0.5); }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 calc(var(--spacing-sm) * 0.5); }
  .col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 calc(var(--spacing-sm) * 0.5); }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; padding: 0 calc(var(--spacing-sm) * 0.5); }
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  line-height: 1.5;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Globális fókuszállapot láthatóság minden interaktív elemre */
:where(a, button, input, select, textarea, summary, .pagination-btn, .filter-chip, .filter-accordion-header):focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Scroll lock helper (modals, mobil szűrő) */
.no-scroll {
  overflow: hidden;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white) !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: var(--color-white) !important;
  color: var(--color-primary) !important;
  border-color: var(--color-white);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-light {
  background-color: white;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
}

.btn-light:hover {
  background-color: var(--color-primary) !important;
  color: white !important;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9375rem;
}

/* Cards */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: var(--spacing-md);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark);
}

.card-text {
  font-size: 0.9375rem;
  color: var(--color-mid-gray);
  margin-bottom: var(--spacing-md);
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

/* Header & Navigation */
header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.98);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 65px;
  width: auto;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.navbar-menu a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  padding-bottom: 4px;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  transition: width var(--transition-normal);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--color-primary);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  /* Banner kép. A hero a hajtás felett van és elő van töltve, tehát jó eséllyel
     ez az oldal LCP-eleme - ezért kap méret szerinti változatokat.

     FIGYELEM: ezeknek az URL-eknek PONTOSAN egyezniük kell azzal, amit az
     include/oldal.php PCOBD_HERO_* konstansai hirdetnek, mert a fej.php onnan
     állítja elő a <link rel="preload"> sorokat. Ha eltérnek, a böngésző két
     külön erőforrásnak látja, a preload nem hasznosul, és a kép KÉTSZER
     töltődik le - vagyis rosszabb lesz, mint optimalizálás nélkül.
     A mobil változat: css/responsive.css, a (max-width: 767px) ágban.

     A .webp URL-eken SZÁNDÉKOSAN nincs ?v=: a fájlnév maga hordozza a méretet,
     és képcserénél ÚJ FÁJLNÉV kell - így nincs mit szinkronban tartani.

     Miért nincs type('image/webp') az image-set()-ben: a type() jelölést csak
     újabb motorok ismerik (Chrome 113+, Safari 17+), és ha nem ismerik, az
     EGÉSZ image-set érvénytelen lesz. Erre nincs is szükség: minden böngésző,
     amelyik ismeri az image-set()-et, ismeri a WebP-t is. Amelyik nem ismeri
     az image-set()-et, az az alatta lévő... pontosabban a FELETTE lévő, sima
     url() értéket használja - ezért áll a JPG ELSŐKÉNT. */
  background-image: url('../images/hero-banner.jpg?v=20260917');
  background-image: -webkit-image-set(url('../images/hero-banner-1920.webp') 1x);
  background-image: image-set(url('../images/hero-banner-1920.webp') 1x);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: clamp(28px, 6vh, 56px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 62vh, 620px);
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero > .container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Sötét overlay a szöveg olvashatóságához */
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 0 clamp(10px, 2vw, 24px);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
  opacity: 1;
  font-weight: 400;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Hero section specifikus gomb stílusok */
.hero .btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
  background-color: #ffffff !important;
  color: #0056b3 !important;
  border-color: #ffffff;
}

/* Sections */
section {
  padding: 80px 0;
  position: relative;
}

.section-page-header {
  background-color: var(--color-light-gray);
  padding: clamp(34px, 6vh, 58px) 0;
}

.section-page-content {
  padding: var(--spacing-lg) 0;
}

.section-surface {
  padding: var(--spacing-xl) 0;
  background: #f7f9fc;
}

.section-light {
  background-color: var(--color-light-gray);
}

.section-title--compact {
  margin-bottom: 0;
}

.section-title--compact .section-subtitle {
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.section-heading-reset {
  margin: 0;
}

.section-cta-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.section-cta-primary h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.section-cta-primary p {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.footer-contact-block {
  margin-top: var(--spacing-md);
}

.cursor-pointer {
  cursor: pointer;
}

#services {
  padding-top: 56px;
}

#services .section-title {
  margin-bottom: 48px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title.section-title--compact {
  margin-bottom: clamp(10px, 1.8vh, 16px);
}

.section-title h1,
.section-title h2 {
  font-size: 2.5rem;
  color: var(--color-dark);
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-sm);
}

.section-title h1::after,
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--color-mid-gray);
  font-size: 1.125rem;
  margin-top: var(--spacing-sm);
}

/* Services Cards */
.service-card {
  text-align: center;
  padding: var(--spacing-xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card[role="link"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Staggered animation for service cards */
.service-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover .service-image {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.service-card p {
  color: var(--color-mid-gray);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.service-card .btn {
  margin-top: auto;
}

/* Horizontal Scrolling Products (Index page) */
.product-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #2f84d6 #eef2f7;
  margin-top: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
}

.product-scroll-wrapper {
  position: relative;
  padding: 0 56px;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffffee;
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  z-index: 3;
}

.scroll-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 86, 179, 0.2);
  background: #ffffff;
}

.scroll-arrow.left {
  left: 8px;
}

.scroll-arrow.right {
  right: 8px;
}

.product-scroll-container::-webkit-scrollbar {
  height: 10px;
}

.product-scroll-container::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

.product-scroll-container::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
}

.product-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

.product-scroll-grid {
  display: flex;
  gap: var(--spacing-md);
  padding: 4px;
}

.product-scroll-grid .product-card {
  flex: 0 0 330px;
  max-width: 330px;
  position: relative;
  margin-top: var(--spacing-sm);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.product-scroll-grid .product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
  z-index: 2;
  pointer-events: none;
}

.product-scroll-grid .product-card:hover::before {
  transform: scaleX(1);
}

.product-scroll-grid .product-card .product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-scroll-grid .product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

@media (max-width: 576px) {
  .product-scroll-wrapper {
    padding: 0;
  }

  .product-scroll-grid {
    gap: var(--spacing-sm);
  }

  .product-scroll-grid .product-card {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .product-scroll-grid .product-card .product-image {
    height: 160px;
    background: #ffffff;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-scroll-grid .product-card .product-body {
    padding: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .product-scroll-grid .product-card .product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .product-scroll-grid .product-card .product-price {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .product-scroll-grid .product-card .product-footer .btn {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 0.85rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    border-radius: 10px;
    white-space: nowrap;
  }

  .scroll-arrow {
    display: none;
  }
}
.product-scroll-grid .product-card .product-body {
  background-color: #ffffff;
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 var(--spacing-lg);
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

/* A lablec-szakaszok blokkcime NEM cimsor.
   Tortenet, hogy ne forduljon vissza:
     1. eredetileg h4 volt -> a fooldalon h2 -> h4 szintugras keletkezett;
     2. az audit 02.6 (SEO-05) ezert h2-re emelte;
     3. mostantol egyaltalan nem cimsor - mert a "Termekek" blokkcim a
        fooldalon UTKOZOTT a kiemelt termekek szekciocimevel, es a duplikalt
        cimsorszoveget a SEO-eszkozok hibakent jelzik.
   Szemantikailag ez a helyes: egy lablec-menu cimkeje nem dokumentum-szekcio
   cime. Radasul igy megszunik az is, hogy minden oldal lablece negy folosleges
   h2-vel higitsa a cimsor-szerkezetet.

   A MEGJELENES VALTOZATLAN: a `h1, h2, ... h6` szabalybol korabban orokolt ket
   ertek - font-family es line-height - itt explicit szerepel, a tobbi ugyanaz. */
.footer-section .footer-heading {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-section a {
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-section a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-0 { margin-bottom: 0 !important; }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

/* Loading Spinner */
.spinner {
  border: 4px solid var(--color-light-gray);
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: var(--spacing-lg) auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll to Top Button Enhancement */
.scroll-to-top {
  position: fixed;
  bottom: 88px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform var(--transition-fast);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top .stt-arrow {
  line-height: 1;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.4) !important;
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Fade-in animation for sections */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.services-grid {
  animation: fadeIn 0.6s ease-out 0.3s backwards;
}

.product-scroll-container {
  animation: fadeIn 0.6s ease-out 0.4s backwards;
}
