/* =========================================================
   Vajda Gyula — Árnyékolástechnika Debrecen
   Editorial-architectural aesthetic
   ========================================================= */

:root {
  --bg: #F2EDE3;
  --bg-2: #EBE5D7;
  --bg-3: #E3DCCB;
  --ink: #191816;
  --ink-2: #2A2A28;
  --ink-3: #4A4843;
  --muted: #6B675F;
  --line: #D9D2C2;
  --line-2: #C7BFAD;
  --paper: #FBF8F2;
  --anthracite: #2A2A28;
  --amber: #C2701C;
  --amber-2: #A85B12;
  --green: #4F6B3A;

  --f-sans: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --f-display: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--anthracite); color: var(--bg); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.no-line::before { display: none; }

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; }
.display { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; }
.display em, em.italic {
  font-style: normal;
}

/* ---------- Top utility bar ---------- */
.topbar { background: var(--ink); color: var(--bg-2); font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--bg); }
.topbar-left { display: flex; gap: 24px; }
.topbar-loc { display: inline-flex; align-items: center; gap: 7px; }
.topbar-loc svg { opacity: .85; }
.topbar-right { display: flex; gap: 20px; align-items: center; color: #C7BFAD; }
.topbar-right .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #6FBF55;
  box-shadow: 0 0 0 0 rgba(111,191,85,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111,191,85,.6); }
  50% { box-shadow: 0 0 0 6px rgba(111,191,85,0); }
}
@media (max-width: 760px) {
  .topbar-left .hide-sm, .topbar-right .hide-sm { display: none; }
}

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 237, 227, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.scrolled { border-bottom-color: var(--line); }
.nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 76px; gap: 32px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.025em;
}
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--ink); color: var(--bg);
  font-family: var(--f-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em;
  border-radius: 2px; position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 6px 5px;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(242,237,227,.18) 3px 4px);
  pointer-events: none;
}
.brand-name { line-height: 1; }
.brand-name small {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin-top: 4px; font-weight: 500;
}
.menu { display: flex; gap: 28px; justify-content: center; font-size: 14.5px; font-weight: 500; }
.menu a { position: relative; padding: 6px 0; color: var(--ink-2); }
.menu a:hover { color: var(--ink); }
.menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.menu a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 2px;
  font-size: 14px; font-weight: 600;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--amber-2); }
.nav-cta .arrow { transition: transform .2s ease; }
.nav-cta:hover .arrow { transform: translateX(3px); }

.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto auto; gap: 16px; }
  .menu { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 2px; background: transparent;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
  .menu-toggle span::before, .menu-toggle span::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink);
    transition: transform .25s ease;
  }
  .menu-toggle span::before { top: -6px; }
  .menu-toggle span::after { top: 6px; }
  .menu-toggle.open span { background: transparent; }
  .menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

  .mobile-menu {
    position: fixed; inset: 76px 0 0 0;
    background: var(--bg);
    transform: translateY(-101%);
    transition: transform .35s cubic-bezier(.7,.1,.2,1);
    z-index: 49;
    padding: 32px var(--pad) 40px;
    display: flex; flex-direction: column; gap: 4px;
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 22px 0; border-bottom: 1px solid var(--line);
    font-family: var(--f-display); font-size: 28px; font-weight: 700; letter-spacing: -0.025em;
  }
  .mobile-menu a small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
  .mobile-cta { margin-top: 28px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 2px;
  font-size: 14.5px; font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--amber-2); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: end; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }

.hero h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(38px, 6.1vw, 90px);
  line-height: 0.94; letter-spacing: -0.04em;
  margin: 0 0 clamp(14px, 2vw, 20px); text-wrap: balance;
}
.hero h1 .it { color: var(--anthracite); }
.hero h1 .amber { color: var(--amber-2); }

.hero-tagline {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.35; letter-spacing: -0.01em;
  color: var(--ink-2); max-width: 34ch;
  margin: 0 0 clamp(28px, 3.5vw, 40px);
}
.hero-tagline .amber { color: var(--amber-2); }

.hero-lede { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; color: var(--ink-3); max-width: 48ch; margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-rule {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.hero-rule > div { padding: 28px 28px 28px 0; border-right: 1px solid var(--line-2); min-width: 0; }
.hero-rule > div + div { padding-left: 28px; }
.hero-rule > div:last-child { border-right: 0; padding-right: 0; }
.hero-rule .lbl { line-height: 1.5; }
.hero-rule .num { font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.045em; margin-bottom: 14px; white-space: nowrap; }
.hero-rule .num small { white-space: nowrap; }
.hero-rule .num small { font-size: 18px; color: var(--amber-2); margin-left: 4px; vertical-align: super; }
.hero-rule .lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) {
  .hero-rule { grid-template-columns: repeat(2, 1fr); }
  .hero-rule > div:nth-child(2) { border-right: 0; }
  .hero-rule > div:nth-child(1), .hero-rule > div:nth-child(2) { border-bottom: 1px solid var(--line-2); }
}

.hero-visual { position: relative; aspect-ratio: 3 / 4; background: var(--anthracite); border-radius: 2px; overflow: hidden; }
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(194,112,28,.18) 0%, transparent 35%, transparent 70%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
}
.hero-visual .stamp {
  position: absolute; left: 24px; top: 24px; right: 24px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(242,237,227,.7); z-index: 2;
}
.hero-visual .badge-tape {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: var(--bg); color: var(--ink);
  padding: 18px 22px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  z-index: 2;
}
.hero-visual .badge-tape .num { font-family: var(--f-display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -0.04em; color: var(--anthracite); }
.hero-visual .badge-tape .txt { font-size: 12px; line-height: 1.4; color: var(--ink-3); }
.hero-visual .badge-tape .txt strong { display:block; color: var(--ink); font-size: 13.5px; margin-bottom: 2px; }
.hero-visual .badge-tape .ico {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--amber-2);
}

