/* Kárpátép Struktúra Kft — shared stylesheet
   Fonts: Archivo (headings), Barlow (body), IBM Plex Mono (labels/eyebrows) */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f7f6f3;
  color: #16181c;
  font-family: Barlow, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

section[id] { scroll-margin-top: 96px; }

input, textarea, select, button { font-family: inherit; font-size: inherit; }

a { color: #12305e; text-decoration: none; }
a:hover { color: #6f9c1f; }

h1, h2, h3 {
  font-family: Archivo, Helvetica, Arial, sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; text-wrap: pretty; }

img { max-width: 100%; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7c8a5a;
  margin-bottom: 20px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  color: #12305e;
  max-width: 20ch;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  color: #12305e;
  max-width: 20ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #12305e;
  transition: color .2s ease, gap .2s ease;
}
.text-link:hover { color: #6f9c1f; gap: 18px; }
.text-link .bar {
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e0da;
  font-family: Barlow, Helvetica, Arial, sans-serif;
}

.site-header .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 32px;
}

.site-header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .logo img {
  height: 46px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 26px;
}

.site-header nav a {
  font-size: 14px;
  letter-spacing: 0.02em;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: #3c4148;
  font-weight: 500;
  transition: color .2s ease, border-color .2s ease;
}
.site-header nav a:hover { color: #12305e; }
.site-header nav a.active {
  color: #12305e;
  font-weight: 600;
  border-bottom-color: #8cc63e;
}

.site-header .btn-quote {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 22px;
  background: #12305e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.site-header .btn-quote:hover {
  background: #0d2247;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(13, 34, 71, 0.25);
}

/* ---------- Mobile nav (hamburger) ---------- */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid #e2e0da;
  background: #fff;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #12305e;
  transition: transform .25s ease, opacity .25s ease;
}
.site-header.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .site-header .inner { flex-wrap: nowrap; }
  .menu-toggle { display: flex; }

  .site-header nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f7f6f3;
    border-bottom: 1px solid #e2e0da;
    padding: 8px clamp(16px, 3vw, 32px) 20px;
  }
  .site-header { position: sticky; }
  .site-header.nav-open nav { display: flex; }

  .site-header nav a {
    padding: 13px 0;
    border-bottom: 1px solid #e2e0da;
  }
  .site-header nav a.active { border-bottom-color: #e2e0da; }

  .site-header .btn-quote {
    margin-top: 12px;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: #0d2247;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 14px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -60px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(140, 198, 62, 0.28);
  transform: rotate(45deg);
}

.hero .inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 3vw, 32px) clamp(56px, 8vw, 108px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 64px;
  align-items: end;
}

.hero .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero .kicker .rule { width: 34px; height: 2px; background: #8cc63e; }
.hero .kicker span:last-child {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8cc63e;
}

.hero h1 {
  font-size: clamp(38px, 6.5vw, 68px);
  line-height: 1.02;
  font-weight: 600;
  max-width: 14ch;
}

.hero .lead {
  margin-top: 28px;
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.74);
}

.hero .actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 30px;
  background: #8cc63e;
  color: #0d2247;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover {
  background: #9fd453;
  color: #0d2247;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(140, 198, 62, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}
.btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.hero .media { display: grid; gap: 20px; }

.hero .media img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform .6s cubic-bezier(.2,.7,.3,1), border-color .35s ease;
}
.hero .media img:hover {
  transform: scale(1.03);
  border-color: rgba(140, 198, 62, 0.5);
}

.hero .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 20px;
}

.hero .stats .num {
  font-family: Archivo, sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #8cc63e;
  line-height: 1;
}

.hero .stats .label {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* ---------- Ticker ---------- */

.ticker {
  background: #12305e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px clamp(20px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
}

.ticker span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Section wrappers ---------- */

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 3vw, 32px);
}

.section-alt {
  background: #efece6;
  border-top: 1px solid #e2e0da;
  border-bottom: 1px solid #e2e0da;
}

/* ---------- Services ---------- */

