/* ==========================================================================
   KitLine — stíluslap

   1. Betűtípusok            – helyben tárolt Montserrat / Archivo vágások
   2. Design rendszer        – tokenek és alapkomponensek
   3. Oldalspecifikus CSS    – animációk, görgetősáv, hover effektek
   4. Komponensosztályok     – a designból kiemelt szabályok, szekciónként
   5. Állapotok              – a .page gyökérosztályaira épülő váltások
   ========================================================================== */


/* 1. Betűtípusok ========================================================== */
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/font-01.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: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/font-03.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: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/font-04.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: 'Montserrat';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/font-05.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: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/font-01.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: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/font-03.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: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/font-04.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: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/font-05.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font-01.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font-03.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font-04.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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font-05.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: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font-01.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: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font-03.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: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font-04.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: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font-05.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font-01.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font-02.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font-03.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font-04.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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font-05.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;
}


/* 2. Design rendszer ====================================================== */
/* Modernist — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-06.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: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-07.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: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-08.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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-06.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: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-07.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: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-08.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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-06.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: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-07.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: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/font-08.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;
}


:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-accent-2: #e15b47;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff2ef;
  --color-accent-200: #ffe0d9;
  --color-accent-300: #ffc4b8;
  --color-accent-400: #ff9783;
  --color-accent-500: #ff563c;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-accent-800: #7c1405;
  --color-accent-900: #4d170e;

  --color-accent-2-100: #fff2ef;
  --color-accent-2-200: #ffe0da;
  --color-accent-2-300: #ffc4b9;
  --color-accent-2-400: #ff9784;
  --color-accent-2-500: #ef6853;
  --color-accent-2-600: #c94b39;
  --color-accent-2-700: #9e3526;
  --color-accent-2-800: #71261b;
  --color-accent-2-900: #471d16;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-1: 4.0px;
  --space-2: 8.0px;
  --space-3: 12.0px;
  --space-4: 16.0px;
  --space-6: 24.0px;
  --space-8: 32.0px;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.grayscale{filter:grayscale(1) contrast(1.08)}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 2px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); justify-content: flex-start; text-align: left; }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 2px solid var(--color-divider);
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 2px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid var(--color-divider);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }


/* 3. Oldalspecifikus CSS ================================================== */
@font-face { font-family: 'Monument Extended'; src: url("../fonts/font-09.otf") format('opentype'); font-weight: 400; }
  @font-face { font-family: 'Monument Extended'; src: url("../fonts/font-10.otf") format('opentype'); font-weight: 800; }
  html { scroll-behavior: smooth; }
  :root { --c-gold: #c9a36a; }
  body { margin: 0; background: #FFFFFF; color: #000000; font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; }
  * { box-sizing: border-box; }
  a { color: #000000; text-decoration: none; }
  a:hover { color: #6E6E6E; }
  image-slot { filter: grayscale(.12); }
  ::selection { background: #000; color: #fff; }
  @keyframes cpFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes cpLine { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  [data-svc]:hover { background:#000 !important; border-color:#000 !important; }
  [data-svc]:hover h3, [data-svc]:hover p, [data-svc]:hover li { color:#fff !important; }
  [data-svc]:hover li { border-color:rgba(255,255,255,.4) !important; }
  [data-svc]:hover span[aria-hidden] { -webkit-text-stroke-color:#fff !important; }
  .cp-thin-scroll::-webkit-scrollbar { width: 3px; height: 3px; }
  .cp-thin-scroll::-webkit-scrollbar-thumb { background: transparent; border-radius: 3px; transition: background .2s ease; }
  .cp-thin-scroll:hover::-webkit-scrollbar-thumb { background: rgba(0,0,0,.25); }
  .cp-thin-scroll { scrollbar-width: thin; scrollbar-color: transparent transparent; }
  .cp-thin-scroll:hover { scrollbar-color: rgba(0,0,0,.25) transparent; }
  .cp-zoom-wrap { position:relative; }
  .cp-zoom-btn { opacity:0; transition:opacity .25s ease; }
  .cp-zoom-wrap:hover .cp-zoom-btn { opacity:1; }
  .cp-svc:hover { border-color:#000 !important; }
  .cp-svc:has(input:checked) { border-color:#000 !important; }
  .cp-portrait .cp-portrait-color { opacity:0; transition:opacity .5s ease; }
  .cp-portrait:hover .cp-portrait-color { opacity:1; }


/* 4. Komponensosztályok =================================================== */

/* --- Oldalkeret --- */

.page {
  background: #FFFFFF;
  color: #000;
  font-family: 'Montserrat',sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
}


/* --- Fejléc és mobilmenü --- */

.page .nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(20px,4vw,64px);
  height: 76px;
  transition: background .5s ease, border-color .5s ease, color .5s ease;
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #FFFFFF;
}

.page .nav-logo {
  display: block;
  flex-shrink: 0;
  width: 192px;
  height: 96px;
  margin-left: -23px;
  background-image: url("../images/image-05.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  color: inherit;
}

.page .contact-logo {
  height: 96px;
  width: auto;
  display: block;
  flex-shrink: 0;
  margin-left: -23px;
}

.page .nav-nav {
  min-width: 0;
  gap: clamp(12px,1.7vw,28px);
  align-items: center;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  display: flex;
}

.page .nav-a-2 {
  color: #FFFFFF;
  opacity: 1;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12px;
}

.page .nav-a-2:hover {
  opacity: .6;
}

.page .nav-div-2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page .nav-a-3 {
  align-items: center;
  height: 40px;
  padding: 0 clamp(14px,1.6vw,20px);
  border: 1px solid #FFFFFF;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
  transition: background .35s ease, color .35s ease;
  display: flex;
}

.page .nav-a-3:hover {
  background: #FFFFFF;
  color: #000000;
}

.page .nav-button {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 12px;
  color: inherit;
  cursor: pointer;
  align-items: center;
  display: none;
}

.page .nav-span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
}

.page .nav-div-3 {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.82);
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: none;
}

.page .nav-div-4 {
  position: relative;
  width: min(900px,90%);
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 12px;
  overflow-y: auto;
}

.page .nav-div-5 {
  display: none;
}

.page .nav-div-6 {
  display: none;
}

.page .nav-div-7 {
  display: none;
}

.page .nav-div-8 {
  display: none;
}

.page .nav-div-9 {
  display: none;
}

.page .nav-div-10 {
  aspect-ratio: 16/10;
  display: none;
}

.page .nav-div-11 {
  display: none;
}

.page .nav-div-12 {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  /* A menüpontok közvetlenül a logósor alatt kezdődnek, a lap alján lévő
     blokkot a margin-top: auto tartja lent. */
  justify-content: flex-start;
  padding: 22px clamp(20px,5vw,44px) 40px;
  gap: 32px;
  overflow-y: auto;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), visibility .6s linear;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-101%);
}

.page .nav-div-13 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page .nav-img-2 {
  height: 90px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.page .nav-button-2 {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 16px;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.page .nav-nav-2 {
  display: flex;
  flex-direction: column;
  gap: clamp(14px,3vh,26px);
}

.page .nav-a-4 {
  color: #fff;
  font-size: clamp(26px,6.4vw,40px);
  font-weight: 200;
  letter-spacing: -.02em;
}

.page .nav-div-14 {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 24px;
}

.page .nav-div-15 {
  display: none;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .14em;
}

.page .nav-span-2 {
  opacity: .34;
}

.page .nav-span-3 {
  opacity: .42;
}

.page .nav-a-5 {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 26px;
  background: #fff;
  color: #000;
  border-radius: 16px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}


/* --- Hero --- */

.page .hero-section {
  position: relative;
  height: 100vh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  background: url(https://kitline.hu/images/image-12.webp) center center;
  background-size: cover;
}


.page .hero-div-2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(0,0,0,' + (d * 0.64).toFixed(2) + ') 0%,rgba(0,0,0,' + (d * 0.18).toFixed(2) + ') 38%,rgba(0,0,0,' + d.toFixed(2) + ') 100%);
  background: var(--hero-scrim);
}

.page .hero-div-3 {
  position: absolute;
  left: clamp(20px,4vw,64px);
  right: clamp(20px,4vw,64px);
  bottom: clamp(48px,7vh,96px);
  color: #FFFFFF;
  pointer-events: none;
  animation: cpFade 1.1s cubic-bezier(.2,.7,.2,1) both;
}

.page .hero-span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 12px 'Montserrat',sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  padding: 8px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: clamp(20px,3vh,34px);
}

.page .hero-span-2 {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.page .hero-h1 {
  margin: 0;
  font-weight: 200;
  font-size: clamp(26px,3.6vw,58px);
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 19ch;
  text-wrap: balance;
}

.page .hero-div-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(28px,4vh,48px);
}

.page .hero-p {
  margin: 0;
  font-size: clamp(14px,1.15vw,17px);
  line-height: 1.75;
  font-weight: 300;
  max-width: 46ch;
  opacity: .88;
}

.page .hero-div-5 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  pointer-events: auto;
}

.page .hero-a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 34px;
  background: #FFFFFF;
  color: #000000;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity .3s ease;
  padding-left: clamp(14px,1.6vw,20px);
  padding-right: clamp(14px,1.6vw,20px);
}

.page .hero-a:hover {
  opacity: .78;
}

.page .hero-a-2 {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 clamp(14px,1.6vw,20px);
  border: 1px solid #FFFFFF;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
  transition: background .35s ease, color .35s ease;
}

.page .hero-a-2:hover {
  background: #FFFFFF;
  color: #000000;
}


/* --- Szolgáltatások --- */

.page .svc-section {
  padding: clamp(70px,10vh,130px) clamp(20px,4vw,64px) clamp(40px,5vh,70px);
  max-width: 1560px;
  margin: 0 auto;
}

.page .svc-div {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px,5vh,64px);
}

.page .svc-div-2 {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8A8A8A;
  font-weight: 400;
  margin-bottom: 22px;
}

.page .svc-h2 {
  margin: 0;
  font-weight: 200;
  font-size: clamp(26px,3.6vw,48px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.page .svc-div-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: clamp(14px,1.4vw,22px);
}

.page .svc-article {
  background: var(--card,#fff);
  border: 1px solid var(--line,#DDD7CF);
  border-radius: 24px;
  padding: clamp(26px,3vw,36px);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;
}

.page .svc-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px rgba(23,23,23,.35);
}

.page .svc-span {
  font-family: 'Monument Extended',sans-serif;
  font-size: clamp(48px,6vw,80px);
  line-height: 1;
  font-weight: 800;
  -webkit-text-stroke: 2px var(--line,#DDD7CF);
  color: transparent;
  margin-bottom: 18px;
}

.page .svc-h3 {
  font: 800 1.35rem 'Montserrat',sans-serif;
  margin: 0 0 12px;
  letter-spacing: -.01em;
}

.page .svc-p {
  color: var(--ink2,#68635D);
  line-height: 1.6;
  margin: 0 0 20px;
}

.page .svc-ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page .svc-li {
  font: 500 12px 'Montserrat',sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink2,#68635D);
  background: transparent;
  border: 1px solid var(--line,#DDD7CF);
  padding: 7px 13px;
  border-radius: 999px;
}


/* --- Referenciamunkák --- */

.page .ref-section {
  padding: clamp(40px,5vh,70px) clamp(20px,4vw,64px) clamp(80px,12vh,160px);
  max-width: 1560px;
  margin: 0 auto;
}

.page .ref-div {
  display: grid;
  grid-template-columns: minmax(280px,42%) 1fr;
  gap: clamp(28px,4vw,56px);
  align-items: start;
}

.page .ref-div-2 {
  position: sticky;
  top: 104px;
}

.page .ref-div-3 {
  position: relative;
  transition: width .3s ease;
  width: 100%;
  margin: 0;
  display: block;
}

.page .ref-div-4 {
  background: #1D1D1D;
  padding: 14px 14px 26px;
  transition: border-radius .3s ease;
  border-radius: 20px;
}

.page .ref-div-5 {
  gap: 6px;
  align-items: center;
  height: 18px;
  padding: 0 4px 12px;
  display: flex;
}

.page .ref-span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}

.page .ref-div-6 {
  justify-content: center;
  padding: 6px 0 10px;
  display: none;
}

.page .ref-span-2 {
  width: 60px;
  height: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.25);
}

.page .ref-div-7 {
  position: relative;
  overflow: hidden;
  background: #F4F4F4;
  transition: aspect-ratio .3s ease;
  aspect-ratio: 16/10;
  border-radius: 10px;
}

.page .ref-div-8 {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.page .ref-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease;
  z-index: 5;
  pointer-events: auto;
  display: none;
  opacity: 0;
}

.page .ref-div-9 {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.page .ref-button-2 {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease;
  z-index: 5;
  pointer-events: auto;
  display: none;
  opacity: 0;
}

.page .ref-div-10 {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.page .ref-button-3 {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease;
  z-index: 5;
  pointer-events: auto;
  display: none;
  opacity: 0;
}

.page .ref-div-11 {
  position: absolute;
  inset: 0;
  display: none;
}

.page .ref-button-4 {
  position: absolute;
  inset: 0 50% 0 0;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: none;
}

.page .ref-button-5 {
  position: absolute;
  inset: 0 0 0 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: none;
}

.page .ref-button-6 {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease;
  z-index: 6;
  pointer-events: auto;
  display: none;
  opacity: 0;
}

.page .ref-div-12 {
  position: absolute;
  inset: 0;
  display: none;
}

.page .ref-button-7 {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease;
  z-index: 5;
  pointer-events: auto;
  display: none;
  opacity: 0;
}

.page .ref-div-13 {
  position: absolute;
  inset: 0;
  display: none;
}

.page .ref-button-8 {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease;
  z-index: 5;
  pointer-events: auto;
  display: none;
  opacity: 0;
}

.page .ref-div-14 {
  width: 36%;
  height: 8px;
  margin: 10px auto 0;
  border-radius: 0 0 8px 8px;
  background: #2A2A2A;
  display: block;
}

.page .ref-button-9 {
  position: absolute;
  top: 50%;
  left: -56px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #1D1D1D;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  opacity: .9;
  transition: opacity .2s ease;
  display: none;
}

.page .ref-button-9:hover {
  opacity: 1;
}

.page .ref-img {
  width: 14px;
  height: 14px;
  display: block;
  margin: auto;
  position: relative;
  right: 1px;
}

.page .ref-button-10 {
  position: absolute;
  top: 50%;
  right: -56px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #1D1D1D;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  opacity: .9;
  transition: opacity .2s ease;
  display: none;
}

.page .ref-button-10:hover {
  opacity: 1;
}

.page .ref-img-2 {
  width: 14px;
  height: 14px;
  display: block;
  margin: auto;
  position: relative;
  left: 1px;
}

.page .ref-div-15 {
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  display: none;
}

.page .ref-button-11 {
  all: unset;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page .ref-span-3 {
  display: block;
  border-radius: 50%;
  transition: all .2s ease;
  width: 6px;
  height: 6px;
  background: #D9D9D9;
}

.page .ref-div-16 {
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  display: none;
}

.page .ref-button-12 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-button-13 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-div-17 {
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  display: none;
}

.page .ref-button-14 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-button-15 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-div-18 {
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  display: none;
}

.page .ref-button-16 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-button-17 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-button-18 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-div-19 {
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 20px;
  display: none;
}

.page .ref-div-20 {
  aspect-ratio: 1/1;
  border-radius: 10px;
  border: 1px solid #000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

.page .ref-img-3 {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.page .ref-button-19 {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.page .ref-div-21 {
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 20px;
  display: none;
}

.page .ref-div-22 {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #000;
}

.page .ref-div-23 {
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 10px;
  display: none;
}

.page .ref-div-24 {
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 10px;
  display: none;
}

.page .ref-div-25 {
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  display: none;
}

.page .ref-button-20 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-button-21 {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 14px;
  cursor: pointer;
  background: transparent;
  color: #000;
}

.page .ref-div-26 {
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 20px;
  display: none;
}

.page .ref-div-27 {
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 20px;
  display: none;
}

.page .ref-list {
  display: flex;
  flex-direction: column;
}

.page .ref-button-22 {
  all: unset;
  cursor: pointer;
  text-align: left;
  width: 100%;
  border-top: 1px solid #EAEAEA;
  padding: 22px 4px;
  transition: padding-left .3s ease;
}

.page .ref-button-22:hover {
  padding-left: 8px;
}

.page .ref-div-29 {
  font-size: 14px;
  letter-spacing: .2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
  color: #8A8A8A;
}

.page .ref-div-30 {
  font-weight: 300;
  letter-spacing: -.01em;
  color: #000;
  transition: font-size .3s ease;
  font-size: clamp(15px,1.2vw,18px);
}

.page .ref-div-31 {
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
  display: none;
}

.page .ref-p {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #8A8A8A;
}

.page .ref-p-2 {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #5C5C5C;
  font-weight: 300;
}

.page .ref-strong {
  color: rgb(0, 0, 0);
}

.page .ref-p-3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.7;
  color: #5C5C5C;
  font-weight: 300;
}

.page .ref-ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page .ref-li {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #000;
  background: transparent;
  border: 1px solid #EAEAEA;
  padding: 7px 13px;
  border-radius: 999px;
}

.page .ref-div-32 {
  font-size: 14px;
  letter-spacing: .2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
  color: #8A8A8A;
}

.page .ref-div-33 {
  font-weight: 300;
  letter-spacing: -.01em;
  color: #000;
  transition: font-size .3s ease;
  font-size: clamp(15px,1.2vw,18px);
}

.page .ref-div-34 {
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
  display: none;
}

.page .ref-div-35 {
  font-size: 14px;
  letter-spacing: .2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
  color: #8A8A8A;
}

.page .ref-div-36 {
  font-weight: 300;
  letter-spacing: -.01em;
  color: #000;
  transition: font-size .3s ease;
  font-size: clamp(15px,1.2vw,18px);
}

.page .ref-div-37 {
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
  display: none;
}

.page .ref-div-38 {
  font-size: 14px;
  letter-spacing: .2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
  color: #8A8A8A;
}

.page .ref-div-39 {
  font-weight: 300;
  letter-spacing: -.01em;
  color: #000;
  transition: font-size .3s ease;
  font-size: clamp(15px,1.2vw,18px);
}

.page .ref-div-40 {
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
  display: none;
}

.page .ref-button-23 {
  all: unset;
  cursor: pointer;
  text-align: left;
  width: 100%;
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  padding: 22px 4px;
  transition: padding-left .3s ease;
}

.page .ref-button-23:hover {
  padding-left: 8px;
}

.page .ref-div-41 {
  font-size: 14px;
  letter-spacing: .2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
  color: #8A8A8A;
}

.page .ref-div-42 {
  font-weight: 300;
  letter-spacing: -.01em;
  color: #000;
  transition: font-size .3s ease;
  font-size: clamp(15px,1.2vw,18px);
}

.page .ref-div-43 {
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
  display: none;
}

.page .ref-div-44 {
  font-size: 14px;
  letter-spacing: .2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 500;
  color: #8A8A8A;
}

.page .ref-div-45 {
  font-weight: 300;
  letter-spacing: -.01em;
  color: #000;
  transition: font-size .3s ease;
  font-size: clamp(15px,1.2vw,18px);
}

.page .ref-div-46 {
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
  display: none;
}


/* --- Folyamat --- */

.page .proc-section {
  background: #000000;
  color: #FFFFFF;
  padding: clamp(80px,13vh,180px) clamp(20px,4vw,64px);
}

.page .proc-div {
  max-width: 1560px;
  margin: 0 auto;
}

.page .proc-div-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: clamp(24px,4vw,48px);
}

.page .proc-div-3 {
  text-align: center;
}

.page .proc-div-4 {
  font-family: 'Monument Extended',sans-serif;
  font-size: clamp(48px,6vw,80px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.page .proc-div-5 {
  margin-top: 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.6);
  font-weight: 800;
  overflow: visible;
}

.page .proc-div-6 {
  margin-top: 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.6);
  font-weight: 800;
}


/* --- Rólam --- */

.page .about-section {
  padding: clamp(80px,12vh,160px) clamp(20px,4vw,64px);
  max-width: 1560px;
  margin: 0 auto;
}

.page .about-div {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: clamp(32px,5vw,64px);
  align-items: start;
}

.page .about-div-2 {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8A8A8A;
  font-weight: 400;
}

.page .about-h2 {
  margin: 14px 0 22px;
  font-weight: 200;
  font-size: clamp(26px,3.6vw,48px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.page .about-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page .about-p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #5C5C5C;
  font-weight: 300;
}

.page .about-p-2 {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.75;
  color: #5C5C5C;
  font-weight: 300;
}

.page .about-div-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page .about-a {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border: 1px solid #EAEAEA;
  color: #000;
  border-radius: 16px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .35s ease,color .35s ease;
}

.page .about-a:hover {
  background: #000;
  color: #fff;
}

.page .about-div-4 {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 16px;
  background: #F4F4F4;
  position: sticky;
  top: 96px;
  overflow: hidden;
}

.page .about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page .about-section-2 {
  background: #000000;
  color: #FFFFFF;
  padding: clamp(80px,12vh,160px) clamp(20px,4vw,64px);
}

.page .about-div-5 {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  margin-bottom: clamp(32px,4vh,56px);
}

.page .about-div-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: clamp(32px,4vw,72px);
}

.page .about-blockquote {
  margin: 0;
}

.page .about-p-3 {
  margin: 0 0 24px;
  font-size: clamp(19px,1.6vw,26px);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: -.01em;
}


/* --- Kapcsolat --- */

.page .contact-section {
  padding: clamp(80px,12vh,160px) clamp(20px,4vw,64px);
  border-top: 1px solid #EAEAEA;
}

.page .contact-div {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: clamp(36px,5vw,72px);
}

.page .contact-div-2 {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8A8A8A;
  font-weight: 400;
  margin-bottom: 22px;
}

.page .contact-h2 {
  margin: 0 0 22px;
  font-weight: 200;
  font-size: clamp(26px,3.6vw,48px);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.page .contact-p {
  margin: 0 0 36px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #5C5C5C;
  font-weight: 300;
  max-width: 52ch;
}

.page .contact-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page .contact-li {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #EAEAEA;
  padding-top: 14px;
}

.page .contact-span {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8A8A8A;
  width: 96px;
  flex-shrink: 0;
}

.page .contact-a {
  color: #000;
  font-size: 15px;
  border-bottom: 1px solid #EAEAEA;
}

.page .contact-li-2 {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  padding: 14px 0;
}

.page .contact-div-3 {
  background: #F4F4F4;
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  padding: clamp(28px,4vw,52px);
  flex-direction: column;
  gap: 14px;
  align-self: start;
  display: none;
}

.page .contact-div-4 {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8A8A8A;
  font-weight: 400;
}

.page .contact-h3 {
  margin: 0;
  font-size: clamp(22px,2.2vw,30px);
  font-weight: 300;
  letter-spacing: -.01em;
  color: #000;
}

.page .contact-p-2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5C5C5C;
  font-weight: 300;
}

.page .contact-form {
  background: #F4F4F4;
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  padding: clamp(24px,3vw,40px);
  display: block;
}

.page .contact-div-5 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page .contact-div-6 {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.page .contact-label {
  font-size: 13px;
  font-weight: 500;
  color: #000;
}

.page .contact-span-2 {
  color: #8A8A8A;
}

.page .contact-input {
  font-size: 15px;
  font-family: 'Montserrat',sans-serif;
  color: #000;
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
}

.page .contact-span-3 {
  color: rgb(138, 138, 138);
}

.page .contact-div-7 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page .contact-label-2 {
  display: flex;
  gap: 9px;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #000;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 11px 16px;
  transition: border-color .2s ease;
  /* A keretes doboz a szöveg hossza helyett a többi űrlapmező
     szélességét veszi fel. */
  flex: 1 1 100%;
}

.page .contact-input-2 {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: #000;
}

.page .contact-input-3 {
  width: 100%;
  font-size: 15px;
  font-family: 'Montserrat',sans-serif;
  color: #000;
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
}

.page .contact-input-4 {
  width: 100%;
  font-size: 15px;
  font-family: 'Montserrat',sans-serif;
  color: #000;
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
}

.page .contact-textarea {
  font-size: 15px;
  font-family: 'Montserrat',sans-serif;
  color: #000;
  background: #fff;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
  resize: vertical;
  min-height: 110px;
}

.page .contact-label-3 {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: #5C5C5C;
  line-height: 1.5;
}

.page .contact-input-5 {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #000;
}

.page .contact-a-2 {
  color: #000;
}

.page .contact-p-3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #B3261E;
  display: none;
}

.page .contact-button {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: opacity .3s ease;
}

.page .contact-button:hover {
  opacity: .78;
}

.page .contact-footer {
  background: #000000;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.1);
}

.page .contact-div-8 {
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(40px,5vw,64px) clamp(20px,4vw,64px);
}

.page .contact-div-9 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 32px;
  align-items: start;
}

.page .contact-div-10 {
  display: flex;
  align-items: center;
  margin-bottom: -14px;
  margin-top: -28px;
}

.page .contact-span-4 {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: .06em;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 13px;
  border-radius: 999px;
}

.page .contact-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page .contact-a-3 {
  color: #FFFFFF;
  opacity: 1;
  font-size: 12px;
  text-decoration: none;
  font-weight: 400;
}

.page .contact-a-3:hover {
  opacity: .6;
}

.page .contact-div-11 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page .contact-span-5 {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.5);
}

.page .contact-div-12 {
  display: flex;
  gap: 10px;
}

.page .contact-a-4 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #FFFFFF;
  border-radius: 12px;
  transition: .35s ease;
  --icon-filter: none;
}

.page .contact-a-4:hover {
  background: #FFFFFF;
  --icon-filter: invert(1);
}

.page .contact-img {
  width: 18px;
  height: 18px;
  display: block;
  filter: var(--icon-filter);
  transition: filter .35s ease;
  pointer-events: none;
}

.page .contact-div-13 {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.page .contact-span-6 {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
}

.page .contact-a-5 {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.25);
  text-transform: uppercase;
}

.page .contact-div-14 {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: #000;
  color: #fff;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px,4vw,64px);
  padding-right: calc(clamp(20px,4vw,64px) + 40px);
  transform: translateY(120%);
}

.page .contact-div-15 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.page .contact-span-7 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-weight: 400;
}

.page .contact-span-8 {
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
}

.page .contact-a-6 {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 26px;
  background: #fff;
  color: #000;
  border-radius: 16px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity .3s ease;
}

.page .contact-a-6:hover {
  opacity: .78;
}

.page .contact-button-2 {
  position: absolute;
  top: 50%;
  right: clamp(14px,2vw,24px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page .contact-button-2:hover {
  background: rgba(255,255,255,.12);
}

.page .contact-a-7 {
  position: fixed;
  right: clamp(20px,4vw,32px);
  z-index: 70;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #000;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.4);
  transition: opacity .3s ease, bottom .4s ease;
  bottom: clamp(20px,4vw,32px);
  display: none;
}

.page .contact-a-7:hover {
  opacity: .82;
}

.page .contact-img-2 {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0) invert(1);
}


/* Dátum- és időmező felirattal: iOS Safariban az üres date/time input
   semmilyen jelzést nem mutat, ezért kell fölé a saját feliratunk. */

.page .contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 200px;
  min-width: 0;
}

.page .contact-field-time {
  flex: 1 1 140px;
}

.page .contact-field-caption {
  font-size: 12px;
  font-weight: 400;
  color: #68635D;
}

/* Az űrlap szövegmezői, a dátum és az időpont is, azonos magasak:
   a date/time input belső szerkesztője magasabb sort rajzol, ezért kell
   a rögzített sormagasság és a közös min-height. */

.page .contact-input,
.page .contact-input-3,
.page .contact-input-4 {
  line-height: 1.25;
  min-height: 47px;
}

.page .contact-input-3,
.page .contact-input-4 {
  height: 47px;
}

/* A date/time input belső szerkesztője saját sormagasságot és
   térközt hoz — ezt nullázzuk, különben magasabb a mező. */
.page .contact-input-3::-webkit-datetime-edit,
.page .contact-input-4::-webkit-datetime-edit {
  padding: 0;
  line-height: 1.25;
}

.page .contact-input-3::-webkit-date-and-time-value,
.page .contact-input-4::-webkit-date-and-time-value {
  margin: 0;
  line-height: 1.25;
}

.page .contact-input-3,
.page .contact-input-4 {
  max-width: 100%;
  min-width: 0;
}


/* 5. Állapotok ============================================================ */

/* .bar-dismissed — bezárt sticky sáv */
.page.bar-dismissed .contact-a-7 {
  display: flex;
}

/* .bar-visible — látható sticky sáv */
.page.bar-visible .contact-div-14 {
  transform: translateY(0);
}

/* .dot-active — aktív pötty a mobilapp galériában */
.page .ref-span-3.dot-active {
  width: 8px;
  height: 8px;
  background: #000000;
}

/* .form-error — űrlaphiba */
.page.form-error .contact-p-3 {
  display: block;
}

/* .form-sent — elküldött kapcsolati űrlap */
.page.form-sent .contact-div-3 {
  display: flex;
}
.page.form-sent .contact-form {
  display: none;
}

/* .magnifier-on — látható nagyító gomb */
.page.magnifier-on .ref-button {
  opacity: 1;
}
.page.magnifier-on .ref-button-2 {
  opacity: 1;
}
.page.magnifier-on .ref-button-3 {
  opacity: 1;
}
.page.magnifier-on .ref-button-6 {
  opacity: 1;
}
.page.magnifier-on .ref-button-7 {
  opacity: 1;
}
.page.magnifier-on .ref-button-8 {
  opacity: 1;
}

/* .menu-open — nyitott mobilmenü */
.page.menu-open .nav-div-12 {
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* .ref-0 — kiválasztott referencia / aloldal */
.page.ref-0 .ref-div-8 {
  display: block;
}
.page.ref-0 .ref-button {
  display: block;
}
.page.ref-0 .ref-div-25 {
  display: flex;
}
.page.ref-0 .ref-div-26 {
  display: grid;
}
.page.ref-0 .ref-div-29 {
  color: #000000;
}
.page.ref-0 .ref-div-30 {
  font-size: clamp(19px,1.7vw,25px);
}
.page.ref-0 .ref-div-31 {
  display: flex;
}

/* .ref-1 — kiválasztott referencia / aloldal */
.page.ref-1 .ref-div-9 {
  display: block;
}
.page.ref-1 .ref-button-2 {
  display: block;
}
.page.ref-1 .ref-div-16 {
  display: flex;
}
.page.ref-1 .ref-div-27 {
  display: grid;
}
.page.ref-1 .ref-div-32 {
  color: #000000;
}
.page.ref-1 .ref-div-33 {
  font-size: clamp(19px,1.7vw,25px);
}
.page.ref-1 .ref-div-34 {
  display: flex;
}

/* .ref-2 — kiválasztott referencia / aloldal */
.page.ref-2 .ref-div-10 {
  display: block;
}
.page.ref-2 .ref-button-3 {
  display: block;
}
.page.ref-2 .ref-div-17 {
  display: flex;
}
.page.ref-2 .ref-div-19 {
  display: grid;
}
.page.ref-2 .ref-div-35 {
  color: #000000;
}
.page.ref-2 .ref-div-36 {
  font-size: clamp(19px,1.7vw,25px);
}
.page.ref-2 .ref-div-37 {
  display: flex;
}

/* .ref-3 — kiválasztott referencia / aloldal */
.page.ref-3 .ref-div-3 {
  width: 230px;
  margin: 0 auto;
}
.page.ref-3 .ref-div-4 {
  border-radius: 34px;
}
.page.ref-3 .ref-div-5 {
  display: none;
}
.page.ref-3 .ref-div-6 {
  display: flex;
}
.page.ref-3 .ref-div-7 {
  aspect-ratio: 9/19.5;
  border-radius: 22px;
}
.page.ref-3 .ref-div-11 {
  display: block;
}
.page.ref-3 .ref-button-4 {
  display: block;
}
.page.ref-3 .ref-button-5 {
  display: block;
}
.page.ref-3 .ref-button-6 {
  display: block;
}
.page.ref-3 .ref-div-14 {
  display: none;
}
.page.ref-3 .ref-button-9 {
  display: block;
}
.page.ref-3 .ref-button-10 {
  display: block;
}
.page.ref-3 .ref-div-15 {
  display: flex;
}
.page.ref-3 .ref-div-38 {
  color: #000000;
}
.page.ref-3 .ref-div-39 {
  font-size: clamp(19px,1.7vw,25px);
}
.page.ref-3 .ref-div-40 {
  display: flex;
}

/* .ref-4 — kiválasztott referencia / aloldal */
.page.ref-4 .ref-div-12 {
  display: block;
}
.page.ref-4 .ref-button-7 {
  display: block;
}
.page.ref-4 .ref-div-18 {
  display: flex;
}
.page.ref-4 .ref-div-24 {
  display: grid;
}
.page.ref-4 .ref-div-41 {
  color: #000000;
}
.page.ref-4 .ref-div-42 {
  font-size: clamp(19px,1.7vw,25px);
}
.page.ref-4 .ref-div-43 {
  display: flex;
}

/* .ref-5 — kiválasztott referencia / aloldal */
.page.ref-5 .ref-div-3 {
  display: none;
}
.page.ref-5 .ref-div-13 {
  display: block;
}
.page.ref-5 .ref-button-8 {
  display: block;
}
.page.ref-5 .ref-div-21 {
  display: grid;
}
.page.ref-5 .ref-div-23 {
  display: grid;
}
.page.ref-5 .ref-div-44 {
  color: #000000;
}
.page.ref-5 .ref-div-45 {
  font-size: clamp(19px,1.7vw,25px);
}
.page.ref-5 .ref-div-46 {
  display: flex;
}

/* .ref0-page-0 — kiválasztott referencia / aloldal */
.page.ref0-page-0 .ref-button-20 {
  background: #000000;
  color: #fff;
}

/* .ref0-page-1 — kiválasztott referencia / aloldal */
.page.ref0-page-1 .ref-button-21 {
  background: #000000;
  color: #fff;
}

/* .ref1-page-0 — kiválasztott referencia / aloldal */
.page.ref1-page-0 .ref-button-12 {
  background: #000000;
  color: #fff;
}

/* .ref1-page-1 — kiválasztott referencia / aloldal */
.page.ref1-page-1 .ref-button-13 {
  background: #000000;
  color: #fff;
}

/* .ref2-page-0 — kiválasztott referencia / aloldal */
.page.ref2-page-0 .ref-button-14 {
  background: #000000;
  color: #fff;
}

/* .ref2-page-1 — kiválasztott referencia / aloldal */
.page.ref2-page-1 .ref-button-15 {
  background: #000000;
  color: #fff;
}

/* .ref4-page-0 — kiválasztott referencia / aloldal */
.page.ref4-page-0 .ref-button-16 {
  background: #000000;
  color: #fff;
}

/* .ref4-page-1 — kiválasztott referencia / aloldal */
.page.ref4-page-1 .ref-button-17 {
  background: #000000;
  color: #fff;
}

/* .ref4-page-2 — kiválasztott referencia / aloldal */
.page.ref4-page-2 .ref-button-18 {
  background: #000000;
  color: #fff;
}

/* .zoom-0 — kiválasztott referencia / aloldal */
.page.zoom-0 .nav-div-5 {
  display: block;
}

/* .zoom-1 — kiválasztott referencia / aloldal */
.page.zoom-1 .nav-div-6 {
  display: block;
}

/* .zoom-2 — kiválasztott referencia / aloldal */
.page.zoom-2 .nav-div-7 {
  display: block;
}

/* .zoom-3 — kiválasztott referencia / aloldal */
.page.zoom-3 .nav-div-8 {
  display: block;
}

/* .zoom-4 — kiválasztott referencia / aloldal */
.page.zoom-4 .nav-div-9 {
  display: block;
}

/* .zoom-5 — kiválasztott referencia / aloldal */
.page.zoom-5 .nav-div-10 {
  display: block;
}

/* .zoom-custom — modál egyedi képpel */
.page.zoom-custom .nav-div-11 {
  display: block;
}

/* .zoom-open — nyitott nagyító modál */
.page.zoom-open .nav-div-3 {
  display: flex;
}



/* A munkalista körkörös sorrendje: a kiválasztott munka kerül elsőnek,
   a fölötte lévők a lista végére csúsznak. A sorrendet a .page állapot-
   osztálya vezérli, a DOM sorrendje változatlan marad. */
/* .ref-0 — a 1. munka az élen */
.page.ref-0 .ref-list > button:nth-child(1) {
  order: 0;
}
.page.ref-0 .ref-list > button:nth-child(2) {
  order: 1;
}
.page.ref-0 .ref-list > button:nth-child(3) {
  order: 2;
}
.page.ref-0 .ref-list > button:nth-child(4) {
  order: 3;
}
.page.ref-0 .ref-list > button:nth-child(5) {
  order: 4;
}
.page.ref-0 .ref-list > button:nth-child(6) {
  order: 5;
}

/* .ref-1 — a 2. munka az élen */
.page.ref-1 .ref-list > button:nth-child(1) {
  order: 5;
}
.page.ref-1 .ref-list > button:nth-child(2) {
  order: 0;
}
.page.ref-1 .ref-list > button:nth-child(3) {
  order: 1;
}
.page.ref-1 .ref-list > button:nth-child(4) {
  order: 2;
}
.page.ref-1 .ref-list > button:nth-child(5) {
  order: 3;
}
.page.ref-1 .ref-list > button:nth-child(6) {
  order: 4;
}

/* .ref-2 — a 3. munka az élen */
.page.ref-2 .ref-list > button:nth-child(1) {
  order: 4;
}
.page.ref-2 .ref-list > button:nth-child(2) {
  order: 5;
}
.page.ref-2 .ref-list > button:nth-child(3) {
  order: 0;
}
.page.ref-2 .ref-list > button:nth-child(4) {
  order: 1;
}
.page.ref-2 .ref-list > button:nth-child(5) {
  order: 2;
}
.page.ref-2 .ref-list > button:nth-child(6) {
  order: 3;
}

/* .ref-3 — a 4. munka az élen */
.page.ref-3 .ref-list > button:nth-child(1) {
  order: 3;
}
.page.ref-3 .ref-list > button:nth-child(2) {
  order: 4;
}
.page.ref-3 .ref-list > button:nth-child(3) {
  order: 5;
}
.page.ref-3 .ref-list > button:nth-child(4) {
  order: 0;
}
.page.ref-3 .ref-list > button:nth-child(5) {
  order: 1;
}
.page.ref-3 .ref-list > button:nth-child(6) {
  order: 2;
}

/* .ref-4 — a 5. munka az élen */
.page.ref-4 .ref-list > button:nth-child(1) {
  order: 2;
}
.page.ref-4 .ref-list > button:nth-child(2) {
  order: 3;
}
.page.ref-4 .ref-list > button:nth-child(3) {
  order: 4;
}
.page.ref-4 .ref-list > button:nth-child(4) {
  order: 5;
}
.page.ref-4 .ref-list > button:nth-child(5) {
  order: 0;
}
.page.ref-4 .ref-list > button:nth-child(6) {
  order: 1;
}

/* .ref-5 — a 6. munka az élen */
.page.ref-5 .ref-list > button:nth-child(1) {
  order: 1;
}
.page.ref-5 .ref-list > button:nth-child(2) {
  order: 2;
}
.page.ref-5 .ref-list > button:nth-child(3) {
  order: 3;
}
.page.ref-5 .ref-list > button:nth-child(4) {
  order: 4;
}
.page.ref-5 .ref-list > button:nth-child(5) {
  order: 5;
}
.page.ref-5 .ref-list > button:nth-child(6) {
  order: 0;
}


/* --- Képek a komponensből --- */

.page .img-fluid {
  width: 100%;
  height: auto;
  display: block;
}

.page .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* 6. Mobil nézet ========================================================== */

/* 1000 px alatt hamburger menü, felette a teljes menüsor. */
@media (max-width: 999px) {

  .page .nav-nav,
  .page .nav-a-3 {
    display: none;
  }

  .page .nav-button {
    display: flex;
  }

}

@media (max-width: 900px) {

  /* A referenciaszekció kétoszlopos rácsa (eszközkeret + munkalista)
     egymás alá kerül. */
  .page .ref-div {
    grid-template-columns: 1fr;
  }

  /* A dátum- és időmező külön sorban, az üzenet dobozzal azonos
     szélességben. Az appearance kikapcsolása azért kell, mert iOS
     Safariban a natív date/time input a saját belső szélességét
     erőlteti, és kilóg a konténerből. */
  .page .contact-field {
    flex: 1 1 100%;
  }

  .page .contact-input-3,
  .page .contact-input-4 {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    text-align: left;
  }

}