.hero-marquee {
  margin-top: 64px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; overflow: hidden; position: relative;
}
.hero-marquee::before, .hero-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.hero-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.hero-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex; gap: 56px; align-items: center;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: -0.015em; color: var(--ink-3);
}
.marquee-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); display: inline-block; }
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
@keyframes marquee {
  from { transform: translateX(0); } to { transform: translateX(-50%); }
}

/* ---------- Section base ---------- */
section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px;
  margin-bottom: clamp(40px, 6vw, 72px); align-items: end;
}
.section-head h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
.section-head h2 em { font-style: normal; color: var(--amber-2); font-weight: 800; }
.section-head p { font-size: 16px; color: var(--ink-3); max-width: 60ch; margin: 0; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Services ---------- */
.services { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
}
@media (max-width: 880px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }
.service {
  background: var(--bg-2);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  min-height: 320px; position: relative;
  transition: background .25s ease, color .25s ease;
  overflow: visible;
}
[data-service] { cursor: pointer; }
.service:hover { background: var(--ink); color: var(--bg); }
.service:hover .service-num,
.service:hover .service-meta,
.service:hover .service-cta { color: var(--bg-3); }
.service:hover .service-cta { border-top-color: rgba(242,237,227,.2); }
.service-num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); transition: color .25s ease; }
.service h3 { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -0.025em; margin: 22px 0 10px; line-height: 1.15; }
.service p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); transition: color .25s ease; }
.service:hover p { color: rgba(242,237,227,.78); }
.service-meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-top: auto; }
.service-cta {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); transition: all .25s ease;
}
.service-cta .arrow { transition: transform .2s ease; }
.service:hover .service-cta .arrow { transform: translateX(4px); }

/* ---------- Service expandable panel (hover on desktop, tap on mobile) ---------- */
.service-panel {
  position: absolute; top: -1px; left: -1px; right: -1px;
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
  padding: 26px 26px 30px;
  display: flex; flex-direction: column; gap: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
  z-index: 4;
  box-shadow: 0 34px 64px -26px rgba(16,15,14,.55);
}
[data-service]:hover, .service.is-open { z-index: 6; }
@media (hover: hover) and (pointer: fine) {
  [data-service]:hover .service-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
}
.service.is-open .service-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

.service-shot {
  position: relative; z-index: 0;
  margin: -34px -30px 0;
  height: 172px;
  background: var(--ink-2); overflow: hidden;
}
.service-shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: -1;
}
.service-shot::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(194,112,28,.24), transparent 62%);
}
.service-shot.cool::before {
  background: linear-gradient(180deg, rgba(120,140,160,.20), transparent 72%);
}
.service-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16,15,14,.4) 100%);
  pointer-events: none;
}
.service-panel-body h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 20px;
  letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 14px; color: var(--bg);
}
.service-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.service-points li {
  position: relative; padding-left: 22px;
  font-size: 13.5px; line-height: 1.45; color: rgba(242,237,227,.82);
}
.service-points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 11px; height: 1px; background: var(--amber);
}

/* CTA tile that closes the 3×3 grid */
.service-cta-card { background: var(--ink); color: var(--bg); justify-content: space-between; }
.service-cta-card:hover { background: var(--amber-2); color: var(--bg); }
.service-cta-card .service-num { color: rgba(242,237,227,.6); }
.service-cta-card h3 { margin-top: 28px; color: var(--bg); }
.service-cta-card p { color: rgba(242,237,227,.82); }
.service-cta-card:hover p { color: rgba(242,237,227,.92); }
.service-cta-card .service-cta { color: var(--bg); border-top-color: rgba(242,237,227,.25); margin-top: auto; }
.service-cta-card:hover .service-cta .arrow { transform: translateX(4px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-portrait { position: relative; aspect-ratio: 4 / 5; background: var(--ink-2); overflow: hidden; }
.about-portrait .stripes {
  position: absolute; inset: 0;
}
.about-portrait .label {
  position: absolute; left: 22px; top: 22px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(242,237,227,.7);
}
.about-portrait .caption {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--bg);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
}
.about-portrait .caption strong {
  display: block; font-family: var(--f-display); font-weight: 700;
  font-size: 20px; letter-spacing: -0.025em; margin-bottom: 4px; text-transform: none;
}
.about-portrait .since { font-family: var(--f-display); font-weight: 800; font-size: 60px; line-height: 1; letter-spacing: -0.045em; }

.about-body h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.02; letter-spacing: -0.035em;
  margin-bottom: 28px; text-wrap: balance;
}
.about-body h2 em { font-style: normal; color: var(--amber-2); font-weight: 800; }
.about-body p { font-size: 16px; line-height: 1.7; color: var(--ink-3); margin: 0 0 20px; max-width: 60ch; }
.about-body p strong { color: var(--ink); font-weight: 600; }

