/* ============ CRLAB static stylesheet ============ */
:root {
  --brand: #2f8fb1;
  --brand-dark: #246d88;
  --brand-soft: #cfe4ed;
  --bg: #ffffff;
  --fg: #2a3744;
  --fg-soft: #5b6877;
  --muted: #f5f7f9;
  --muted-2: #eef2f5;
  --border: #e3e7eb;
  --dark: #1b2530;
  --white: #ffffff;
  --maxw: 1400px;
  --display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--fg);
  background: var(--bg);
  letter-spacing: 0.01em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.display { font-family: var(--display); font-style: italic; font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--brand); font-weight: 500; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 2000; background: rgba(255,255,255,0.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.leaflet-pane, .leaflet-top, .leaflet-bottom, .leaflet-control { z-index: 1 !important; }
.leaflet-control-zoom { z-index: 2 !important; }
.site-header__top { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__logo { display: inline-flex; align-items: baseline; gap: 2px; }
.site-header__logo .cr { font-family: var(--display); font-weight: 700; font-size: 28px; color: var(--brand); letter-spacing: -0.01em; }
.site-header__logo .lab { font-size: 28px; font-weight: 300; letter-spacing: 0.18em; color: var(--fg); }
.site-header__tools { display: flex; align-items: center; gap: 14px; color: var(--fg-soft); }
.site-header__tools .lang { display: none; background: var(--muted); padding: 6px 12px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 640px) { .site-header__tools .lang { display: inline-block; } }
.site-header__burger { display: inline-flex; }
@media (min-width: 640px) { .site-header__burger { display: none; } }

.site-nav { display: none; border-top: 1px solid var(--border); }
@media (min-width: 640px) { .site-nav { display: block; } }
.site-nav__list { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; white-space: nowrap; gap: 22px; font-size: 12px; }
@media (min-width: 1100px) { .site-nav__list { gap: 30px; } }
@media (max-width: 860px) and (min-width: 640px) { .site-nav__list { gap: 16px; font-size: 11px; } }
.site-nav__item { position: relative; }
.site-nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 16px 0; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg); transition: color .15s; }
.site-nav__link:hover { color: var(--brand); }
.site-nav__link.is-highlight { font-weight: 600; }
.caret { width: 10px; height: 10px; opacity: 0.6; }

.site-nav__panel {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(0);
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  border-radius: 2px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.16);
  display: none;
  z-index: 60;
  width: max-content;
  min-width: 240px;
  max-width: min(480px, calc(100vw - 32px));
  box-sizing: border-box;
}
.site-nav__item:hover .site-nav__panel,
.site-nav__item.is-open .site-nav__panel { display: block; }
.site-nav__panel-inner { padding: 14px 0; display: block; box-sizing: border-box; }
/* Hide decorative blocks — keep the dropdown clean & link-focused */
.site-nav__feature,
.site-nav__promos { display: none; }
.site-nav__groups { display: block; }
.site-nav__group { display: block; padding: 0; }
.site-nav__group > div { min-width: 0; }
.site-nav__group h4 {
  margin: 0;
  padding: 6px 22px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--fg-soft);
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.site-nav__group ul { list-style: none; padding: 0; margin: 0; }
.site-nav__group li { margin: 0; }
.site-nav__group a {
  display: block;
  padding: 9px 22px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.35;
  transition: background .15s, color .15s, padding-left .15s;
}
.site-nav__group a:hover {
  color: var(--brand);
  background: var(--muted);
  padding-left: 26px;
}
.site-nav__group .desc { display: none; }

