/* =========================================================
   DekorXpress Stúdió — fő stíluslap
   ========================================================= */

:root {
  --navy: #022374;
  --navy-dark: #011749;
  --turquoise: #00dec4;
  --turquoise-dark: #00b8a3;
  --blue: #0068ff;
  --white: #ffffff;
  --bg-light: #f5f8fc;
  --bg-soft: #eef3fa;
  --text: #1a2440;
  --text-muted: #5a6584;
  --border: #e2e8f5;
  --success: #1fb37a;

  --gradient-brand: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, var(--turquoise) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(2, 35, 116, 0.06) 0%, rgba(0, 222, 196, 0.08) 100%);

  --font-heading: "Poppins", "Ardela Edge", "Questrial", sans-serif;
  --font-body: "Questrial", "Century Gothic", "Poppins", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(2, 35, 116, 0.08);
  --shadow-md: 0 12px 32px rgba(2, 35, 116, 0.12);
  --shadow-lg: 0 24px 60px rgba(2, 35, 116, 0.18);

  --container: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 76px) + 16px); }

::selection { background: var(--turquoise); color: var(--navy-dark); }

:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; border-radius: 4px; }

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--turquoise);
  display: inline-block;
  flex-shrink: 0;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-light); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.78); }

.section-head { max-width: 680px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--turquoise);
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(0, 222, 196, 0.35);
}
.btn--primary:hover { background: #12e9d1; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 222, 196, 0.45); }

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 0.86rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled, body.nav-open .site-header {
  background: rgba(255,255,255,0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 18px rgba(2,35,116,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; display: block; }
.site-header .logo img { filter: brightness(0) invert(1); transition: filter 0.3s ease; }
.site-header.scrolled .logo img, body.nav-open .site-header .logo img { filter: none; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}
.site-header.scrolled .main-nav a, body.nav-open .site-header .main-nav a { color: var(--navy); text-shadow: none; }
.main-nav a:hover { background: rgba(255,255,255,0.14); }
.site-header.scrolled .main-nav a:hover, body.nav-open .site-header .main-nav a:hover { background: var(--bg-soft); color: var(--blue); }
.main-nav a.active,
.site-header.scrolled .main-nav a.active,
body.nav-open .site-header .main-nav a.active { background: var(--navy); color: var(--white); text-shadow: none; }
.main-nav a.active { background: var(--navy); color: var(--white); text-shadow: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--white);
  transition: color 0.3s ease;
}
.site-header.scrolled .nav-toggle, body.nav-open .site-header .nav-toggle { color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 30px;
    gap: 6px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: hidden;
  }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; color: var(--navy); text-shadow: none; }
  .main-nav a:hover { background: var(--bg-soft); color: var(--blue); }
  body.nav-open .main-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--primary { display: none; }
  .nav-cta-mobile { display: flex; margin-top: 16px; }
}

/* ---------- Hero (teljes képernyős háttérkép + középre igazított szöveg) ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 48px) 0 84px;
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 55%, var(--white) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Sötétebb fent (olvasható cím) és lent, világosabb középen, hogy a logó látsszon */
  background: linear-gradient(180deg, rgba(1,8,30,0.78) 0%, rgba(1,8,30,0.22) 46%, rgba(1,8,30,0.66) 100%);
}

.hero .container { position: relative; z-index: 2; display: flex; justify-content: center; }

.hero-copy { max-width: 680px; text-align: center; }
.hero-copy .eyebrow { color: var(--turquoise); justify-content: center; }
.hero-copy .eyebrow::before, .hero-copy .eyebrow::after { background: var(--white); }
.hero h1 { color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,0.55); }
.hero-copy p.lead { color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

@media (max-width: 860px) {
  /* Mobilon a hero csak akkora, amekkora a szöveg – így a négyzetes
     képből jóval több (a logó nagyobb része) látszik, kevesebb a vágás. */
  .hero { min-height: auto; padding: calc(var(--header-h) + 36px) 0 64px; }
}

/* Page header (aloldal hero, kisebb) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: calc(var(--header-h) + 38px) 0 70px;
  margin-top: calc(-1 * var(--header-h));
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-start;
}
.page-hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 55%, var(--white) 100%);
  z-index: 2;
  pointer-events: none;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(2,10,35,0.9) 0%, rgba(2,23,73,0.82) 45%, rgba(0,104,255,0.55) 100%);
}
.page-hero:not(.page-hero--photo) {
  background: linear-gradient(120deg, #020d2e 0%, #022374 50%, #0053c9 105%);
}
.page-hero:not(.page-hero--photo)::before { display: none; }
.page-hero::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  top: -160px; right: -100px;
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 640px; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.breadcrumb a { color: var(--turquoise); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.card--highlight {
  background: var(--gradient-brand);
  border: none;
  color: var(--white);
}
.card--highlight h3, .card--highlight p { color: var(--white); }
.card--highlight .icon-badge { background: rgba(255,255,255,0.16); color: var(--white); }

.card--photo { padding: 0; overflow: hidden; }
.card-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.card--photo:hover .card-thumb img { transform: scale(1.05); }
.card-body { padding: 0 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.card--photo .icon-badge {
  margin-top: -26px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.icon-badge svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 8px; }
.card p { flex-grow: 1; }
.card .btn { margin-top: 16px; align-self: flex-start; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--turquoise);
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}

/* ---------- Service category blocks ---------- */
.service-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
  scroll-margin-top: calc(var(--header-h, 76px) + 20px);
}
.service-category-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.service-category-photos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-category-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  position: relative;
}
.service-category-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-category-photo .gallery-placeholder { position: absolute; inset: 0; border-radius: var(--radius-md); }
@media (max-width: 760px) {
  .service-category { padding: 24px 18px; }
  .service-category-grid { grid-template-columns: 1fr; }
  .service-category-photos { flex-direction: row; }
  .service-category-photo { aspect-ratio: 16 / 9; flex: 1; }
}
.service-category-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.service-category-head .icon-badge { margin-bottom: 0; width: 60px; height: 60px; background: var(--gradient-brand); color: var(--white); }
.service-category-head h2 { margin: 0; }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-bottom: 24px;
}
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
  font-weight: 500;
}
.service-list li svg { width: 18px; height: 18px; color: var(--turquoise-dark); flex-shrink: 0; }
.service-list li.star { color: var(--navy); font-weight: 700; }
.service-list li.star svg { color: var(--blue); }

