/* =========================================================
   AER SERVIS – Main Stylesheet
   ========================================================= */

:root {
  --color-primary:   #1a3a5c;
  --color-accent:    #2085c7;
  --color-accent-lt: #e8f4fd;
  --color-white:     #ffffff;
  --color-bg:        #f7f9fb;
  --color-text:      #1c2b3a;
  --color-text-muted:#5a6e82;
  --color-border:    #d6e0ea;
  --color-success:   #27ae60;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26,58,92,.07);
  --shadow-md: 0 6px 28px rgba(26,58,92,.11);
  --t: .22s ease;
  --max-w: 1200px;
  --pad: 88px 0;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--color-text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--color-accent); text-decoration: none; transition: color var(--t)); }
a:hover { color: var(--color-primary); }
ul   { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ---- Type ---- */
h1, h2, h3, h4 { font-family: var(--font); color: var(--color-primary); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2rem,   5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem,3.2vw,2.2rem); }
h3 { font-size: clamp(1.05rem,1.8vw,1.25rem); font-weight: 600; }
h4 { font-size: .95rem; font-weight: 600; }
p  { max-width: 68ch; }

/* ---- Util ---- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 10px;
}
.section-title  { margin-bottom: 14px; }
.section-lead   { color: var(--color-text-muted); font-size: 1.02rem; margin-bottom: 44px; max-width: 58ch; }
.text-center    { text-align: center; }
.text-center p  { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: .92rem; cursor: pointer;
  border: 2px solid transparent; transition: all var(--t); white-space: nowrap;
}
.btn-primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-primary:hover { background: #1a6faa; border-color: #1a6faa; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: #fff; color: var(--color-primary); border-color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--t), box-shadow var(--t);
}
#site-header.transparent { background: transparent; }
#site-header.scrolled   { background: rgba(255,255,255,.97); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; transition: height var(--t);
}
#site-header.scrolled .header-inner { height: 58px; }

.site-logo a { display: flex; align-items: center; }
.site-logo img { height: 40px; width: auto; transition: filter var(--t); }
#site-header.transparent .site-logo img { filter: brightness(0) invert(1); }
#site-header.scrolled   .site-logo img { filter: none; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  padding: 7px 13px; font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.88); border-radius: var(--radius); transition: all var(--t);
}
#site-header.scrolled .site-nav a { color: var(--color-text); }
.site-nav a:hover { background: rgba(255,255,255,.15); color: #fff; }
#site-header.scrolled .site-nav a:hover { background: var(--color-accent-lt); color: var(--color-accent); }
.nav-cta { background: var(--color-accent) !important; color: #fff !important; margin-left: 10px; }
.nav-cta:hover { background: #1a6faa !important; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--t); }
#site-header.scrolled .hamburger span { background: var(--color-primary); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--color-primary);
}

/* Gradient background */
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 50%, rgba(32,133,199,.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 20%, rgba(32,133,199,.15) 0%, transparent 60%),
    linear-gradient(135deg, #0f2438 0%, #1a3a5c 55%, #112840 100%);
}

/* Slideshow overlay */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide  { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,36,56,.88) 0%, rgba(26,58,92,.6) 100%); }

/* Fan – bigger & more dominant */
.hero-fan {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: .13;
  pointer-events: none;
}
.hero-fan svg {
  width: 480px; height: 480px;
  animation: fanSpin 18s linear infinite;
}
@keyframes fanSpin { to { transform: rotate(360deg); } }

/* Content */
.hero-content {
  position: relative; z-index: 2;
  padding: 130px 0 100px;
  max-width: 660px;
}

.hero-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(32,133,199,.18);
  border: 1px solid rgba(32,133,199,.35);
  border-radius: 40px;
  padding: 5px 14px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.hero-pill-sep { color: rgba(255,255,255,.25); font-size: .85rem; align-self: center; }