/* Promo card styles kept for usage elsewhere (e.g. footer/hero), unchanged visually */
.promo-card { position: relative; width: 200px; height: 220px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; color: #fff; text-align: center; border-radius: 2px; box-sizing: border-box; }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%); }
.promo-card:hover img { transform: scale(1.05); }
.promo-card__inner { position: relative; padding: 18px 14px; max-width: 100%; box-sizing: border-box; }
.promo-card__title { font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.15; margin: 0; }
.promo-card__sub { margin: 4px 0 0; font-size: 11px; font-weight: 300; }
.promo-card__cta { display: inline-block; margin-top: 12px; background: #fff; color: var(--fg); padding: 7px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; }

.mobile-nav { display: none; border-top: 1px solid var(--border); }
.mobile-nav.is-open { display: block; }
@media (min-width: 640px) { .mobile-nav { display: none !important; } }
.mobile-nav ul { padding: 12px 24px; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav li:last-child { border-bottom: 0; }
.mobile-nav__toggle { display: flex; width: 100%; padding: 14px 0; align-items: center; justify-content: space-between; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }
.mobile-nav__sub { display: none; padding: 0 0 14px 16px; }
.mobile-nav__sub.is-open { display: block; }
.mobile-nav__sub a { display: block; padding: 6px 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-soft); }
.mobile-nav__sub h5 { margin: 8px 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; }

/* ============ Hero (home) ============ */
.hero { position: relative; height: 78vh; min-height: 560px; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.45)); z-index: 1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 24px; }
.hero__inner h1 { margin: 0; font-size: clamp(40px, 7vw, 96px); text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.hero__inner p { margin: 24px 0 0; max-width: 720px; font-size: 17px; font-weight: 300; }

/* Hero carousel */
.hero-carousel { padding: 0; }
.hero-carousel .hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 800ms ease; pointer-events: none; }
.hero-carousel .hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-carousel .hero__slide > img,
.hero-carousel .hero__slide > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-carousel .hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.45)); z-index: 1; pointer-events: none; }
.hero-carousel::after { display: none; }
.hero-carousel .hero__inner { position: relative; z-index: 2; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.5); background: rgba(0,0,0,0.25); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: background 200ms ease; }
.hero-nav:hover { background: rgba(0,0,0,0.5); }
.hero-nav--prev { left: 24px; }
.hero-nav--next { right: 24px; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.45); cursor: pointer; padding: 0; transition: background 200ms ease, width 200ms ease; }
.hero-dots button.is-active { background: #fff; width: 28px; border-radius: 999px; }
@media (max-width: 640px) { .hero-nav { width: 38px; height: 38px; } .hero-nav--prev { left: 10px; } .hero-nav--next { right: 10px; } }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section--brand { background: var(--brand); color: #fff; }
.section--muted { background: var(--muted); }
.section--dark { background: var(--dark); color: #fff; }
.section h2 { margin: 0; font-size: clamp(32px, 5vw, 60px); }
.section .lead { max-width: 640px; margin: 32px auto 0; font-size: 17px; font-weight: 300; line-height: 1.7; }
.center { text-align: center; }
.section--brand .eyebrow { color: #fff; opacity: 0.85; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em; border: 1px solid currentColor; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn--solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--solid:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn--outline-dark { color: var(--fg); border-color: var(--fg); }
.btn--outline-dark:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.arrow { display: inline-block; width: 14px; height: 14px; }

/* Solutions cards */
.solutions-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 56px; }
@media (min-width: 640px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .solutions-grid { grid-template-columns: repeat(4, 1fr); } }
.solution-card { position: relative; display: block; overflow: hidden; }
.solution-card__img { aspect-ratio: 3/4; overflow: hidden; }
.solution-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.solution-card:hover .solution-card__img img { transform: scale(1.05); }
.solution-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.15) 50%, transparent); }
.solution-card__body { position: absolute; inset: auto 0 0 0; padding: 24px; color: #fff; z-index: 2; }
.solution-card__body h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 24px; margin: 0; }
.solution-card__body span { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; }
.solution-card:hover .solution-card__body span { color: var(--brand-soft); }

/* Detailed solutions */
.detailed { display: flex; flex-direction: column; gap: 96px; }
.detailed__row { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 768px) { .detailed__row { grid-template-columns: 1fr 1fr; } .detailed__row.reverse > div:first-child { order: 2; } }
.detailed__row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.detailed__row h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(28px, 4vw, 46px); margin: 12px 0 0; text-transform: uppercase; }
.detailed__row p { margin-top: 24px; font-size: 16px; font-weight: 300; color: var(--fg-soft); line-height: 1.7; }

/* Trust cards */
.trust-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 56px; }
.trust-grid .trust-card { flex: 1 1 320px; max-width: 420px; }
.trust-card { border: 1px solid var(--border); background: #fff; padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: box-shadow .2s; }
.trust-card:hover { box-shadow: 0 12px 28px -16px rgba(0,0,0,0.18); }
.trust-card__icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(47,143,177,0.12); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.trust-card h3 { margin: 22px 0 0; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; }
.trust-card p { margin: 14px 0 0; font-size: 14px; color: var(--fg-soft); }
.trust-card a { margin-top: 22px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--brand); }
.trust-card a:hover { text-decoration: underline; }

/* Form */
.form-grid { display: grid; gap: 48px; margin-top: 0; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: block; }
.field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--fg-soft); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea { width: 100%; margin-top: 10px; border: 0; border-bottom: 1px solid var(--border); background: transparent; padding: 12px 0; font: inherit; font-size: 14px; color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brand); }
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form { display: grid; gap: 20px; }

