/* Cornus — Canva „cornus3.2 weblap kidolgozott canva+word” mockupok szerint */
:root {
  /* Főoldal — Canva 1-Főoldal.png színek */
  --taupe: #8b857e;
  --taupe-mid: #7d776d;
  --cream: #e9e5d7;
  --cream-light: #ece8df;
  --paper: #e8e2d6;
  --label-gold: #e4c86a;
  --label-gold-soft: #d4b85a;
  --footer-bg: #6d685f;
  --footer-bg-alt: #8b8175;
  --charcoal: #3d3834;
  --text-body: #3a3632;
  --gold: #c4a24a;
  --gold-mock: #cbb071;
  --gold-strong: #b8943a;
  --orange-heading: #c9952e;
  --quote-box: #4a453f;
  --btn-dark: #3a3634;
  --input-border: #c4beb2;
  --send-btn: #b8b3a8;
  --white: #fff;
  /* Világos blokkok: pöttyös felirat + „Tudj meg többet” (dizájn) */
  --cream-mauve: #7c6a5a;
  /* Egész oldal: írógépszerű (Special Elite), ahogy a Canva / „Amiben még…” blokk */
  --font-type: "Special Elite", "Courier New", Courier, monospace;
  --font-body: var(--font-type);
  --font-serif: var(--font-type);
  --font-slab: var(--font-type);
  --max: 1120px;
  --header-h: 76px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--cream-light);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

/* Kép: húzással mentés nehezítése (teljes tiltás böngészőben nem lehetséges) */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: var(--gold-strong);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--charcoal);
}

