/* ═══════════════════════════════════════════════════════════
   AVI Generál Kft. – Frontend CSS
   Fonts: Barlow Condensed (headings) · Inter (body)
═══════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --gradient-primary: linear-gradient(90deg, #4594E1 0%, #2AACB0 60%, #3AB8C0 100%);
  --gradient-dark:    linear-gradient(135deg, #0F1923 0%, #1e2f42 100%);

  --color-blue:       #4594E1;
  --color-teal:       #4594E1;
  --color-cyan:       #00C8EE;
  --color-accent:     #4594E1;

  --color-bg:         #FFFFFF;
  --color-bg-light:   #F7F9FC;
  --color-bg-dark:    #0F1923;

  --color-text:       #0f172a;
  --color-text-light: #64748b;
  --color-heading:    #0F1923;
  --color-border:     #E2E8F0;

  --color-success:    #22c55e;
  --color-error:      #ef4444;

  --font-heading: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif;

  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--color-heading);
  margin-bottom: .75rem;
  text-transform: uppercase;
}

/* ── Layout ─────────────────────────────────────────────── */
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }
.section-alt { background: var(--color-bg-light); }
.text-center { text-align: center; }

/* ── Section headings ───────────────────────────────────── */
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: .4rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 10px auto 0;
}
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.section-sub {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-top: 14px;
  margin-bottom: 50px;
  font-weight: 400;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 11px 24px;
  box-shadow: none;
}
.btn-primary.btn-lg { padding: 13px 30px; }
.btn-primary:hover { filter: brightness(1.1); color: #fff; transform: translateY(-1px); }
.btn-outline-white { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-outline-dark { border-color: var(--color-heading); color: var(--color-heading); background: transparent; }
.btn-outline-dark:hover { background: var(--color-heading); color: #fff; }
.btn-outline-dark-white { border-color: var(--color-heading); color: var(--color-heading); background: #fff; }
.btn-outline-dark-white:hover { background: var(--color-heading); color: #fff; }
.btn-lg { padding: 11px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ── Header ──────────────────────────────────────────────── */
header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 0;
  transition: padding .3s, box-shadow .3s, background .35s;
}
header.scrolled {
  padding: 8px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.10);
}
body { padding-top: 72px; }
header .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: opacity .2s;
}
.logo img:hover { opacity: .75; }
/* Fallback szöveg ha nincs logókép */
.logo a span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-heading);
}

/* Nav */
nav ul { display: flex; list-style: none; gap: 4px; align-items: center; }
nav > ul > li > a {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
nav > ul > li > a:hover { color: var(--color-teal); background: var(--color-bg-light); }
nav .nav-cta { padding: 9px 20px; margin-left: 8px; color: #fff !important; font-size: .9rem; }
nav .nav-cta:hover {
  background: var(--gradient-primary) !important;
  filter: brightness(1.1) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
li.nav-social {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(0,0,0,.2);
}
li.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-text);
  transition: color .2s, background .2s;
}
li.nav-social a svg { width: 22px; height: 22px; pointer-events: none; }
li.nav-social a:hover { color: var(--color-teal); background: var(--color-bg-light); }

/* Dropdown submenu */
nav li.has-children { position: relative; }
nav li.has-children > a { padding-right: 10px; }
/* Átlátszó híd a li és a submenu közt – megakadályozza a hover elvesztését */
nav li.has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.arrow { font-size: .65em; vertical-align: middle; margin-left: 2px; opacity: .6; }
nav li.has-children .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  min-width: 230px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  list-style: none;
  padding: 6px;
  z-index: 300;
}
nav li.has-children:hover .submenu { display: block; }
nav li.has-children .submenu li a {
  display: block;
  padding: 9px 14px;
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
nav li.has-children .submenu li a:hover {
  background: var(--color-bg-light);
  color: var(--color-teal);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero-home {
  margin-top: -72px;   /* header mögé nyúlik, transparent fejléc alatt teljes kép */
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-sub {
  min-height: 44vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,18,28,.3) 0%,
    rgba(10,18,28,.65) 60%,
    rgba(10,18,28,.8) 100%
  );
}
.hero-sub.no-image {
  background: var(--gradient-dark);
  min-height: 30vh;
}
.hero-sub.no-image .hero-overlay { background: transparent; }
.hero-home .container,
.hero-sub .container { position: relative; z-index: 2; }
.hero-home h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: #fff;
  margin-bottom: 18px;
  max-width: 820px;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-home .subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 560px;
  font-weight: 400;
  line-height: 1.55;
}
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-sub h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-family: var(--font-heading);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.breadcrumb a { color: var(--color-text-light); transition: color .15s; }
.breadcrumb a:hover { color: var(--color-teal); }
.breadcrumb span { color: var(--color-text-light); }

/* ── Highlight boxok (home) ──────────────────────────────── */
.highlight-section {
  padding: 80px 0 60px;
  background-color: #f0f4f8;
  background-image:
    linear-gradient(rgba(0,181,184,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,181,184,.12) 1px, transparent 1px),
    linear-gradient(rgba(0,181,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,181,184,.05) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px, 18px 18px, 18px 18px;
  position: relative;
  overflow: hidden;
}
.highlight-section::before { display: none; }
/* Tervrajz SVG háttér */
.highlight-bg-svg { display: none; }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.highlight-item {
  padding: 36px 28px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--color-teal);
  transition: box-shadow .25s, transform .25s, background .25s;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.highlight-item:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.highlight-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,181,184,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.highlight-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-teal);
}
.highlight-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-heading);
}
.highlight-item p {
  font-size: .93rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin: 0;
}