.hero-tagline {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .01em;
  margin-bottom: 16px;
}
.hero-title { color: #fff; margin-bottom: 28px; letter-spacing: -.01em; }
.hero-title em { font-style: normal; color: #5bbfee; }

.hero-desc { color: rgba(255,255,255,.68); font-size: 1.02rem; line-height: 1.72; margin-bottom: 40px; }
.hero-cta  { display: flex; flex-wrap: wrap; gap: 14px; }

/* Stats bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(255,255,255,.055);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hero-stat {
  padding: 18px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num   { display: block; font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 3px; }
.hero-stat-label { font-size: .7rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em; }

/* =========================================================
   O SPOLEČNOSTI
   ========================================================= */
#o-spolecnosti { padding: var(--pad); background: #fff; }

.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.about-label-wrap { margin-bottom: 24px; }
.about-lead {
  font-size: 1.2rem; font-weight: 600; color: var(--color-primary);
  line-height: 1.4; margin-bottom: 20px; max-width: 52ch;
}
.about-body { color: var(--color-text-muted); font-size: .97rem; line-height: 1.75; margin-bottom: 12px; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.about-tag {
  background: var(--color-accent-lt); color: var(--color-accent);
  border-radius: 6px; padding: 5px 13px;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}

/* Right column */
.about-right { display: flex; flex-direction: column; gap: 20px; }

.about-stats-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.about-stat-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  transition: all var(--t);
}
.about-stat-card:hover { border-color: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.asc-val   { display: block; font-size: 1.6rem; font-weight: 800; color: var(--color-primary); line-height: 1; margin-bottom: 4px; }
.asc-label { font-size: .78rem; color: var(--color-text-muted); font-weight: 500; }

/* CZ Map */
.about-map-card {
  background: var(--color-primary); border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.about-map-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.4); margin-bottom: 14px;
}
.about-map-regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.amap-region {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 40px; padding: 4px 13px;
  font-size: .78rem; color: rgba(255,255,255,.8); font-weight: 500;
}
.amap-region.highlight { background: rgba(32,133,199,.35); border-color: rgba(32,133,199,.5); color: #fff; }

/* CZ Map SVG */
.cz-map-svg { width: 100%; height: auto; max-height: 110px; margin: 8px 0 4px; }
.cz-map-svg .region-base { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.15); stroke-width: 1; }
.cz-map-svg .region-active { fill: rgba(32,133,199,.55); stroke: rgba(32,133,199,.8); stroke-width: 1.5; }

/* =========================================================
   SLUŽBY
   ========================================================= */
#sluzby { padding: var(--pad); background: var(--color-bg); }

.services-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-bottom: 56px; align-items: end;
}
.services-top-text .section-lead { margin-bottom: 0; }

.services-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 40px;
}
.srv-block {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.srv-block-head {
  background: var(--color-primary); padding: 16px 24px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.6);
}
.srv-block-list { padding: 8px 0; }
.srv-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 20px; font-size: .9rem; color: var(--color-text);
  line-height: 1.45; border-bottom: 1px solid var(--color-border);
  transition: background var(--t);
}
.srv-item:last-child { border-bottom: none; }
.srv-item:hover { background: var(--color-accent-lt); }
.srv-item::before {
  content: '';
  flex-shrink: 0; margin-top: 5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
}

/* Service tags */
.service-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.service-tag {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 14px 20px;
  font-size: .88rem; font-weight: 600; color: var(--color-primary);
  transition: all var(--t); flex: 1 1 calc(33% - 12px);
}
.service-tag:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--color-accent); }
.service-tag svg { flex-shrink: 0; color: var(--color-accent); }

/* =========================================================
   GALERIE
   ========================================================= */
#galerie { padding: var(--pad); background: var(--color-primary); }
#galerie .section-label { color: #5bbfee; }
#galerie .section-title { color: #fff; }
#galerie .section-lead  { color: rgba(255,255,255,.55); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,58,92,.65) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--t);
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: .78rem; font-weight: 500; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.93); align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* =========================================================
   KARIÉRA
   ========================================================= */
#kariera { padding: var(--pad); background: #fff; }

.career-layout {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 56px 64px;
}
.career-label-wrap { margin-bottom: 16px; }
.career-body { color: var(--color-text-muted); font-size: .97rem; line-height: 1.72; margin: 12px 0 28px; max-width: 50ch; }
.career-ilu  { flex-shrink: 0; width: 180px; }

/* =========================================================
   KONTAKT
   ========================================================= */
#kontakt { padding: var(--pad); background: var(--color-bg); }

/* 3 karty vedle sebe */
.contact-persons-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin-bottom: 20px;
}

/* Mapa + box pod sebou */
.contact-bottom {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch;
}

/* Firemní box */
.contact-company {
  position: relative; overflow: hidden;
}
.co-logo-wrap {
  position: absolute; bottom: 18px; right: 18px; opacity: .18; pointer-events: none;
}
.co-logo-wrap img { width: 90px; height: auto; filter: brightness(0) invert(1); }

/* Map height matches company box */
.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); }
.contact-map iframe { width: 100%; height: 100%; min-height: 260px; display: block; border: none; filter: grayscale(15%); }
.contact-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start;
  transition: all var(--t);
}
.contact-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.contact-avatar {
  width: 68px; height: 68px; border-radius: 12px; background: var(--color-primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: #fff; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em;
  overflow: hidden;
}
.contact-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.contact-info h4 { font-size: .92rem; margin-bottom: 2px; }
.contact-role { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--color-accent); margin-bottom: 9px; }
.contact-links { display: flex; flex-direction: column; gap: 3px; }
.contact-links a { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--color-text-muted); transition: color var(--t); }
.contact-links a:hover { color: var(--color-accent); }

.contact-right { display: flex; flex-direction: column; gap: 14px; }
.contact-company {
  background: var(--color-primary); border-radius: var(--radius-lg);
  padding: 26px 28px; color: rgba(255,255,255,.75);
}
.contact-company h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.contact-company a  { display: block; font-size: .88rem; color: rgba(255,255,255,.65); padding: 2px 0; }
.contact-company a:hover { color: #fff; }
.co-meta { font-size: .92rem; color: rgba(255,255,255,.75); line-height: 1.75; margin-bottom: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; }
.co-meta strong { color: rgba(255,255,255,.95); font-weight: 600; }

.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); }
.contact-map iframe { width: 100%; height: 300px; display: block; border: none; filter: grayscale(15%); }