.wrap {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

/* —— Pontozott díszvonal (Canva) —— */
.dots-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.dots-line::before,
.dots-line::after {
  content: "";
  flex: 1;
  max-width: min(42%, 240px);
  height: 8px;
  background-image: radial-gradient(
    circle at center,
    var(--charcoal) 0 2.5px,
    transparent 2.6px
  );
  background-size: 15px 8px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.62;
}

.dots-line span {
  font-family: var(--font-type);
  font-size: clamp(0.88rem, 1.9vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--charcoal);
  opacity: 0.9;
}

/* PNG: taupe szekcióban a kis címke (irodánk, kiegészítő…) aranysárga */
.dots-line--accent span {
  color: var(--label-gold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  opacity: 1;
}

.dots-line--accent::before,
.dots-line--accent::after {
  background-image: radial-gradient(
    circle at center,
    var(--label-gold) 0 2.5px,
    transparent 2.6px
  );
  background-size: 15px 8px;
  opacity: 0.88;
}

/* Krém szekció: pöttyös felirat (#7C6A5A, dizájn) */
.section-cream .dots-line:not(.dots-line--cta) span,
.dots-line--cream span {
  color: var(--cream-mauve);
  opacity: 1;
}

.section-cream .dots-line:not(.dots-line--cta)::before,
.section-cream .dots-line:not(.dots-line--cta)::after,
.dots-line--cream::before,
.dots-line--cream::after {
  background-image: radial-gradient(
    circle at center,
    var(--cream-mauve) 0 2.5px,
    transparent 2.6px
  );
  background-size: 15px 8px;
  opacity: 0.72;
}

/* —— Fejléc —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 0.65rem 0;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Főoldal: a hero felett legyen halvány sötét sáv a menü mögött */
.is-home .site-header:not(.is-scrolled) {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  background: rgba(243, 241, 232, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled .site-nav > a,
.site-header.is-scrolled .nav-parent {
  color: var(--charcoal);
}

.site-header.is-scrolled .brand img.logo--light {
  opacity: 0;
  pointer-events: none;
}

.site-header.is-scrolled .brand img.logo--dark {
  opacity: 1;
}

.brand {
  position: relative;
  display: block;
  line-height: 0;
}

.brand img {
  width: clamp(150px, 34vw, 210px);
  height: auto;
  transition: opacity 0.25s var(--ease);
}

.brand img.logo--dark {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.header-inner {
  width: min(1200px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav > a,
.site-nav .nav-parent {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.95);
  padding: 0.35rem 0.2rem;
  border: none;
  background: none;
  cursor: default;
}

.site-header:not(.is-scrolled) .site-nav a.is-active,
.site-header:not(.is-scrolled) .site-nav > a:hover {
  color: var(--gold-mock);
}

.site-header.is-scrolled .site-nav > a:hover,
.site-header.is-scrolled .site-nav a.is-active {
  color: var(--gold-strong);
}

.site-nav .nav-item.has-sub .nav-parent {
  cursor: pointer;
}

.sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.35rem);
  min-width: 220px;
  padding: 0.4rem 0;
  background: var(--cream-light);
  border: 1px solid var(--input-border);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.nav-item {
  position: relative;
}

.nav-item.has-sub:hover .sub,
.nav-item.has-sub:focus-within .sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0.15rem);
}

.sub a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--charcoal);
  font-size: 0.8rem;
  text-transform: none;
}

.sub a:hover {
  background: rgba(196, 162, 74, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle {
  background: var(--cream);
  border-color: var(--input-border);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--charcoal);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    background: var(--cream-light);
    border-bottom: 1px solid var(--input-border);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav > a,
  .site-nav .nav-parent {
    color: var(--charcoal);
  }

  .sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: none;
    margin-top: 0.25rem;
  }

  .nav-item.has-sub.is-open .sub {
    display: block;
  }

  .nav-item.has-sub:hover .sub {
    transform: none;
  }
}

/* —— Hero (főoldal / belső oldalak) —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

/* <img> + object-fit: a böngésző jobban skáláz, mint a CSS background-image: cover (kevesebb „recés” él) */
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero__dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.hero__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero__dots button.is-active {
  background: var(--gold-mock);
  border-color: var(--gold-mock);
}

.hero-title-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-title-center h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-type);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.8vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-mock);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-title-center h1.text-white {
  font-family: var(--font-type);
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.22em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-title-center .hero-amp {
  display: inline-block;
  margin-inline: 0.55em;
  letter-spacing: 0;
}

/* Hero cím: desktopon egy sorban, mobil/tablet marad tördelhető */
@media (min-width: 901px) {
  .hero-title-center h1 {
    max-width: none;
    white-space: nowrap;
  }
}

.ref-item > img:first-of-type {
  pointer-events: none;
  user-select: none;
}

.cta-photo--light .cta-photo__veil {
  background: rgba(252, 250, 245, 0.55);
}

.cta-photo--light .h-slab {
  color: var(--charcoal);
  text-shadow: none;
}

.cta-photo--light .dots-line span {
  color: var(--charcoal);
}

.cta-photo--light .dots-line::before,
.cta-photo--light .dots-line::after {
  background-image: radial-gradient(
    circle at center,
    var(--charcoal) 0 2.5px,
    transparent 2.6px
  );
  background-size: 15px 8px;
  opacity: 0.55;
}

/* —— Szekció címek (írógép, caps) —— */
.h-slab {
  font-family: var(--font-type);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  letter-spacing: 0.1em;
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0.35rem 0 1.15rem;
}

.section-taupe {
  background: var(--taupe);
  color: var(--charcoal);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}

.section-taupe .h-slab {
  color: var(--charcoal);
}

.section-cream {
  background: var(--cream);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}

.section-cream .h-slab {
  text-align: center;
}

/* —— „Amivel foglalkozunk”: szöveg + PNG-szerű mozaik —— */
.grid-about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 1.08fr);
  gap: clamp(1.75rem, 4.5vw, 3.25rem);
  align-items: start;
}

@media (max-width: 900px) {
  .grid-about {
    grid-template-columns: 1fr;
  }
}

.about-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  max-width: 38rem;
  line-height: 1.68;
}

.about-text--justified p {
  text-align: justify;
  hyphens: auto;
}

/* Magas függőleges kép + alul átlapoló vízszintes + középen naptár (Canva) */
.collage-mosaic {
  position: relative;
  width: 100%;
  min-height: min(520px, 72vw);
  max-height: 640px;
}

.collage-mosaic__stack {
  position: relative;
  width: 100%;
  height: min(520px, 72vw);
  max-height: 640px;
}

.collage-mosaic__tall {
  position: absolute;
  right: 0;
  top: 0;
  width: 56%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  box-shadow: -6px 8px 28px rgba(0, 0, 0, 0.22);
  z-index: 1;
}