.about-credentials {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
}
.about-credentials > div { background: var(--bg); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.about-credentials .ico { color: var(--amber-2); flex-shrink: 0; margin-top: 2px; }
.about-credentials strong { display: block; font-size: 14px; margin-bottom: 2px; }
.about-credentials small { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.about-signature {
  margin-top: 32px; display: flex; align-items: center; gap: 18px;
  font-family: var(--f-display); font-weight: 700; font-size: 28px; letter-spacing: -0.035em; color: var(--ink);
}
.about-signature small {
  font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); display:block; margin-top: 4px;
}

/* ---------- Reference / Portfolio ---------- */
.refs { background: var(--ink); color: var(--bg-2); }
.refs .section-head h2 { color: var(--bg); }
.refs .section-head p { color: rgba(242,237,227,.7); }
.refs .eyebrow { color: rgba(242,237,227,.7); }

.refs-controls { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.ref-chip {
  padding: 9px 16px; border-radius: 99px;
  border: 1px solid rgba(242,237,227,.2);
  font-size: 12.5px; font-weight: 500;
  color: var(--bg-2);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ref-chip:hover { border-color: var(--bg-2); }
.ref-chip.active { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.refs-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.ref-card {
  background: var(--ink-2); position: relative; overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(242,237,227,.07);
  transition: border-color .2s ease;
}
.ref-card:hover { border-color: rgba(242,237,227,.25); }
.ref-card .img {
  position: absolute; inset: 0;
}
.ref-card .img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.ref-card:hover .img img { transform: scale(1.045); }
.ref-card .img::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16,15,14,.28) 0%, transparent 24%, transparent 50%, rgba(16,15,14,.78) 100%);
}
.ref-card .stamp {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(242,237,227,.6); z-index: 1;
}
.ref-card .meta {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: end; z-index: 1;
}
.ref-card .meta strong {
  display: block; color: var(--bg);
  font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.15;
  letter-spacing: -0.025em; margin-bottom: 4px;
}
.ref-card .meta small { font-family: var(--f-mono); font-size: 11px; color: rgba(242,237,227,.7); letter-spacing: 0.06em; }
.ref-card .meta .pill {
  padding: 4px 10px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--bg);
}
.ref-card.x-6 { grid-column: span 6; aspect-ratio: 4/3; }
.ref-card.x-4 { grid-column: span 4; aspect-ratio: 3/4; }
.ref-card.x-4-l { grid-column: span 4; aspect-ratio: 4/3; }
.ref-card.x-3 { grid-column: span 3; aspect-ratio: 1/1; }
.ref-card.x-5 { grid-column: span 5; aspect-ratio: auto; align-self: stretch; min-height: 260px; }
.ref-card.x-7 { grid-column: span 7; aspect-ratio: 16/10; }
.ref-card.x-8 { grid-column: span 8; aspect-ratio: 16/9; }
/* Fills the row height set by a taller neighbour (e.g. the portrait card) */
.ref-card.ref-fill { aspect-ratio: auto; align-self: stretch; }
@media (max-width: 900px) {
  .ref-card.x-6, .ref-card.x-4, .ref-card.x-4-l, .ref-card.x-3, .ref-card.x-5, .ref-card.x-7, .ref-card.x-8 { grid-column: span 12; aspect-ratio: 4/3; }
  .ref-card.ref-fill { aspect-ratio: 16/10; }
}

.refs-foot {
  margin-top: 36px; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: rgba(242,237,227,.7);
}
.refs-foot .btn-secondary { color: var(--bg); border-color: var(--bg); }
.refs-foot .btn-secondary:hover { background: var(--bg); color: var(--ink); }

/* ---------- B2B ---------- */
.b2b { background: var(--bg-3); border-bottom: 1px solid var(--line-2); }
.b2b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .b2b-grid { grid-template-columns: 1fr; } }
.b2b h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.0; letter-spacing: -0.035em; margin-bottom: 24px; text-wrap: balance;
}
.b2b h2 em { font-style: normal; color: var(--amber-2); font-weight: 800; }
.b2b-lede { font-size: 17px; line-height: 1.6; color: var(--ink-3); max-width: 56ch; }

.b2b-perks { display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.b2b-perk { background: var(--bg); padding: 22px 24px; display: grid; grid-template-columns: 38px 1fr auto; gap: 18px; align-items: center; }
.b2b-perk .ico { color: var(--amber-2); }
.b2b-perk strong { font-size: 15.5px; display: block; margin-bottom: 4px; }
.b2b-perk small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.b2b-perk .arrow { color: var(--ink-3); }

.partners { margin-top: 56px; border-top: 1px solid var(--line-2); padding-top: 32px; }
.partners-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.partners-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2);
}
.partners-row > div {
  background: var(--bg-3); height: 96px;
  display: grid; place-items: center;
  padding: 20px 24px;
}
.partner-logo {
  width: auto; height: auto; object-fit: contain;
  filter: grayscale(1) brightness(.42) contrast(1.05);
  opacity: .72; transition: opacity .2s ease, filter .2s ease;
}
.partner-logo[alt="HELLA"]   { max-height: 60px; max-width: 84%; }
.partner-logo[alt="Aluprof"] { max-height: 40px; max-width: 72%; }
.partner-logo[alt="Somfy"]   { max-height: 52px; max-width: 76%; }
.partners-row > div:hover .partner-logo { opacity: 1; filter: grayscale(1) brightness(.3) contrast(1.05); }
@media (max-width: 460px) { .partner-logo { max-height: 38px; } }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-list { grid-template-columns: 1fr; } }
.process-step { background: var(--bg); padding: 28px 24px; min-height: 220px; display: flex; flex-direction: column; }
.process-step .num {
  font-family: var(--f-display); font-weight: 800; font-size: 36px; line-height: 1;
  letter-spacing: -0.045em;
  color: var(--amber-2); margin-bottom: 18px;
}
.process-step h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.process-step p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.process-step .day {
  margin-top: auto; padding-top: 18px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase;
}