/* =========================================================
   FORMULÁŘ
   ========================================================= */
#poptavka { padding: var(--pad); background: #fff; }

.form-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
.form-intro-text { color: var(--color-text-muted); font-size: .96rem; line-height: 1.7; margin: 14px 0 30px; }
.form-perks { display: flex; flex-direction: column; gap: 14px; }
.form-perk { display: flex; gap: 13px; align-items: flex-start; }
.fp-icon { width: 34px; height: 34px; background: var(--color-accent-lt); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--color-accent); }
.fp-text h5 { font-size: .86rem; color: var(--color-primary); margin-bottom: 1px; }
.fp-text p  { font-size: .8rem; color: var(--color-text-muted); max-width: none; }

.aer-form { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .79rem; font-weight: 600; color: var(--color-text); margin-bottom: 5px; }
.form-group label .req { color: var(--color-accent); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  background: #fff; border: 1.5px solid var(--color-border);
  border-radius: var(--radius); font-size: .9rem; color: var(--color-text);
  transition: border-color var(--t), box-shadow var(--t); appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(32,133,199,.1);
}
.form-group select {
  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='%235a6e82' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 22px; }
.form-checkbox input { width: auto; margin-top: 2px; accent-color: var(--color-accent); }
.form-checkbox label { font-size: .79rem; color: var(--color-text-muted); font-weight: 400; line-height: 1.5; }
.form-checkbox label a { color: var(--color-accent); }
.form-submit { width: 100%; justify-content: center; font-size: .95rem; padding: 14px; }
.form-success { display: none; text-align: center; padding: 48px 20px; }
.form-success.visible { display: block; }
.success-icon { width: 60px; height: 60px; background: #d4edda; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: var(--color-success); font-size: 1.7rem; }
.form-success h3 { color: var(--color-primary); margin-bottom: 8px; }
.form-success p { color: var(--color-text-muted); max-width: 36ch; margin: 0 auto; }

/* =========================================================
   FOOTER – minimalistický single-bar
   ========================================================= */
#site-footer { background: #0d1e2e; }

.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .77rem; color: rgba(255,255,255,.35);
}
.footer-bar a { color: rgba(255,255,255,.4); transition: color var(--t); }
.footer-bar a:hover { color: rgba(255,255,255,.75); }

.footer-left  { display: flex; align-items: center; gap: 6px; }
.footer-center {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.footer-center .footer-logo img {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .45;
}
.footer-copyright { white-space: nowrap; text-align: center; }
.footer-right { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }

@media (max-width: 640px) {
  .footer-bar {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
    padding: 20px 0;
  }
  .footer-left, .footer-right { justify-content: center; }
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 42px; height: 42px; background: var(--color-accent); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(12px);
  transition: all var(--t); z-index: 500;
}
.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover   { background: var(--color-primary); transform: translateY(-2px); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible  { opacity: 1; transform: translateY(0); }
.reveal-delay-1  { transition-delay: .1s; }
.reveal-delay-2  { transition-delay: .2s; }
.reveal-delay-3  { transition-delay: .3s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root { --pad: 68px 0; }
  .about-layout   { grid-template-columns: 1fr; gap: 40px; }
  .services-top   { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .form-layout    { grid-template-columns: 1fr; gap: 36px; }
  .career-layout  { grid-template-columns: 1fr; text-align: center; padding: 44px 36px; }
  .career-ilu     { margin: 0 auto; }
  .career-body    { margin-left: auto; margin-right: auto; }
  .contact-persons-grid { grid-template-columns: 1fr 1fr; }
  .contact-bottom       { grid-template-columns: 1fr; }
  .contact-map iframe   { min-height: 300px; height: 300px; }
  .hero-fan svg         { width: 480px; height: 480px; }
  .services-split       { grid-template-columns: 1fr; }
  .cz-map-svg           { max-height: 140px; }
}

@media (max-width: 768px) {
  :root { --pad: 52px 0; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .site-nav.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 58px;
    background: var(--color-primary); padding: 20px; gap: 2px; z-index: 999;
  }
  .site-nav.open a { color: #fff; padding: 13px 16px; font-size: .95rem; }
  .site-nav.open .nav-cta { margin: 14px 0 0; }
  .hero-fan { display: none; }
  .hero-stats-inner { grid-template-columns: 1fr; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-stat:last-child { border-bottom: none; }
  .hero-pills { gap: 6px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 1; grid-row: span 1; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 8px; text-align: center; }
  .form-row       { grid-template-columns: 1fr; }
  .about-stats-row{ grid-template-columns: 1fr 1fr; }
  .service-tags   { flex-direction: column; }
  .service-tag    { flex: none; }
  .career-layout  { padding: 36px 24px; }
  .aer-form       { padding: 24px 18px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .about-stats-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
}