.collage-mosaic__overlap {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 68%;
  max-height: 46%;
  height: auto;
  min-height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  z-index: 2;
  border: 3px solid rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .collage-mosaic,
  .collage-mosaic__stack {
    min-height: 400px;
    max-height: none;
  }

  /* Keskeny képernyőn a magas kép ne vesszen a szélesebb átfedés alá; + jobb láthatóság */
  .collage-mosaic__tall {
    width: 56%;
    z-index: 3;
  }

  .collage-mosaic__overlap {
    width: 62%;
    max-height: 40%;
    z-index: 2;
  }
}

/* Naptárlap / tépőlap stílus — „több mint 25 év…” */
.badge-calendar {
  position: absolute;
  left: 50%;
  top: 50%;
  /* közép + saját méret 1/3 balra, 1/4 fel (translate % = a elem szélessége/magassága) */
  transform: translate(calc(-50% - 100% / 3), calc(-50% - 25%));
  z-index: 5;
  width: min(200px, 46vw);
  padding: 1.5rem 0.85rem 1.35rem;
  text-align: center;
  font-family: var(--font-type);
  color: var(--charcoal);
  background: linear-gradient(180deg, #fdfcfa 0%, #f4f1ea 45%, #ebe6dc 100%);
  border: 1px solid #b8b0a4;
  border-radius: 1px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Felső „lyukas” naptársáv */
.badge-calendar::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 10px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #9a9288 0 2px,
    transparent 2px 9px
  );
  opacity: 0.35;
  border-radius: 1px;
}

.badge-calendar__pretitle {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0.65rem;
  margin-bottom: 0.15rem;
  opacity: 0.88;
}

.badge-calendar__num {
  display: block;
  font-size: clamp(3.2rem, 12vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #2a2622;
}

.badge-calendar__sub {
  display: block;
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px dotted rgba(58, 54, 50, 0.25);
}

/* —— Szolgáltatás 3 oszlop —— */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.svc-card__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 1rem;
  filter: brightness(0) saturate(100%);
  opacity: 0.88;
}

.svc-card h3 {
  font-family: var(--font-type);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}

.svc-card p {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-body);
  opacity: 0.92;
}

.svc-card .more {
  flex-shrink: 0;
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-mauve);
  border: 1px solid var(--cream-mauve);
  background: transparent;
  border-radius: 1px;
}

/* —— Kiegészítő: kép + „papír” —— */
.grid-extra {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(260px, 0.98fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.grid-extra__photo {
  display: block;
  width: 100%;
  min-height: min(320px, 42vw);
  max-height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

@media (max-width: 820px) {
  .grid-extra {
    grid-template-columns: 1fr;
  }

  .grid-extra__photo {
    max-height: 360px;
  }
}

/* Gemkapcsos, vonalas füzetlap (Canva „Amiben még…”) */
.paper-note {
  position: relative;
  padding: 2.25rem 1.65rem 1.85rem 1.85rem;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--charcoal);
  background-color: #faf8f2;
  background-image: repeating-linear-gradient(
    transparent 0,
    transparent calc(1.38rem - 1px),
    rgba(150, 142, 130, 0.32) calc(1.38rem - 1px),
    rgba(150, 142, 130, 0.32) 1.38rem
  );
  border: 1px solid #9a9288;
  border-left: 4px solid #c9a088;
  border-radius: 1px;
  box-shadow:
    4px 6px 0 rgba(0, 0, 0, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: rotate(-0.35deg);
}

.paper-note--notebook {
  margin-top: 0.15rem;
}

/* Gemkapocs (SVG az HTML-ben), pozíció */
.paper-clip-icon {
  position: absolute;
  top: -6px;
  right: 1.1rem;
  width: 22px;
  height: 52px;
  z-index: 2;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.paper-note ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
}

.paper-note li {
  margin-bottom: 0.45rem;
}

.paper-note__lead {
  margin: 0 0 0.65rem;
}

.paper-note__lead--brand {
  margin: 0;
  color: var(--cream-mauve);
  font-weight: 700;
}

.paper-note__lead--brand + .paper-note__lead--brand {
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
}

.paper-note__lead--brand:first-of-type:not(:only-of-type) {
  margin-bottom: 0;
}

/* —— CTA széles kép —— */
.cta-photo {
  position: relative;
  min-height: 42vh;
  background-size: cover;
  background-position: center;
  padding: 0;
}

.cta-photo__veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.cta-photo__anchor {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 42vh;
  padding: 3rem 1.5rem;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: filter 0.2s var(--ease);
}

.cta-photo__anchor:hover {
  filter: brightness(1.04);
}

.cta-photo__anchor:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: -4px;
}

/* CTA szekció szövegblokk — link nélkül (pl. látványtervezés, nincs külön referencia) */
.cta-photo__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 42vh;
  padding: 3rem 1.5rem;
  box-sizing: border-box;
}

.cta-photo .inner {
  position: relative;
  max-width: 40rem;
}

/* CTA (sötét háttér): pöttyös felirat — fehér (belső oldalak) */
.cta-photo:not(.cta-photo--light) .dots-line:not(.dots-line--cta) span {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: none;
  opacity: 1;
}

.cta-photo:not(.cta-photo--light) .dots-line:not(.dots-line--cta)::before,
.cta-photo:not(.cta-photo--light) .dots-line:not(.dots-line--cta)::after {
  background-image: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.98) 0 2.5px,
    transparent 2.6px
  );
  background-size: 15px 8px;
  opacity: 0.78;
}