.note-box {
  background: var(--bg-soft);
  border: 1px dashed var(--blue);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: var(--navy);
  margin: 12px 0 40px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.note-box svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.note-box p { margin: 0; color: var(--navy); }

/* ---------- Why us / features ---------- */
.feature-card { text-align: left; }
.feature-card.usp {
  position: relative;
}
.feature-card.usp::before {
  content: "Egyedi erősségünk";
  position: absolute;
  top: -12px; right: 20px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Gallery ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy);
  transition: all 0.18s ease;
}
.filter-btn svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); transition: color 0.18s ease; }
.filter-btn:hover { border-color: var(--turquoise); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-btn.active svg { color: var(--turquoise); }

/* Mobilon a szűrők egy sorban, vízszintesen görgethetők (nem lépcsőznek) */
@media (max-width: 640px) {
  .filter-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; scroll-snap-align: start; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gallery-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid--4 { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--gradient-brand-soft);
}
.gallery-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  background: linear-gradient(150deg, #eef3fa 0%, #e3f9f5 100%);
  border: 1px dashed #b9c6e0;
  color: var(--navy);
  transition: transform .25s ease;
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.04); }

.gallery-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-item:hover .gallery-photo { transform: scale(1.06); }
.gallery-placeholder svg { width: 34px; height: 34px; color: var(--blue); opacity: 0.7; }
.gallery-placeholder span { font-family: var(--font-heading); font-weight: 700; font-size: 0.82rem; color: var(--navy); }
.gallery-placeholder small { font-size: 0.74rem; color: var(--text-muted); }
.gallery-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(2,35,116,0.85);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(1, 10, 40, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  max-width: 640px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
}
.lightbox-media {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #eef3fa 0%, #e3f9f5 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  overflow: hidden;
}
.lightbox-media svg { width: 52px; height: 52px; color: var(--blue); }
.lightbox-media img { width: 100%; height: 100%; object-fit: contain; background: #0c1a3d; }
.lightbox-caption { padding: 20px 26px; text-align: left; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient-brand);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(2,10,35,0.92) 0%, rgba(2,23,73,0.85) 45%, rgba(0,104,255,0.6) 100%);
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Timeline / about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.stat-row { display: flex; gap: 28px; margin-top: 24px; flex-wrap: wrap; }
.stat-row div strong { display: block; font-family: var(--font-heading); font-size: 1.9rem; color: var(--navy); }
.stat-row div span { color: var(--text-muted); font-size: 0.88rem; }

.value-list { display: grid; gap: 18px; margin-top: 10px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .icon-badge { margin-bottom: 0; }

.about-visual {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.about-visual svg { width: 100%; max-width: 260px; margin: 0 auto; }

/* ---------- Forms ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: flex-start;
}
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }

.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 6px; }
.field .req { color: var(--blue); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
  transition: border-color .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--turquoise);
  background: var(--white);
}

/* Hibás mezők azonnali jelzése */
.field--error input,
.field--error select,
.field--error textarea {
  border-color: #e5484d !important;
  background: #fff6f6 !important;
}
.field-error {
  display: none;
  color: #d93840;
  font-size: 0.82rem;
  margin-top: 5px;
  font-weight: 600;
}
.field--error .field-error { display: block; }
.checkbox-field { flex-wrap: wrap; }
.checkbox-field .field-error { width: 100%; margin: 2px 0 0 35px; }
.checkbox-field.field--error label { color: #d93840; }

.file-field {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  background: var(--bg-light);
  position: relative;
}
.file-field input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-field svg { width: 26px; height: 26px; color: var(--blue); margin: 0 auto 8px; }
.file-field .file-hint { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.file-field .file-name { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.file-field .file-name--error { color: #d93840; font-weight: 600; }
.file-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 10px 0 0;
}
.file-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); margin-top: 2px; }

.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; }
.checkbox-field input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--turquoise); flex-shrink: 0; }
.checkbox-field label { flex: 1; min-width: 0; font-size: 0.86rem; color: var(--text-muted); font-weight: 400; font-family: var(--font-body); }
.checkbox-field a { color: var(--blue); text-decoration: underline; }