/* ---------- Testimonials ---------- */
.tlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .tlist { grid-template-columns: 1fr; } }
.tcard { background: var(--paper); border: 1px solid var(--line); padding: 32px 28px 26px; display: flex; flex-direction: column; }
.tcard .quote-mark {
  font-family: var(--f-display); font-weight: 800; font-size: 56px; line-height: 0.8;
  color: var(--amber); margin-bottom: 12px; letter-spacing: -0.04em;
}
.tcard blockquote {
  margin: 0 0 24px;
  font-family: var(--f-display); font-weight: 500;
  font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink);
}
.tcard .author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.tcard .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: -0.02em;
}
.tcard .author strong { display: block; font-size: 13.5px; }
.tcard .author small { display: block; font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; margin-top: 2px; }
.tcard .stars { margin-bottom: 14px; color: var(--amber); letter-spacing: 4px; font-size: 14px; }

.review-strip {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-2); border: 1px solid var(--line-2);
}
@media (max-width: 760px) { .review-strip { grid-template-columns: repeat(2, 1fr); } }
.review-strip > div { background: var(--bg); padding: 20px 24px; display: flex; align-items: center; gap: 14px; }
.review-strip strong { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -0.035em; }
.review-strip strong small { color: var(--muted); font-size: 13px; font-family: var(--f-mono); font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.review-strip .lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Service area ---------- */
.area { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.area-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }
.area-map { aspect-ratio: 5/4; background: var(--ink); position: relative; overflow: hidden; }
.area-map .grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(0deg, rgba(242,237,227,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242,237,227,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.area-map .pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--amber); border: 2px solid var(--bg);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(194,112,28,.15);
}
.area-map .pin.main {
  width: 20px; height: 20px;
  box-shadow: 0 0 0 0 rgba(194,112,28,.6);
  animation: pulse 2.4s infinite;
}
.area-map .pin.small { width: 7px; height: 7px; background: rgba(194,112,28,.55); border-width: 1px; box-shadow: none; }
.area-map .pin-label {
  position: absolute; transform: translate(-50%, -150%);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bg); white-space: nowrap;
  background: var(--ink); padding: 4px 8px; border: 1px solid rgba(242,237,227,.2);
}
.area-map .pin-label.main { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.area-map .legend {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(242,237,227,.6);
}
.area-map .compass {
  position: absolute; right: 16px; top: 16px;
  font-family: var(--f-mono); font-weight: 400;
  color: rgba(242,237,227,.4);
  text-align: center; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.area-map .compass strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }

.area-list h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 20px; text-wrap: balance;
}
.area-list h2 em { font-style: normal; color: var(--amber-2); font-weight: 800; }
.area-list p { color: var(--ink-3); margin: 0 0 28px; max-width: 56ch; }
.area-cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 14px; border-top: 1px solid var(--line-2); padding-top: 18px; }
@media (max-width: 540px) { .area-cities { grid-template-columns: repeat(2, 1fr); } }
.area-cities span {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 14px;
}
.area-cities span small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.04; letter-spacing: -0.03em;
  margin-top: 12px; text-wrap: balance;
}
.faq-title em { color: var(--amber-2); font-style: normal; }
.faq-intro { margin-top: 20px; color: var(--ink-3); }
.faq-intro a { border-bottom: 1px solid currentColor; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.85vw, 23px);
  line-height: 1.25; letter-spacing: -0.025em;
  color: var(--ink); text-align: left;
}
.faq-q:hover { color: var(--amber-2); }
.faq-q .ico {
  flex-shrink: 0; width: 32px; height: 32px;
  border: 1px solid var(--line-2); border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .3s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 56px 24px 0; color: var(--ink-3); font-size: 15.5px; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--bg-2); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; right: -10%; top: -20%;
  width: 60%; aspect-ratio: 1;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 22px, rgba(0,0,0,0.5) 22px 24px);
  border-radius: 50%; opacity: .35; pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; position: relative; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 28px;
  color: var(--bg); text-wrap: balance;
}
.contact h2 em { font-style: normal; color: var(--amber); font-weight: 800; }
.contact-lede { color: rgba(242,237,227,.7); font-size: 17px; line-height: 1.6; max-width: 50ch; margin: 0 0 44px; }
.contact .eyebrow { margin-bottom: 24px; }

/* Contact info — redesigned 2×2 grid */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(242,237,227,.1);
  border: 1px solid rgba(242,237,227,.1);
  margin-top: 0;
}
@media (max-width: 540px) { .contact-info { grid-template-columns: 1fr; } }

.ci-item {
  background: rgba(20,19,17,.55);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
  transition: background .25s ease;
}
.ci-item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--amber), rgba(194,112,28,0));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.ci-item:hover { background: rgba(38,36,32,.7); }
.ci-item:hover::before { transform: scaleX(1); }

.ci-top {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(242,237,227,.35);
  margin-bottom: 4px;
}
.ci-ico { color: var(--amber); flex-shrink: 0; transition: transform .2s ease; }
.ci-item:hover .ci-ico { transform: scale(1.12); }