/* Főoldal CTA: „dolgozzunk együtt” = taupe blokk sárga (label-gold) */
.cta-photo:not(.cta-photo--light) .dots-line--cta span {
  color: var(--label-gold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.cta-photo:not(.cta-photo--light) .dots-line--cta::before,
.cta-photo:not(.cta-photo--light) .dots-line--cta::after {
  background-image: radial-gradient(
    circle at center,
    var(--label-gold) 0 2.5px,
    transparent 2.6px
  );
  background-size: 15px 8px;
  opacity: 0.88;
}

.cta-photo .h-slab {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* —— Űrlap (főoldal + kapcsolat) —— */
.form-home {
  max-width: 720px;
  margin-inline: auto;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

@media (max-width: 560px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.js-contact-form {
  position: relative;
}

.form-grid-2 label,
.form-block label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--charcoal);
}

.form-grid-2 input,
.form-grid-2 textarea,
.form-block textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--input-border);
  background: rgba(255, 255, 255, 0.65);
  color: var(--charcoal);
  border-radius: 1px;
}

.form-block {
  margin-top: 1rem;
}

.form-block textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  border-radius: 1px;
}

.form-notice--ok {
  background: rgba(196, 162, 74, 0.18);
  border: 1px solid rgba(90, 74, 16, 0.25);
  color: var(--charcoal);
}

.form-notice--err {
  background: rgba(120, 50, 40, 0.12);
  border: 1px solid rgba(120, 50, 40, 0.28);
  color: var(--charcoal);
}

.btn-send {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  font-family: var(--font-type);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  background: var(--cream);
  color: var(--charcoal);
  cursor: pointer;
  border-radius: 1px;
}

.btn-send:hover {
  filter: brightness(1.05);
}

/* —— Lábléc (Canva 3 oszlop) —— */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 2rem;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--gold-mock);
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(200px, 1.4fr) minmax(
      160px,
      1fr
    );
  gap: 2rem;
  align-items: start;
}