.service-tags {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tags .tag {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #e2e0da;
  color: #12305e;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: #e2e0da;
  border: 1px solid #e2e0da;
}

.service-card {
  display: block;
  background: #fff;
  padding: 38px 34px 34px;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(18, 48, 94, 0.12);
}

.service-card .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #a8a49a;
}

.service-card h3 {
  margin-top: 20px;
  font-size: 23px;
  font-weight: 600;
  color: #12305e;
}

.service-card p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4f57;
  font-weight: 300;
}

.service-card .more {
  display: inline-block;
  margin-top: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6f9c1f;
}

/* ---------- References ---------- */

.refs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 28px;
}

.ref-card { display: block; transition: transform .3s ease; }
.ref-card:hover { transform: translateY(-5px); }

.ref-card .frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #d2cec5;
  background-color: #dcd8d0;
  overflow: hidden;
}

.ref-card .frame .photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.ref-card:hover .frame .photo { transform: scale(1.05); }

/* Empty image slot — photo not uploaded yet, works inside any .frame */
.frame.frame-empty {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frame.frame-empty::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed #b9b4a8;
}
.frame-empty-label {
  position: relative;
  z-index: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8f97;
  text-align: center;
  padding: 0 16px;
}

.ref-card h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  color: #12305e;
}

.ref-card .meta {
  margin-top: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #7d8189;
}

/* ---------- About / Rólunk ---------- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 56px;
  align-items: center;
}

.about-grid h2 { max-width: 18ch; }

.about-grid > div:first-child > p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
  color: #4a4f57;
  font-weight: 300;
}

.about-grid .text-link { margin-top: 28px; }

.values-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #e2e0da;
  border: 1px solid #e2e0da;
}

.value-card {
  background: #f7f6f3;
  padding: 22px 24px;
  transition: background-color .3s ease;
}
.value-card:hover { background: #fff; }

.value-card .title {
  font-family: Archivo, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #12305e;
}

.value-card .body {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: #5b6068;
  font-weight: 300;
}

.about-grid .photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid #d9d5cc;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.about-grid .photo:hover { transform: scale(1.02); }

/* ---------- CTA ---------- */

.cta {
  background: #0d2247;
  color: #fff;
}

.cta .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(27px, 3.8vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  max-width: 22ch;
}

.cta p {
  margin-top: 16px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}
.cta p a { color: #8cc63e; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 34px;
  background: #8cc63e;
  color: #0d2247;
  font-size: 16px;
  font-weight: 600;
  border-radius: 2px;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-cta:hover {
  background: #9fd453;
  color: #0d2247;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(140, 198, 62, 0.3);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #12305e;
  color: #fff;
  font-family: Barlow, Helvetica, Arial, sans-serif;
}

.site-footer .cols {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px clamp(20px, 3vw, 32px) 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 48px;
  align-items: start;
}

.site-footer .logo-box {
  background: #fff;
  display: inline-block;
  padding: 12px 16px;
}

.site-footer .logo-box img {
  height: 60px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.site-footer .about-copy {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  max-width: 34ch;
}

.site-footer .col { display: grid; gap: 10px; }

.site-footer .col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8cc63e;
  margin-bottom: 4px;
}

.site-footer .col a,
.site-footer .col span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.site-footer .col a:hover { color: #8cc63e; transform: translateX(3px); }
.site-footer .col a[href^="mailto:"] { word-break: break-all; }
.site-footer .col a[href^="mailto:"]:hover { transform: none; }

.site-footer .bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px clamp(20px, 3vw, 32px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer .bottom span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
}

/* ================= Inner-page shared pieces ================= */

/* ---------- Page hero (dark intro banner) ---------- */

.page-hero {
  background: #0d2247;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 14px);
}

.page-hero .inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) clamp(20px, 3vw, 32px) clamp(46px, 6vw, 76px);
}

.page-hero .inner.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 56px;
  align-items: end;
}

.eyebrow-dark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8cc63e;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.05;
  font-weight: 600;
}

.page-hero .lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 24px;
}

.page-hero .stats .num {
  font-family: Archivo, sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: #8cc63e;
  line-height: 1;
}