.ci-main {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -0.025em;
  color: var(--bg); line-height: 1.2;
  transition: color .25s ease;
}
.ci-item.ci-primary { grid-column: 1 / -1; }
.ci-item.ci-primary .ci-main {
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.035em;
}
.ci-item:hover .ci-main { color: var(--amber); }

.ci-sub {
  font-family: var(--f-mono); font-size: 10.5px;
  color: rgba(242,237,227,.4); letter-spacing: 0.05em; line-height: 1.55;
  margin-top: 2px;
}


.cform { background: var(--bg); color: var(--ink); padding: clamp(32px, 4.5vw, 56px); display: grid; gap: 24px; }
.cform-fields { display: grid; gap: 24px; }
.cform-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cform-head h3 { font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.cform-head small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }

.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 540px) { .cform-row { grid-template-columns: 1fr; } }
.cf { position: relative; }
.cf label {
  display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.cf input, .cf textarea, .cf select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-2);
  background: transparent; padding: 12px 0 14px;
  font: inherit; font-size: 15.5px; color: var(--ink);
  border-radius: 0; appearance: none;
}
.cf textarea { padding-top: 14px; }
.cf select {
  padding-right: 24px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-position: calc(100% - 12px) center, calc(100% - 7px) center;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.cf textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.cf input:focus, .cf textarea:focus, .cf select:focus { outline: none; border-bottom-color: var(--ink); }
.cf .err { display: none; font-family: var(--f-mono); font-size: 10.5px; color: #B23A2E; margin-top: 6px; }
.cf.error .err { display: block; }
.cf.error input, .cf.error textarea, .cf.error select { border-bottom-color: #B23A2E; }

.cf-radio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf-radio label {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2);
  padding: 12px 14px;
  font-family: var(--f-sans); font-size: 13.5px;
  color: var(--ink-2); text-transform: none;
  margin: 0;
  transition: border-color .2s ease, background .2s ease;
}
.cf-radio label:hover { border-color: var(--ink); }
.cf-radio input {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; padding: 0; box-sizing: border-box;
  border: 1.5px solid var(--ink-3); border-radius: 50%;
  margin: 0; flex-shrink: 0; position: relative;
  background: transparent;
}
.cf-radio input:checked { border-color: var(--ink); }
.cf-radio input:checked::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); }
.cf-radio label:has(input:checked) { border-color: var(--ink); background: var(--bg-3); }

.cform-submit { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.cform-submit small { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); max-width: 38ch; line-height: 1.5; }

.cform-success { display: none; text-align: center; padding: 36px 8px; }
.cform-success.show { display: block; }
.cform-success .ico {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--green); color: var(--bg);
  display: grid; place-items: center;
}
.cform-success h3 { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -0.025em; margin-bottom: 8px; }
.cform-success p { color: var(--ink-3); font-size: 15px; margin: 0; }
.cform.sent .cform-fields { display: none; }