/* ── Intro section (home) ────────────────────────────────── */
.intro-section { padding: 70px 0; }
.intro-inner { width: 100%; max-width: 820px; margin: 0 auto; }
.intro-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-heading);
  line-height: 1.7;
  margin-bottom: 20px;
}
.intro-inner p { font-size: 1rem; color: var(--color-text-light); line-height: 1.7; }

/* ── Generálkivitelezés section (home) ──────────────────── */
.gk-section { padding: 80px 0; }
.gk-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.gk-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 20px;
  line-height: 1.25;
}
.gk-text p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}
.gk-text p:last-child { margin-bottom: 0; }
.gk-steps { display: flex; flex-direction: column; gap: 24px; }
.gk-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.gk-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gk-step > div strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 4px;
}
.gk-step > div span {
  font-size: .9rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ── Testimonials (home) ─────────────────────────────────── */
.testimonials-section { padding: 80px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-item {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  border-bottom: 3px solid var(--color-teal);
}
.testimonial-quote {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-teal);
  font-family: Georgia, serif;
  margin-bottom: 12px;
  opacity: .5;
}
.testimonial-item p {
  font-size: .95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0 0 20px;
  font-style: italic;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-heading);
  text-transform: uppercase;
}
.testimonial-author span {
  font-size: .8rem;
  color: var(--color-text-light);
}