/* Mobil + tablet: logo, elérhetőségek, linkek balra; a Creative Vision vonal alatti blokk változatlanul középen */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-brand {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .footer-contact-row {
    justify-content: flex-start;
  }

  .footer-grid > .copy {
    text-align: center;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.footer-brand img {
  width: 160px;
}

.btn-msg {
  display: inline-block;
  min-width: 11.5rem;
  padding: 0.55rem 2.35rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  background: var(--btn-dark);
  color: #fff;
  border-radius: 1px;
}

.btn-msg:hover {
  background: #2a2624;
  color: #fff;
}

.footer-contact-block {
  margin-bottom: 1.25rem;
}

.footer-contact-block strong {
  display: block;
  font-family: var(--font-type);
  font-size: 0.82rem;
  font-weight: 400;
  text-transform: lowercase;
  margin-bottom: 0.35rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  font-family: var(--font-type);
  font-size: 0.88rem;
}

.copy {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

/* Creative Vision — lábléc (fehér szöveg + arany márkanév) */
.footer-credit {
  text-decoration: none;
  font-family: var(--font-type);
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  letter-spacing: 0.08em;
  line-height: 1.45;
  max-width: 36rem;
}

.footer-credit__base {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s var(--ease);
}

.footer-credit__brand {
  color: var(--label-gold);
  transition: color 0.2s var(--ease);
}

.site-footer a.footer-credit {
  color: inherit;
}

.site-footer a.footer-credit:hover {
  text-decoration: none;
}

.site-footer a.footer-credit:hover .footer-credit__base {
  color: var(--gold-mock);
}

.site-footer a.footer-credit:hover .footer-credit__brand {
  color: #fff;
}

.copy__client {
  margin: 0;
  font-size: 0.7rem;
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.82);
}

/* —— Belső oldal: szolgáltatás (krém + arany cím hero) —— */
.page-hero {
  position: relative;
  min-height: 52vh;
  padding-top: var(--header-h);
  background-size: cover;
  background-position: center;
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.page-hero .hero-title-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48vh;
  padding: calc(var(--header-h) + 1rem) 1.5rem 2.5rem;
  text-align: center;
}

.page-hero .hero-title-center .wrap {
  width: 100%;
  text-align: center;
}

/* max-width: 18ch a címen — a blokkot is középre (különben bal szélén marad) */
.page-hero .hero-title-center h1 {
  margin-inline: auto;
  width: 100%;
}

.page-hero--ref .hero-title-center h1 {
  width: auto;
  max-width: none;
  margin-inline: 0;
}

.page-body {
  padding: clamp(2rem, 5vw, 3.5rem) 0 3rem;
}

.page-body--cream {
  background: var(--cream-light);
}

.page-body--brown {
  background: #a3988c;
  color: var(--charcoal);
}

.page-body--brown a {
  color: #2c2618;
}

.page-body--brown .prose-side .quote-dark {
  background: rgba(58, 54, 50, 0.88);
}

.layout-service {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .layout-service {
    grid-template-columns: 1fr;
  }
}

.prose-side {
  font-family: var(--font-type);
  font-size: 0.98rem;
  line-height: 1.7;
}

.prose-side > h2:first-of-type:not(.h-slab) {
  font-family: var(--font-type);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

/* Szolgáltatás oldalak: a főcím (hero alatti h2) legyen szekció-cím méretű */
.prose-side > h2.h-slab {
  margin-top: 0;
  margin-bottom: 1rem;
}

.prose-side p {
  margin: 0 0 1rem;
}

.dots-heading {
  font-family: var(--font-type);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dotted rgba(58, 54, 50, 0.35);
}

/* Canva: extra széles címköz (Látványtervezés aloldal) */
.dots-heading--wide {
  letter-spacing: 0.22em;
}

/* Látvány PNG: második bekezdés taupe blokk, arany szöveg */
.prose-callout-taupe {
  background: #9a9188;
  color: var(--label-gold);
  padding: 1.1rem 1.25rem;
  margin: 1.15rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  border-radius: 1px;
}

.prose-callout-taupe p {
  margin: 0;
}

/* Világos szövegmező (barna betű) — tartószerkezet oldal */
.prose-callout-cream {
  background: rgba(255, 255, 255, 0.65);
  color: var(--charcoal);
  padding: 1.1rem 1.25rem;
  margin: 1.15rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid rgba(150, 142, 130, 0.45);
  border-radius: 1px;
}

.prose-callout-cream p {
  margin: 0;
}

.quote-dark {
  background: var(--quote-box);
  color: rgba(255, 255, 255, 0.95);
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  line-height: 1.55;
  border-radius: 1px;
}

.quote-dark--accent {
  color: var(--label-gold);
}

.quote-dark a {
  color: var(--gold-mock);
}

.quote-dark--accent a {
  color: var(--label-gold);
}

/* Munkafolyamat alpontok (Canva 2-Építészeti tervezés layout) */
.phase-sub {
  margin: 0.75rem 0 1.25rem 1.15rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(58, 54, 50, 0.25);
  max-width: 46rem;
}

.phase-sub p {
  margin-top: 0;
}

.phase-sub .prose-figure,
.phase-sub .figure-row {
  margin-left: 0;
  margin-right: 0;
}

.side-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.side-tab {
  display: block;
  padding: 0.85rem 1rem;
  text-align: center;
  font-family: var(--font-type);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(58, 54, 50, 0.35);
  background: var(--cream-light);
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.2s, color 0.2s;
}

.side-tab:hover {
  border-color: var(--gold-strong);
}

.side-tab.is-active {
  background: var(--quote-box);
  color: #fff;
  border-color: var(--quote-box);
}

.side-card {
  margin-top: 1.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--input-border);
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.side-card h3 {
  font-family: var(--font-type);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--charcoal);
}

.side-card .avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.85rem;
  border: 3px solid var(--gold-mock);
}

.side-card .name {
  font-family: var(--font-type);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  color: var(--gold-strong);
}

.page-body--brown .side-card .name {
  color: #5c4a12;
}

.side-card .role {
  font-size: 0.82rem;
  margin: 0 0 1rem;
  line-height: 1.4;
}

/* Kontakt sorok — sötét kör + fehér ikon (Canva PNG) */
.contact-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.side-card__contact {
  list-style: none;
  margin: 0.25rem auto 0;
  padding: 0;
  max-width: 280px;
  text-align: left;
}

.side-card__contact li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.side-card__contact li:last-child {
  margin-bottom: 0;
}

.side-card__contact a {
  color: var(--charcoal);
  font-size: 0.78rem;
  line-height: 1.35;
  word-break: break-word;
}

.side-card__contact a:hover {
  color: var(--gold-strong);
}

@media (max-width: 900px) {
  /* Mobil/tablet: oldalsó kontakt kártya elérhetőségek középre */
  .side-card__contact {
    text-align: center;
  }

  .side-card__contact li {
    justify-content: center;
  }
}

.prose-figure {
  margin: 1.1rem 0;
}

.prose-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1px;
}