/* ============ Subpage hero ============ */
.subhero { position: relative; height: 420px; overflow: hidden; }
.subhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6)); }
.subhero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 24px 48px; color: #fff; }
.subhero__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.85; margin: 0 0 12px; }
.subhero__title { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(40px, 6vw, 64px); margin: 0; line-height: 1; }
.subhero__intro { margin: 16px 0 0; max-width: 640px; font-size: 16px; font-weight: 300; opacity: 0.9; }
.crumbs { border-bottom: 1px solid var(--border); background: var(--bg); }
.crumbs__inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 24px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--fg-soft); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: 0.5; }
.crumbs .current { color: var(--fg); }

/* ============ Prose / Pillars / Milestones / Team ============ */
.prose { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.prose p { font-size: 16px; line-height: 1.75; color: rgba(42,55,68,0.88); margin: 0 0 24px; }
.prose h2 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(28px, 4vw, 40px); margin: 32px 0 16px; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose ul { font-size: 16px; line-height: 1.75; color: rgba(42,55,68,0.88); margin: 0 0 24px; padding-left: 24px; list-style: disc; }
.prose ul li { margin-bottom: 6px; }

.pillars { background: var(--muted); padding: 72px 0; }
.pillars__grid { display: grid; gap: 40px; grid-template-columns: 1fr; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .pillars__grid { grid-template-columns: repeat(3, 1fr); } }
.pillars__item .bar { display: block; width: 40px; height: 2px; background: var(--brand); margin-bottom: 18px; }
.pillars__item h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 26px; margin: 0 0 12px; }
.pillars__item p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--fg-soft); }

.milestones { background: var(--muted); padding: 72px 0; }
.milestones__inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.milestones ol { position: relative; padding-left: 32px; border-left: 1px solid rgba(47,143,177,0.4); margin: 0; }
.milestones li { position: relative; margin-bottom: 40px; }
.milestones li::before { content: ""; position: absolute; left: -38px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.milestones .year { font-family: var(--display); font-style: italic; font-size: 30px; color: var(--brand); margin: 0; }
.milestones .text { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: rgba(42,55,68,0.85); }

.team { background: var(--muted); padding: 72px 0; }
.team__grid { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .team__grid { grid-template-columns: 1fr 1fr; } }
.team__card { background: #fff; padding: 24px; border-left: 2px solid var(--brand); }
.team__card h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 22px; margin: 0; }
.team__card p { margin: 8px 0 0; font-size: 14px; color: var(--fg-soft); line-height: 1.6; }

.partner-form { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.partner-form h2 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 32px; margin: 0; }
.partner-form .sub { margin: 8px 0 32px; font-size: 14px; color: var(--fg-soft); }
.partner-form form { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .partner-form form { grid-template-columns: 1fr 1fr; } }
.partner-form .full { grid-column: 1 / -1; }
.partner-form input, .partner-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); background: #fff; font: inherit; font-size: 14px; }
.partner-form input:focus, .partner-form textarea:focus { outline: none; border-color: var(--brand); }
.partner-form textarea { min-height: 130px; resize: vertical; }

/* ============ Footer ============ */
.site-footer { background: var(--dark); color: #fff; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px; }
.site-footer__grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand); margin: 0 0 16px; }
.site-footer p, .site-footer li { font-size: 14px; color: rgba(255,255,255,0.7); }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--brand-soft); }
.site-footer__base { margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; display: flex; flex-direction: column; gap: 16px; font-size: 12px; color: rgba(255,255,255,0.5); }
@media (min-width: 768px) { .site-footer__base { flex-direction: row; justify-content: space-between; } }
.site-footer__base .legal { display: flex; gap: 24px; }

/* icons */
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 28px; height: 28px; }

/* solutions carousel */
.solutions-carousel { position: relative; margin-top: 56px; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > .solution-card { scroll-snap-align: start; }
@media (min-width: 640px) { .carousel-track { grid-auto-columns: 45%; gap: 20px; } }
@media (min-width: 1024px) { .carousel-track { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: none; background: #fff; color: #111; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0,0,0,.12); cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.carousel-btn:hover { background: var(--brand, #111); color: #fff; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn--prev { left: -22px; }
.carousel-btn--next { right: -22px; }
.carousel-btn[disabled] { opacity: .35; cursor: default; }
@media (max-width: 639px) { .carousel-btn { display: none; } }

.solutions-grid--three { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .solutions-grid--three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .solutions-grid--three { grid-template-columns: repeat(2, 1fr); } }

/* Időpontfoglalás gomb ideiglenes elrejtése (később vissza lehet kapcsolni) */
a[href*="app.minup.io/book/teszt-vallalkozas"] { display: none !important; }