/* ── Service cards ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  padding: 0;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-teal);
}
.service-card-img {
  height: 210px;
  background-size: cover;
  background-position: center;
}
.service-card-body { padding: 26px 28px 30px; }
.service-card-body h3 {
  font-size: 1.25rem;
  color: var(--color-heading);
  margin-bottom: 8px;
}
.service-card-body p { font-size: .9rem; color: var(--color-text-light); line-height: 1.6; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-teal);
  transition: gap .2s, color .2s;
}
.service-link:hover { gap: 9px; color: var(--color-blue); }

/* ── Services listing page ───────────────────────────────── */
.hero-sub-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-top: 12px;
  max-width: 620px;
}
.services-listing-section { padding: 60px 0 80px; }
.services-listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.service-listing-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 220px;
  border-bottom: 1px solid var(--color-border);
  transition: background .2s;
}
.service-listing-card:first-child { border-top: 1px solid var(--color-border); }
.service-listing-card:hover { background: var(--color-bg-light); }
.slc-img {
  background-size: cover;
  background-position: center;
}
.slc-img-empty { background: var(--color-bg-light); }
.slc-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slc-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 10px;
}
.slc-body p {
  font-size: .95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ── Stats section ───────────────────────────────────────── */
.stats-section { background: var(--color-bg-dark); padding: 80px 0; }
.stats-grid-front {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.1);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.01em;
}
.stat-desc {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  margin-top: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

/* ── References section (home) ───────────────────────────── */
.references-section { background: var(--color-bg-light); }

/* ── CTA section ─────────────────────────────────────────── */
.cta-section {
  background: var(--gradient-primary);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(0,181,184,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 8px;
  position: relative;
}
.cta-section p { position: relative; }

/* ── Contact strip (home) ────────────────────────────────── */
.contact-strip { background: #fff; border-top: 1px solid var(--color-border); padding: 36px 0; }
.contact-strip-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
}
.contact-strip-item svg { color: var(--color-teal); flex-shrink: 0; }
.contact-strip-item a { color: var(--color-text); transition: color .15s; }
.contact-strip-item a:hover { color: var(--color-teal); }

/* ── About CTA strip (Rólunk) ────────────────────────────── */
.about-cta-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}
.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.about-cta-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 6px;
}
.about-cta-text p {
  font-size: .95rem;
  color: var(--color-text-light);
  margin: 0;
}
.about-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .about-cta-inner { flex-direction: column; align-items: flex-start; }
  .about-cta-btns { flex-wrap: wrap; }
}

/* ── Service CTA strip (page.php) ────────────────────────── */
.service-cta-strip {
  background: var(--color-bg-light);
  border-top: 3px solid var(--color-teal);
  padding: 60px 0;
}
.service-cta-strip h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}
.service-cta-strip p { color: var(--color-text-light); margin-bottom: 28px; }

/* ── Content area ────────────────────────────────────────── */
.content-area {
  padding-top: 40px;
  padding-bottom: 32px;
  max-width: 860px;
}
.content-area h2 {
  font-size: 1.7rem;
  margin-top: 48px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}
.content-area h3 { font-size: 1.3rem; margin-top: 32px; }
.content-area p { margin-bottom: 18px; color: var(--color-text); }
.content-area blockquote {
  border-left: 3px solid var(--color-teal);
  padding: 12px 20px;
  background: var(--color-bg-light);
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-text-light);
  font-style: italic;
}
.content-area strong { color: var(--color-heading); }
.content-area ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  counter-reset: svc-list;
}
/* UL → pipa ikon */
.content-area ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
  line-height: 1.6;
}
.content-area ul li:first-child { border-top: 1px solid var(--color-border); }
.content-area ul li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--color-teal);
  font-size: .9rem;
  font-weight: 700;
  background: #f0f2f4;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
/* OL → számozott */
.content-area ol {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  counter-reset: svc-list;
}
.content-area ol li {
  counter-increment: svc-list;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
  line-height: 1.6;
}
.content-area ol li:first-child { border-top: 1px solid var(--color-border); }
.content-area ol li::before {
  content: counter(svc-list, decimal-leading-zero);
  flex-shrink: 0;
  color: var(--color-teal);
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: #f0f2f4;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ── Service page two-column layout ─────────────────────── */
.service-page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 60px;
}
.service-page-content { min-width: 0; }
.service-page-content h1 { font-size: 2rem; margin-bottom: 20px; }
.service-page-content h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 14px;
}
.service-page-content h2:first-child { margin-top: 0; }
.service-page-content h3 { font-size: 1.25rem; margin-top: 28px; }
.service-page-content p { margin-bottom: 16px; color: var(--color-text); line-height: 1.75; }
.service-page-content strong { color: var(--color-heading); }
/* UL → pipa ikon */
.service-page-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.service-page-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
  color: var(--color-text);
  line-height: 1.6;
}
.service-page-content ul li:first-child { border-top: 1px solid var(--color-border); }
.service-page-content ul li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--color-teal);
  font-size: .9rem;
  font-weight: 700;
  background: #f0f2f4;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