.footer-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  text-decoration: none;
  line-height: 1.4;
}

.footer-contact-row .contact-icon {
  margin-top: 0.12rem;
}

.footer-contact-text {
  font-family: var(--font-type);
  font-size: 0.88rem;
}

.figure-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.figure-row--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .figure-row,
  .figure-row--2 {
    grid-template-columns: 1fr;
  }
}

.figure-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1px;
  pointer-events: none;
  user-select: none;
}

.figure-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.figure-stack--inset {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}

.figure-stack img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1px;
  pointer-events: none;
  user-select: none;
}

/* Referencia építész — 2 oszlopos rács */
.ref-intro {
  text-align: center;
  padding: 2rem 0 1rem;
}

.ref-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}

@media (max-width: 700px) {
  .ref-grid-2 {
    grid-template-columns: 1fr;
  }
}

.ref-thumb--hero {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 0.65rem;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 1px;
  line-height: 0;
  text-align: left;
}

.ref-thumb--hero:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
}

.ref-thumb--hero img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  border-radius: 1px;
  pointer-events: none;
  user-select: none;
}

.ref-item h2 {
  font-family: var(--font-type);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: var(--charcoal);
}

.ref-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Tartószerk ref — egymás alatti nagy blokkok */
.ref-stack .ref-row {
  margin-bottom: 3.5rem;
}

.ref-stack .ref-row .carousel,
.ref-stack .ref-row > img:first-child {
  margin-bottom: 0.75rem;
}

.ref-stack .ref-row h2 {
  font-family: var(--font-type);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.ref-stack .ref-row p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 52rem;
}

/* Carousel + lightbox (megtartva) */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  background: #222;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s var(--ease);
}

.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.carousel-btn.prev {
  left: 0.5rem;
}

.carousel-btn.next {
  right: 0.5rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  box-sizing: border-box;
  overflow-x: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 88vh;
  max-height: min(88vh, 88dvh);
  margin: 0 auto;
  object-fit: contain;
  flex-shrink: 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.office-slider {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--input-border);
  aspect-ratio: 16/9;
  max-height: 400px;
}

.office-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s var(--ease);
}

.office-slider__track img {
  min-width: 100%;
  object-fit: cover;
  height: 100%;
}

.office-slider__nav {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  display: flex;
  gap: 0.35rem;
}

.office-slider__nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}