.form-success {
  display: none;
  background: #e6faf5;
  border: 1.5px solid var(--success);
  color: #0f7a52;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 22px;
  font-weight: 600;
}
.form-success.show { display: flex; align-items: center; gap: 10px; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

.form-error {
  display: none;
  background: #fdecec;
  border: 1.5px solid #e5484d;
  color: #b5231f;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 22px;
  font-weight: 600;
}
.form-error.show { display: flex; align-items: center; gap: 10px; }
.form-error svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-error a { color: inherit; text-decoration: underline; }

/* Honeypot mező – vizuálisan és a képolvasók elől is rejtve */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

.side-info { display: grid; gap: 18px; }
.side-info .card { gap: 6px; }
.side-info .card a { color: var(--blue); font-weight: 600; }
.side-info .card a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 16px; margin-bottom: 30px; }
.contact-list .card { flex-direction: row; align-items: center; gap: 16px; padding: 20px 22px; }
.contact-list .card .icon-badge { margin: 0; transition: background 0.2s ease, color 0.2s ease; }
.contact-list .card strong { display: block; color: var(--navy); font-family: var(--font-heading); transition: color 0.2s ease; }
.contact-list .card a, .contact-list .card span { color: var(--text-muted); transition: color 0.2s ease; }
.contact-list .card:hover { border-color: var(--blue); box-shadow: 0 12px 32px rgba(0, 104, 255, 0.15); }
.contact-list .card:hover .icon-badge { background: var(--blue); color: var(--white); }
.contact-list .card:hover strong { color: var(--blue); }
.contact-list .card:hover a { color: var(--blue); text-decoration: underline; }

/* Ugyanez a kék hover a Nyitvatartás kártyán és az ajánlatkérő oldali kártyákon */
.contact-hours .icon-badge,
.side-info .card .icon-badge { transition: background 0.2s ease, color 0.2s ease; }
.contact-hours h3,
.side-info .card h3 { transition: color 0.2s ease; }
.contact-hours:hover,
.side-info .card:hover { border-color: var(--blue); box-shadow: 0 12px 32px rgba(0, 104, 255, 0.15); }
.contact-hours:hover .icon-badge,
.side-info .card:hover .icon-badge { background: var(--blue); color: var(--white); }
.contact-hours:hover h3,
.side-info .card:hover h3 { color: var(--blue); }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3.2;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 10px 0; border-bottom: 1px dashed var(--border); color: var(--text); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); font-family: var(--font-heading); }
.hours-table tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.82); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo img { height: 60px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.68); margin-top: 14px; max-width: 300px; }
.footer-social {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #1877f2;
  color: var(--white);
  margin-top: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background .18s ease, transform .18s ease;
}
.footer-social:hover { background: #1465d8; transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; flex-shrink: 0; }

.footer-col h4 { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col h4 svg { width: 16px; height: 16px; color: var(--turquoise); flex-shrink: 0; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.72); font-size: 0.94rem; transition: color .18s ease; }
.footer-col a:hover { color: var(--turquoise); }
.footer-col a svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--turquoise); }
.footer-col .muted { color: rgba(255,255,255,0.55); font-size: 0.88rem; }

.footer-hours { width: auto; border-collapse: collapse; }
.footer-hours td { padding: 5px 0; font-size: 0.88rem; }
.footer-hours td:first-child { color: rgba(255,255,255,0.7); padding-right: 16px; white-space: nowrap; }
.footer-hours td:last-child { color: var(--white); font-family: var(--font-heading); font-weight: 600; white-space: nowrap; }
.footer-hours tr.closed td { color: var(--turquoise); font-weight: 700; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--turquoise); }

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); }
.legal-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal-content ul li { margin-bottom: 0.4em; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.legal-content table td, .legal-content table th { border: 1px solid var(--border); padding: 10px 14px; text-align: left; font-size: 0.92rem; }
.legal-content table th { background: var(--bg-soft); color: var(--navy); font-family: var(--font-heading); }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: var(--turquoise);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease, color 0.18s ease;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--white); color: var(--navy); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.center-btn { display: flex; justify-content: center; margin-top: 40px; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white); padding: 12px 18px; z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