.page-hero .stats .label {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* ---------- Szolgáltatások: service detail blocks ---------- */

.service-block { border-bottom: 1px solid #e2e0da; }

.service-block .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 56px;
  align-items: start;
}

.service-block .num-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.service-block .num-row .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #a8a49a;
}
.service-block .num-row .rule { width: 28px; height: 1px; background: #8cc63e; }

.service-block h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  font-weight: 600;
  color: #12305e;
  max-width: 18ch;
}

.service-block .body-text {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: #4a4f57;
  font-weight: 300;
  max-width: 46ch;
}

.service-block .feature-list {
  margin: 32px 0 0;
  display: grid;
  gap: 1px;
  background: #e2e0da;
  border: 1px solid #e2e0da;
  list-style: none;
  padding: 0;
}

.service-block .feature-list li {
  background: #fff;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  transition: background-color .25s ease, padding-left .25s ease;
}
.service-block .feature-list li:hover { background: #fbfaf7; padding-left: 26px; }
.service-block .feature-list li .dot {
  width: 6px;
  height: 6px;
  background: #8cc63e;
  flex-shrink: 0;
  transform: translateY(-2px);
}
.service-block .feature-list li .text {
  font-size: 16px;
  line-height: 1.5;
  color: #2c3138;
  font-weight: 400;
}

.service-block .media { display: grid; gap: 20px; }

.service-block .frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #d9d5cc;
  background-color: #e6e3dc;
  overflow: hidden;
}
.service-block .frame .photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.service-block .frame:hover .photo { transform: scale(1.05); }

.service-block .typical {
  border: 1px solid #e2e0da;
  background: #fff;
  padding: 26px 28px;
}
.service-block .typical .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8f97;
}
.service-block .typical p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3138;
}

/* ---------- Folyamat (process steps) ---------- */

.process-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px;
}

.process-step { border-top: 2px solid #12305e; padding-top: 22px; }
.process-step .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #8a8f97;
}
.process-step h3 { margin-top: 12px; font-size: 20px; font-weight: 600; color: #12305e; }
.process-step p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #4a4f57; font-weight: 300; }

/* ---------- Referenciák: project list ---------- */

.refs-list {
  display: grid;
  gap: 1px;
  background: #e2e0da;
  border: 1px solid #e2e0da;
}

.refs-list .row {
  background: #fff;
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 40px;
  align-items: center;
  transition: background-color .3s ease;
}
.refs-list .row:hover { background: #fbfaf7; }

.refs-list .frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #d9d5cc;
  background-color: #e6e3dc;
  overflow: hidden;
}
.refs-list .frame .photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.refs-list .row:hover .frame .photo { transform: scale(1.05); }

.refs-list .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7c8a5a;
}
.refs-list h2 { margin-top: 12px; font-size: 28px; font-weight: 600; color: #12305e; }
.refs-list .desc { margin-top: 14px; font-size: 16px; line-height: 1.65; color: #4a4f57; font-weight: 300; max-width: 52ch; }

.refs-list .facts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 32px; }
.refs-list .facts .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a09b90;
}
.refs-list .facts .v { margin-top: 4px; font-family: Archivo, sans-serif; font-size: 16px; font-weight: 600; color: #12305e; }

.refs-note {
  margin-top: 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #8a8f97;
}

/* ---------- Rólunk: intro ---------- */

.about-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 72px;
  align-items: start;
}