/* OL → számozott */
.service-page-content ol {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  counter-reset: svc-list;
}
.service-page-content ol li {
  counter-increment: svc-list;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
  color: var(--color-text);
  line-height: 1.6;
}
.service-page-content ol li:first-child { border-top: 1px solid var(--color-border); }
.service-page-content ol li::before {
  content: counter(svc-list, decimal-leading-zero);
  flex-shrink: 0;
  color: var(--color-teal);
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: #f0f2f4;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.service-page-image {
  position: sticky;
  top: 100px;
}
.service-page-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── Contact form (contact.php / ajanlatkeres) ───────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1020px;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-list li:first-child { border-top: 1px solid var(--color-border); }
.contact-info-list li::before,
.contact-details .contact-info-list li::before,
.content-area .contact-info-list li::before { content: none !important; display: none !important; }
.contact-intro {
  font-size: 1.15rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 24px;
}
.contact-company-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 4px;
}
.cil-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,181,184,.08);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cil-icon svg { width: 20px; height: 20px; }
.cil-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cil-label {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.cil-body a { color: var(--color-text); transition: color .15s; font-size: 1.25rem; font-weight: 600; }
.cil-body a:hover { color: var(--color-teal); }
.cil-body span:not(.cil-label) { font-size: 1.25rem; font-weight: 600; color: var(--color-text); }
.contact-form h2 { font-size: 1.25rem; margin-bottom: 24px; }
.frm-group { margin-bottom: 18px; }
.frm-group label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.frm-group input,
.frm-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.frm-group input:focus,
.frm-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0,193,196,.12);
}
.frm-group textarea { resize: vertical; min-height: 120px; }
.req { color: var(--color-error); }
.form-success {
  background: #f0fdf4;
  color: #15803d;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid #bbf7d0;
  font-size: .95rem;
}
.form-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #fecaca;
  margin-bottom: 18px;
  font-size: .875rem;
}

/* ── Quote form (ajanlatkeres.php) ──────────────────────── */
.quote-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
  padding: 60px 0 80px;
}
.quote-aside { position: sticky; top: 100px; }
.quote-aside h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 20px;
}
.quote-usp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-usp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--color-text);
  line-height: 1.5;
  border: none;
  padding: 0;
}
.quote-usp-list li::before { display: none !important; content: none !important; }
.qusp-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.quote-contact-box {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-top: 3px solid var(--color-teal);
}
.qcb-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0 0 10px;
}
.qcb-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-heading);
  transition: color .15s;
}
.qcb-phone:hover { color: var(--color-teal); }
.qcb-hours { font-size: .8rem; color: var(--color-text-light); margin: 6px 0 0; }
/* form wrap */
.quote-form-wrap { min-width: 0; }
.qf-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}
.qf-section:last-of-type { border-bottom: none; }
.qf-section-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin: 0 0 16px;
}
.qf-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.qf-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--color-text);
  cursor: pointer;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color .15s, background .15s;
  user-select: none;
}
.qf-checkbox-label:hover { border-color: var(--color-teal); background: rgba(0,181,184,.04); }
.qf-checkbox-label input[type="checkbox"] { display: none; }
.qf-checkbox-label input:checked ~ .qf-checkbox-box { background: var(--color-teal); border-color: var(--color-teal); }
.qf-checkbox-label input:checked ~ .qf-checkbox-box::after { opacity: 1; }
.qf-checkbox-label input:checked { color: var(--color-teal); }
.qf-checkbox-label:has(input:checked) { border-color: var(--color-teal); background: rgba(0,181,184,.05); }
.qf-checkbox-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: background .15s, border-color .15s;
}
.qf-checkbox-box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity .1s;
}
.qf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.frm-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.frm-group select:focus { outline: none; border-color: var(--color-teal); box-shadow: 0 0 0 3px rgba(0,193,196,.12); }
.qf-radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.qf-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--color-text);
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.qf-radio-label:hover { border-color: var(--color-teal); }
.qf-radio-label input[type="radio"] { display: none; }
.qf-radio-label:has(input:checked) { border-color: var(--color-teal); background: rgba(0,181,184,.07); color: var(--color-teal); font-weight: 600; }
.qf-radio-box { display: none; }
.qf-section-contact { background: var(--color-bg-light); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; border-bottom: none; }
.qf-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  padding: 14px 32px;
}
.qf-note {
  margin-top: 14px;
  font-size: .78rem;
  color: var(--color-text-light);
}