/* ---------- Footer ---------- */
.foot { background: #100F0E; color: rgba(242,237,227,.7); padding: 80px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot .brand { color: var(--bg); font-size: 26px; margin-bottom: 18px; }
.foot p { font-size: 14px; line-height: 1.6; max-width: 38ch; }
.foot h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bg-3); margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.foot ul a:hover { color: var(--bg); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(242,237,227,.1);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em;
  color: rgba(242,237,227,.5);
}
.foot-bottom a:hover { color: var(--bg); }
.foot-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Floating CTA (mobile) ---------- */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: none;
  background: var(--ink); color: var(--bg);
  width: 56px; height: 56px; border-radius: 50%;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  transition: background .2s ease;
}
.float-cta:hover { background: var(--amber-2); }
@media (max-width: 720px) { .float-cta { display: inline-grid; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(16,15,14,.92); display: none; align-items: center; justify-content: center; padding: 32px; }
.lightbox.open { display: flex; }
.lightbox-card { background: var(--ink-2); width: min(900px, 100%); aspect-ratio: 16/10; position: relative; overflow: hidden; }
.lightbox-card .img {
  position: absolute; inset: 0;
}
.lightbox-card .img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.lightbox-card .img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(16,15,14,.35) 0%, transparent 20%, transparent 62%, rgba(16,15,14,.72) 100%);
}
.lightbox-card .stamp {
  position: absolute; top: 18px; left: 18px; right: 18px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(242,237,227,.7);
}
.lightbox-card .meta { position: absolute; left: 22px; bottom: 22px; right: 22px; color: var(--bg); }
.lightbox-card .meta strong {
  display: block; font-family: var(--f-display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.lightbox-card .meta small { font-family: var(--f-mono); font-size: 12px; color: rgba(242,237,227,.7); }
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(242,237,227,.3);
  border-radius: 50%; color: var(--bg);
  display: grid; place-items: center;
}
.lightbox-close:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(242,237,227,.3); color: var(--bg);
  display: grid; place-items: center;
}
.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }
.lightbox-nav:hover { background: var(--bg); color: var(--ink); }
@media (max-width: 720px) {
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .lightbox-card { aspect-ratio: 4/5; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .area-map .pin.main, .topbar-right .live-dot { animation: none; }
}

/* =========================================================
   MOBILE — Editorial refinements (≤ 720px)
   Goal: state-of-the-art mobile layout — readable type,
   thumb-friendly tap targets, deliberate spacing, safe-area
   handling, iOS form-zoom prevention, polished nav.
   ========================================================= */
@media (max-width: 720px) {

  /* === Foundation === */
  html, body { -webkit-tap-highlight-color: transparent; }
  body { font-size: 15.5px; line-height: 1.55; }
  :root { --pad: 22px; --maxw: 100%; }
  section { padding: 64px 0; }
  a, button { -webkit-tap-highlight-color: transparent; }

  /* === Top utility bar — hidden on mobile (phone is on floating CTA) === */
  .topbar { display: none; }

  /* === Header — FIXED, SOLID, ALWAYS VISIBLE on mobile === */
  .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 60;
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top);
  }
  .header.scrolled { border-bottom-color: var(--line-2); }
  /* Push hero down so it doesn't hide under fixed header */
  main { padding-top: 64px; }

  .nav {
    height: 64px;
    gap: 12px;
    grid-template-columns: 1fr auto;  /* brand | hamburger (no CTA, no menu) */
  }
  .brand {
    font-size: 17px;
    gap: 10px;
    font-weight: 700;
    color: var(--ink);
  }
  .brand-mark {
    width: 36px; height: 36px;
    font-size: 16px;
    border-radius: 2px;
  }
  .brand-mark::after { inset: 5px 4px; }
  .brand-name { line-height: 1.05; }
  .brand-name small { display: none; }

  /* Hide CTA on mobile — floating call button covers this need */
  .nav-cta { display: none; }

  /* === HAMBURGER — big, obvious, clearly tappable === */
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--ink);
    border-radius: 4px;
    background: var(--bg);
    color: var(--ink);
    transition: background .2s ease, color .2s ease;
  }
  .menu-toggle:active,
  .menu-toggle.open {
    background: var(--ink);
    color: var(--bg);
  }
  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
    border-radius: 1px;
    transition: background .2s ease;
  }
  .menu-toggle span::before,
  .menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .25s ease, top .25s ease;
  }
  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after  { top:  7px; }
  .menu-toggle.open span { background: transparent; }
  .menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

  /* === Mobile menu — full coverage below fixed header === */
  .mobile-menu {
    position: fixed;
    inset: auto;
    top: calc(64px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 55;
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.7,.1,.2,1);
    padding: 8px var(--pad) calc(40px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-menu.open { transform: translateY(0); }

  .mobile-menu a:not(.mobile-cta) {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
  }
  .mobile-menu a:not(.mobile-cta) small {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    color: var(--muted);
    font-weight: 500;
  }

  /* Phone shortcut inside menu (above CTA) */
  .mobile-menu::after {
    content: "☎ +36 30 555 0192 · H–P 07–18";
    display: block;
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--bg-3);
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    text-align: center;
    border-radius: 2px;
  }

  /* Mobile menu CTA — premium primary action (higher specificity to beat .mobile-menu a) */
  .mobile-menu a.mobile-cta {
    margin-top: 14px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 22px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 15.5px;
    letter-spacing: -0.005em;
    border: 0;
    border-radius: 2px;
    transition: background .2s ease;
  }
  .mobile-menu a.mobile-cta:hover,
  .mobile-menu a.mobile-cta:active { background: var(--amber-2); color: var(--bg); }
  .mobile-menu a.mobile-cta .arrow {
    color: var(--bg);
    font-size: 17px;
    line-height: 1;
    transition: transform .2s ease;
  }
  .mobile-menu a.mobile-cta:hover .arrow { transform: translateX(3px); }

  /* === Hero === */
  .hero { padding: 36px 0 56px; }
  .hero-grid { gap: 32px; }
  .hero-meta {
    gap: 10px 18px;
    font-size: 10.5px;
    margin-bottom: 22px;
    letter-spacing: 0.08em;
  }
  .hero-meta span { gap: 7px; }
  .hero h1 {
    font-size: clamp(34px, 8.8vw, 48px);
    line-height: 0.97;
    letter-spacing: -0.035em;
    margin: 0 0 24px;
  }
  .hero-lede {
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0 0 26px;
    max-width: none;
  }
  .hero-ctas {
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    justify-content: center;
    padding: 15px 18px;
    font-size: 14.5px;
  }

  .hero-rule {
    margin-top: 36px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-rule > div,
  .hero-rule > div + div {
    padding: 22px 0 22px 14px;
    border-right: 1px solid var(--line-2);
  }
  .hero-rule > div:nth-child(odd) { padding-left: 0; padding-right: 14px; }
  .hero-rule > div:nth-child(even) { border-right: 0; padding-right: 0; padding-left: 14px; }
  .hero-rule > div:nth-child(1),
  .hero-rule > div:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .hero-rule > div:last-child { padding-right: 0; }
  .hero-rule .num { font-size: 32px; margin-bottom: 8px; letter-spacing: -0.04em; }
  .hero-rule .num small { font-size: 14px; }
  .hero-rule .lbl { font-size: 10px; letter-spacing: 0.1em; }

  .hero-visual { aspect-ratio: 4/5; }
  .hero-visual .stamp { top: 16px; left: 16px; right: 16px; font-size: 10px; }
  .hero-visual .badge-tape {
    left: 14px; right: 14px; bottom: 14px;
    padding: 14px 14px;
    gap: 12px;
  }
  .hero-visual .badge-tape .num { font-size: 30px; }
  .hero-visual .badge-tape .txt { font-size: 11px; line-height: 1.35; }
  .hero-visual .badge-tape .txt strong { font-size: 12px; }
  .hero-visual .badge-tape .ico { width: 30px; height: 30px; }
  .hero-visual .badge-tape .ico svg { width: 15px; height: 15px; }

  .hero-marquee { margin-top: 36px; padding: 13px 0; }
  .hero-marquee::before, .hero-marquee::after { width: 40px; }
  .marquee-track { font-size: 16px; gap: 32px; }
  .marquee-track span { gap: 32px; }

  /* === Section heads === */
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }
  .section-head h2 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .section-head p { font-size: 14.5px; line-height: 1.6; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }

  /* === Services === */
  .services-grid { grid-template-columns: 1fr; }
  .service {
    padding: 26px 22px 22px;
    min-height: 0;
  }
  .service h3 { font-size: 20px; margin: 14px 0 8px; line-height: 1.2; }
  .service p { font-size: 14px; margin-bottom: 14px; line-height: 1.5; }
  .service-shot { margin: -26px -22px 0; height: 148px; }
  .service-num { font-size: 10px; }
  .service-meta { font-size: 10px; letter-spacing: 0.1em; }
  .service-cta { padding-top: 14px; margin-top: 14px; font-size: 10.5px; }

  /* === About === */
  .about-grid { gap: 36px; }
  .about-portrait {
    aspect-ratio: 4/5;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .about-portrait .since { font-size: 42px; }
  .about-portrait .caption { left: 18px; right: 18px; bottom: 18px; }
  .about-portrait .caption strong { font-size: 17px; }
  .about-portrait .label { left: 18px; top: 18px; font-size: 9.5px; }

  .about-body h2 {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 20px;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .about-body p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 16px;
    max-width: none;
  }
  .about-credentials {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .about-credentials > div { padding: 16px 18px; }
  .about-credentials strong { font-size: 13.5px; }
  .about-credentials small { font-size: 10.5px; }

  /* === Refs (filter chips scroll horizontally) === */
  .refs-controls {
    gap: 6px;
    margin: 0 calc(var(--pad) * -1) 22px;
    padding: 2px var(--pad) 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .refs-controls::-webkit-scrollbar { display: none; }
  .ref-chip {
    padding: 8px 14px;
    font-size: 12px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .refs-grid { gap: 10px; grid-template-columns: 1fr; }
  .ref-card.x-6, .ref-card.x-4, .ref-card.x-3,
  .ref-card.x-5, .ref-card.x-7, .ref-card.x-8 {
    grid-column: 1 / -1;
    aspect-ratio: 4/3;
    min-height: 0;
  }
  .ref-card .stamp { top: 12px; left: 14px; right: 14px; font-size: 9.5px; }
  .ref-card .meta { left: 14px; right: 14px; bottom: 14px; }
  .ref-card .meta strong { font-size: 17px; }
  .ref-card .meta small { font-size: 10px; }
  .ref-card .meta .pill { font-size: 9.5px; padding: 3px 8px; }

  .refs-foot {
    margin-top: 28px;
    font-size: 11px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .refs-foot .btn { width: 100%; justify-content: center; }

  /* === B2B === */
  .b2b-grid { gap: 36px; }
  .b2b h2 {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 18px;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .b2b-lede { font-size: 15px; line-height: 1.65; }
  .b2b-perk {
    padding: 18px 18px;
    gap: 14px;
    grid-template-columns: 28px 1fr auto;
  }
  .b2b-perk .ico svg { width: 20px; height: 20px; }
  .b2b-perk strong { font-size: 14.5px; }
  .b2b-perk small { font-size: 10.5px; }

  .partners { margin-top: 40px; padding-top: 26px; }
  .partners-row { grid-template-columns: repeat(3, 1fr); }
  .partners-row > div { height: 76px; padding: 16px; }

  /* === Process === */
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-step { padding: 22px 18px; min-height: 0; }
  .process-step .num { font-size: 28px; margin-bottom: 14px; }
  .process-step h4 { font-size: 14.5px; margin-bottom: 6px; }
  .process-step p { font-size: 13px; line-height: 1.5; }
  .process-step .day { padding-top: 14px; font-size: 9.5px; }

  /* === Testimonials === */
  .tlist { gap: 12px; }
  .tcard { padding: 24px 22px 20px; }
  .tcard blockquote { font-size: 15.5px; line-height: 1.5; margin-bottom: 18px; }
  .tcard .quote-mark { font-size: 44px; margin-bottom: 6px; }
  .tcard .author { padding-top: 16px; }
  .tcard .author strong { font-size: 13px; }
  .tcard .author small { font-size: 10px; }
  .tcard .stars { font-size: 13px; letter-spacing: 3px; }

  .review-strip {
    margin-top: 36px;
    grid-template-columns: 1fr 1fr;
  }
  .review-strip > div { padding: 16px 16px; gap: 10px; }
  .review-strip strong { font-size: 22px; }
  .review-strip strong small { font-size: 11px; margin-left: 2px; }
  .review-strip .lbl { font-size: 9.5px; letter-spacing: 0.1em; }

  /* === Area === */
  .area-grid { gap: 36px; }
  .area-map { aspect-ratio: 4/3; }
  .area-map .legend {
    font-size: 9px;
    left: 14px; bottom: 14px;
    max-width: calc(100% - 28px);
    line-height: 1.4;
  }
  .area-map .compass { right: 14px; top: 14px; font-size: 9px; }
  .area-map .compass strong { font-size: 18px; }
  .area-map .pin-label.main { font-size: 9.5px; padding: 3px 7px; }
  .area-map .pin-label:not(.main) { display: none; }

  .area-list h2 {
    font-size: clamp(28px, 7.5vw, 38px);
    margin-bottom: 16px;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }
  .area-list p { font-size: 15px; max-width: none; }
  .area-cities {
    grid-template-columns: 1fr 1fr;
    gap: 4px 14px;
    padding-top: 14px;
  }
  .area-cities span { font-size: 13.5px; padding: 7px 0; }
  .area-cities span small { font-size: 10px; }

  /* === FAQ === */
  .faq-grid { gap: 28px; grid-template-columns: 1fr; }
  .faq-title { font-size: clamp(30px, 8vw, 40px); line-height: 1.05; }
  .faq-intro { font-size: 14.5px; }
  .faq-q {
    padding: 18px 0;
    font-size: 16px;
    gap: 14px;
    line-height: 1.3;
  }
  .faq-q .ico { width: 28px; height: 28px; }
  .faq-q .ico svg { width: 12px; height: 12px; }
  .faq-a-inner { padding: 0 0 20px 0; font-size: 14.5px; line-height: 1.65; }

  /* === Contact === */
  .contact h2 {
    font-size: clamp(34px, 9vw, 46px);
    margin-bottom: 22px;
    line-height: 1.05;
  }
  .contact-lede {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: none;
  }
  .contact-info { grid-template-columns: 1fr; margin-top: 0; }
  .ci-item { padding: 22px 22px 20px; }
  .ci-main { font-size: 17px; }
  .ci-item.ci-primary .ci-main { font-size: 24px; letter-spacing: -0.025em; }
  .ci-sub { font-size: 10px; }
  .ci-top { font-size: 9.5px; }

  .cform { padding: 26px 22px; gap: 20px; }
  .cform-fields { gap: 20px; }
  .cform-row { grid-template-columns: 1fr; gap: 20px; }
  .cform-head { padding-bottom: 14px; }
  .cform-head h3 { font-size: 20px; }
  .cform-head small { font-size: 9.5px; }
  .cf label { font-size: 10px; }
  /* Prevent iOS auto-zoom on focus (any input < 16px triggers zoom) */
  .cf input, .cf textarea, .cf select { font-size: 16px; padding: 12px 0 14px; }
  .cf-radio { grid-template-columns: 1fr 1fr; gap: 6px; }
  .cf-radio label { padding: 12px 12px; font-size: 13px; }
  .cform-submit {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: 16px;
  }
  .cform-submit small { max-width: none; font-size: 10px; order: 2; text-align: center; }
  .cform-submit .btn { width: 100%; justify-content: center; padding: 16px 20px; order: 1; }

  /* === Footer === */
  .foot { padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-bottom: 36px;
  }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .foot .brand { font-size: 22px; margin-bottom: 12px; }
  .foot p { font-size: 13px; max-width: none; line-height: 1.55; }
  .foot h5 { font-size: 10.5px; margin-bottom: 12px; }
  .foot ul { font-size: 13px; gap: 8px; }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 10px;
    gap: 12px;
    line-height: 1.5;
  }
  .foot-bottom .links { gap: 14px; }

  /* === Floating CTA — pill on mobile === */
  .float-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: auto;
    height: 52px;
    padding: 0 20px 0 17px;
    border-radius: 99px;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    box-shadow: 0 14px 36px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.18);
  }
  .float-cta::after {
    content: "Hívás";
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -0.005em;
    line-height: 1;
  }
  .float-cta svg { width: 18px; height: 18px; flex-shrink: 0; }

  /* === Lightbox === */
  .lightbox { padding: 16px; }
  .lightbox-card { aspect-ratio: 4/5; }
  .lightbox-card .meta strong { font-size: 22px; }
  .lightbox-card .meta small { font-size: 10.5px; }
  .lightbox-card .stamp { top: 14px; left: 14px; right: 14px; font-size: 10px; }
  .lightbox-card .meta { left: 16px; right: 16px; bottom: 16px; }
  .lightbox-close { top: -42px; }

  /* === Reveal — gentler on mobile (less jank) === */
  .reveal { transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
}

/* =========================================================
   Very small phones (≤ 420px) — extra tightening
   ========================================================= */
@media (max-width: 420px) {
  :root { --pad: 18px; }

  .topbar { font-size: 11.5px; }
  .topbar-inner { height: 34px; }
  .topbar-right span:not(:has(.live-dot)) { display: none; }

  .nav { height: 58px; }
  main { padding-top: 58px; }
  .mobile-menu { top: calc(58px + env(safe-area-inset-top)); }
  .brand { font-size: 15.5px; }
  .brand-mark { width: 32px; height: 32px; font-size: 14px; }
  .menu-toggle { width: 44px; height: 44px; }

  .hero h1 { font-size: clamp(30px, 9.6vw, 40px); line-height: 0.98; }
  .hero-meta { font-size: 10px; gap: 8px 14px; }

  .section-head h2,
  .about-body h2,
  .b2b h2,
  .area-list h2,
  .faq-title { font-size: clamp(26px, 8vw, 34px); }
  .contact h2 { font-size: clamp(30px, 9vw, 40px); }

  .process-list { grid-template-columns: 1fr; }
  .review-strip { grid-template-columns: 1fr; }
  .area-cities { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }

  .hero-visual .badge-tape {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .hero-visual .badge-tape .ico { display: none; }

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

/* =========================================================
   Landscape phones — keep mobile menu scrollable
   ========================================================= */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .mobile-menu { padding-top: 12px; padding-bottom: 24px; }
  .mobile-menu a { padding: 12px 0; font-size: 18px; }
  .mobile-cta { margin-top: 14px; padding: 12px 18px; }
}