.about-intro .lede { font-size: 21px; line-height: 1.6; color: #12305e; font-weight: 400; max-width: 44ch; }
.about-intro p.body { margin-top: 24px; font-size: 17px; line-height: 1.75; color: #4a4f57; font-weight: 300; }

.about-intro .media { display: grid; gap: 20px; }
.about-intro .media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #d9d5cc;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.about-intro .media img:hover { transform: scale(1.02); }

.hq-card { background: #12305e; color: #fff; padding: 30px 32px; }
.hq-card .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8cc63e;
}
.hq-card .addr { margin-top: 12px; font-size: 19px; line-height: 1.5; font-weight: 300; }
.hq-card .label.contact { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.hq-card .phone { display: block; margin-top: 10px; font-size: 18px; color: #fff; font-weight: 400; }
.hq-card .email { display: block; margin-top: 4px; font-size: 16px; color: rgba(255,255,255,0.75); font-weight: 300; word-break: break-all; }

/* ---------- Rólunk: four rules ---------- */

.rules-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  background: #ddd9d0;
  border: 1px solid #ddd9d0;
}

.rule-card { background: #f7f6f3; padding: 32px 28px; transition: background-color .3s ease, transform .3s ease; }
.rule-card:hover { background: #fff; transform: translateY(-4px); }
.rule-card h3 { font-size: 19px; font-weight: 600; color: #12305e; }
.rule-card p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: #4a4f57; font-weight: 300; }

/* ---------- Rólunk: company facts ---------- */

.facts-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 64px;
  align-items: start;
}
.facts-intro h2 { max-width: 16ch; }
.facts-intro .desc { margin-top: 20px; font-size: 16px; line-height: 1.65; color: #4a4f57; font-weight: 300; max-width: 36ch; }

.facts-table { display: grid; gap: 1px; background: #e2e0da; border: 1px solid #e2e0da; }
.facts-table .row {
  background: #fff;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
}
.facts-table .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8f97;
}
.facts-table .v { font-size: 17px; color: #2c3138; }

/* ---------- Kapcsolat: contact + form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 72px;
  align-items: start;
}

.contact-info { display: grid; gap: 26px; }
.contact-info .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8f97;
}
.contact-info .value-link { display: block; margin-top: 6px; font-family: Archivo, sans-serif; font-size: 26px; font-weight: 600; color: #12305e; }
.contact-info .value-link.email { font-size: 20px; word-break: break-all; }
.contact-info .value-text { margin-top: 6px; font-size: 18px; color: #2c3138; }

.attach-note { margin-top: 36px; padding: 26px 28px; background: #efece6; border: 1px solid #e2e0da; }
.attach-note .title { font-family: Archivo, sans-serif; font-size: 16px; font-weight: 600; color: #12305e; }
.attach-note p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: #4a4f57; font-weight: 300; }

.contact-panel { background: #fff; border: 1px solid #e2e0da; padding: clamp(22px, 3vw, 40px); }

.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8f97;
}
.form-field input,
.form-field select,
.form-field textarea {
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ddd9d0;
  background: #fbfaf8;
  color: #16181c;
  border-radius: 2px;
  outline: none;
}
.form-field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: #12305e; }

.btn-submit {
  height: 52px;
  background: #12305e;
  color: #fff;
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.btn-submit:hover { background: #0d2247; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13,34,71,0.25); }

.form-note { font-size: 13px; line-height: 1.55; color: #8a8f97; font-weight: 300; }

.sent-message { padding: 48px 0; text-align: center; }
.sent-message .check {
  width: 44px; height: 44px; margin: 0 auto;
  background: #8cc63e; display: flex; align-items: center; justify-content: center;
  color: #0d2247; font-size: 22px; font-weight: 600;
}
.sent-message h2 { margin-top: 24px; font-size: 26px; font-weight: 600; color: #12305e; }
.sent-message p { margin-top: 12px; font-size: 16px; color: #4a4f57; font-weight: 300; }

/* ---------- Kapcsolat: FAQ ---------- */

.faq-section { background: #0d2247; color: #fff; }
.faq-section .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 64px;
  align-items: start;
}
.faq-section .intro h2 { font-size: clamp(29px, 4.2vw, 42px); line-height: 1.08; font-weight: 600; max-width: 14ch; }
.faq-section .intro p { margin-top: 22px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.62); font-weight: 300; max-width: 34ch; }
.faq-section .intro p a { color: #8cc63e; }

.faq-list { border-top: 1px solid rgba(255,255,255,0.16); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.16); }
.faq-item .q-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: left;
  cursor: pointer;
  font-family: Archivo, sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.faq-item .q-btn:hover { color: #8cc63e; }
.faq-item .sign {
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  color: #8cc63e;
  font-weight: 400;
}
.faq-item .answer {
  padding: 0 60px 30px 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  display: none;
}
.faq-item.open .answer { display: block; }