/* ── Thank you page ──────────────────────────────────────── */
.thankyou-wrap {
  max-width: 560px;
  margin: 80px auto 100px;
  text-align: center;
  padding: 0 20px;
}
.thankyou-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(0,181,184,.1);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}
.thankyou-wrap h1 { font-size: 2rem; margin-bottom: 16px; }
.thankyou-wrap p { font-size: 1rem; color: var(--color-text); line-height: 1.75; margin-bottom: 12px; }
.thankyou-sub { color: var(--color-text-light) !important; font-size: .9rem !important; }
.thankyou-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 12px 0 36px;
  transition: color .15s;
}
.thankyou-phone:hover { color: var(--color-teal); }
.thankyou-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Responsive quote */
@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr; gap: 40px; }
  .quote-aside { position: static; }
}
@media (max-width: 600px) {
  .qf-checkbox-grid { grid-template-columns: 1fr; }
  .qf-row { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.65);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  display: block;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  margin-bottom: 0;
}
footer h4 {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
  margin-top: 0;
}
footer p, footer li {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  margin-bottom: 7px;
  line-height: 1.6;
}
footer ul { list-style: none; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .5;
}
.footer-nav-list { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-list li { margin-bottom: 0; }
footer ul li a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: color .15s;
}
footer ul li a:hover { color: var(--color-cyan); }
footer a { color: rgba(255,255,255,.6); }
footer a:hover { color: var(--color-cyan); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 24px;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
}
.footer-bottom a {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom a:hover { color: var(--color-cyan); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  transition: background .2s, color .2s;
}
.footer-social a:hover {
  background: var(--color-cyan);
  color: var(--color-dark);
}
.social-links a {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-right: 14px;
  transition: color .15s;
}
.social-links a:hover { color: var(--color-cyan); }

/* ── Instagram embed ─────────────────────────────────────── */
.ig-embed-wrap { width: 100%; min-height: 300px; }
.ig-embed-wrap iframe { max-width: 100% !important; }

/* ── Reference grid ──────────────────────────────────────── */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.ref-grid-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
}
.ref-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ref-grid-item:hover img { transform: scale(1.06); }

/* ── Swiper overrides ────────────────────────────────────── */
.swiper { padding-bottom: 44px !important; }
.swiper-slide img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius-lg); }
.swiper-button-next,
.swiper-button-prev { color: var(--color-teal) !important; }
.swiper-pagination-bullet-active { background: var(--color-teal) !important; }

/* ── Hamburger toggle ────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px; height: 22px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--color-heading); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ── Animációk ───────────────────────────────────────────── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Hero belépő animáció */
.hero-home { overflow: hidden; }
.hero-content h1 {
  animation: fadeInUp 1.1s cubic-bezier(.22,.68,0,1.1) .2s both;
}
.hero-content .subtitle {
  animation: fadeInUp 1.1s cubic-bezier(.22,.68,0,1.1) .55s both;
}
.hero-content .cta-buttons {
  animation: fadeInUp 1.0s cubic-bezier(.22,.68,0,1.1) .85s both;
}

/* Logo váltás: alap = sötét logo, fehér logo rejtve */
.logo-white { display: none; }
.logo-dark  { display: block; }

/* Átlátszó fejléc a hero felett (homepage) */
header.hero-header {
  background: transparent;
  box-shadow: none;
  border-bottom: none;
}
header.hero-header .logo-dark  { display: none; }
header.hero-header .logo-white { display: block; }
header.hero-header nav > ul > li > a { color: rgba(255,255,255,.9); }
header.hero-header nav > ul > li > a:hover { color: #fff; background: rgba(255,255,255,.12); }
header.hero-header li.nav-social { border-left-color: rgba(255,255,255,.2); }
header.hero-header li.nav-social a { color: rgba(255,255,255,.8); }
header.hero-header li.nav-social a:hover { color: #fff; background: rgba(255,255,255,.15); }
header.hero-header .nav-cta { box-shadow: 0 4px 14px rgba(0,0,0,.3); }
header.hero-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.10);
}
header.hero-header.scrolled .logo-dark  { display: block; }
header.hero-header.scrolled .logo-white { display: none; }
header.hero-header.scrolled nav > ul > li > a { color: var(--color-text); }
header.hero-header.scrolled nav > ul > li > a:hover { color: var(--color-teal); background: var(--color-bg-light); }
header.hero-header.scrolled li.nav-social { border-left-color: rgba(0,0,0,.1); }
header.hero-header.scrolled li.nav-social a { color: var(--color-text); }

/* Scroll-reveal alap állapot */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* Prefers-reduced-motion: minden animáció ki */
@media (prefers-reduced-motion: reduce) {
  .hero-home::before, .hero-content h1,
  .hero-content .subtitle, .hero-content .cta-buttons { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .gk-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-listing-card { grid-template-columns: 260px 1fr; }
  .service-page-layout { grid-template-columns: 1fr 300px; gap: 40px; }
}

@media (max-width: 640px) {
  .service-listing-card { grid-template-columns: 1fr; }
  .slc-img { height: 200px; }
  .slc-body { padding: 24px 20px; }
  .service-page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .service-page-image { position: static; order: -1; }
  .service-page-image img { aspect-ratio: 16/7; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 12px 16px 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
    z-index: 200;
    gap: 0;
  }
  nav ul.open { display: flex; }
  nav > ul > li { width: 100%; }
  nav > ul > li > a {
    display: block;
    width: 100%;
    padding: 10px 8px;
    text-align: left;
  }
  nav li.has-children::after { display: none; }
  nav li.has-children .submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 16px;
    background: transparent;
    width: 100%;
  }
  nav li.has-children .submenu li a {
    text-align: left;
    padding: 8px 8px;
  }
  nav li.has-children.open .submenu { display: block; }
  li.nav-social { border-left: none; width: auto; }
  .logo img { height: 36px; }
  /* Mobil nav drawer: mindig sötét szöveg, függetlenül a hero-header állapottól */
  header.hero-header nav > ul > li > a,
  header.hero-header.scrolled nav > ul > li > a { color: var(--color-text); }
  header.hero-header nav > ul > li > a:hover,
  header.hero-header.scrolled nav > ul > li > a:hover { color: var(--color-teal); background: var(--color-bg-light); }
  .hero-home { min-height: 70vh; background-attachment: scroll; }
  .hero-sub { min-height: 30vh; }
  .cta-buttons { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { display: none; }
  section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .service-page-layout { padding-top: 32px; padding-bottom: 32px; }
  .content-area { padding-top: 32px; padding-bottom: 32px; max-width: 100%; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-home h1 { font-size: 2.2rem; }
}

/* ── Gallery grid (shortcode) ────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 32px 0;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  background: var(--color-bg-light);
}
.gallery-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease, opacity .2s;
}
.gallery-grid a:hover img {
  transform: scale(1.05);
  opacity: .92;
}
.gallery-empty {
  color: var(--color-text-light);
  font-style: italic;
  padding: 24px 0;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
