/* ═══════════════════════════════════════════
   EuroStak WordPress Theme — main.css v1.0.0
   ═══════════════════════════════════════════ */

:root {
  --navy:  #0a0f2e;
  --navy2: #0d1540;
  --navy3: #111a4a;
  --accent:  #009246;
  --accent2: #00b050;
  --blue:  #1e40af;
  --blue2: #2563eb;
  --blue3: #3b82f6;
  --text:  #f8fafc;
  --text2: #cbd5e1;
  --text3: #94a3b8;
  --border:  rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.14);
  --card:  rgba(255,255,255,0.04);
  --card2: rgba(255,255,255,0.07);
  --radius:  12px;
  --radius2: 8px;
}

/* ── Reset & base ─────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Italy top bar ───────────────────────── */
.italy-bar {
  height: 4px;
  background: linear-gradient(90deg, #009246 33.3%, #fff 33.3% 66.6%, #ce2b37 66.6%);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}

/* ── Navigation ──────────────────────────── */
#site-nav {
  position: fixed;
  top: 4px; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,15,46,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border2);
}
.flag-stack { display: flex; flex-direction: column; width: 34px; height: 34px; }
.flag-stack div { flex: 1; }
.logo-text { font-weight: 600; font-size: 18px; color: var(--text); letter-spacing: -.3px; display: block; }
.logo-sub  { font-size: 10px; color: var(--text3); letter-spacing: .3px; display: block; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a:focus { color: var(--text); }

/* WordPress nav menu override */
.nav-links ul { display: flex; gap: 2rem; list-style: none; }
.nav-links ul li a { color: var(--text2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links ul li a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius2);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent2); }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--text2);
  border-radius: 2px;
  display: block;
  transition: .3s;
}

/* ── Buttons ──────────────────────────────── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius2);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .2s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 13px 28px;
  border-radius: var(--radius2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--border2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, border-color .2s;
}
.btn-secondary:hover { background: var(--card2); border-color: rgba(255,255,255,.25); }

/* ── Section globals ─────────────────────── */
section, .coverage-strip { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.bg-navy2 { background: var(--navy2); }
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent2);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.5px;
  margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--text2); max-width: 560px; line-height: 1.7; }
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}
.section-center { text-align: center; margin-bottom: 1rem; }

/* ── Hero ─────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 110px 2rem 80px;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(var(--border2) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border2) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow  { position: absolute; top: -200px; right: -100px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(0,146,70,.12) 0%, transparent 65%); pointer-events: none; }
.hero-glow2 { position: absolute; bottom: -100px; left: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(206,43,55,.07) 0%, transparent 65%); pointer-events: none; }
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,146,70,.12); border: 1px solid rgba(0,146,70,.3);
  color: #4ade80; font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 1.5rem;
  letter-spacing: .5px; text-transform: uppercase;
}
h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -.8px; margin-bottom: 1.25rem;
}
h1 em { font-style: normal; color: var(--accent2); }
.hero-sub { font-size: 1.05rem; color: var(--text2); line-height: 1.75; margin-bottom: 2rem; max-width: 520px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-top: 2.5rem;
}
.stat { background: var(--card); padding: 1.25rem 1rem; text-align: center; }
.stat-n { font-size: 1.8rem; font-weight: 700; color: var(--text); letter-spacing: -.5px; }
.stat-l { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .8px; margin-top: 2px; }

/* ── Rack card ─────────────────────────────── */
.rack-card {
  background: var(--navy2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 1.5rem; position: relative; overflow: hidden;
}
.rack-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #009246, rgba(255,255,255,.3), #ce2b37);
}
.rack-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: .8px;
  color: var(--text3); margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.status-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 6px #22c55e; }
.rack-rows { display: flex; flex-direction: column; gap: 5px; }
.rack-row { height: 27px; border-radius: 4px; display: flex; align-items: center; padding: 0 10px; font-size: 11px; font-weight: 500; gap: 8px; border: 1px solid; }
.rack-row.active { background: rgba(0,146,70,.12); border-color: rgba(0,146,70,.3); color: #86efac; }
.rack-row.idle   { background: rgba(255,255,255,.03); border-color: var(--border); color: var(--text3); }
.rack-row.warn   { background: rgba(206,43,55,.1); border-color: rgba(206,43,55,.25); color: #fca5a5; }
.rack-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.rack-row.active .rack-dot { background: #22c55e; }
.rack-row.idle   .rack-dot { background: #475569; }
.rack-row.warn   .rack-dot { background: #ef4444; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mini-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius2); padding: .75rem 1rem; }
.mini-card-n { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.mini-card-l { font-size: 10px; color: var(--text3); margin-top: 2px; }
.mini-card-bar { height: 3px; background: var(--border); border-radius: 2px; margin-top: 7px; }
.mini-card-bar-fill { height: 3px; border-radius: 2px; }

/* ── Coverage strip ──────────────────────── */
.coverage-strip { background: var(--navy2); padding: 2rem 2rem; }
.coverage-inner { max-width: 1200px; margin: 0 auto; }
.coverage-label { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--text3); margin-bottom: 1rem; text-align: center; }
.coverage-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.city-pill {
  display: flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px;
  font-size: 13px; font-weight: 500; color: var(--text2);
}
.city-pill.primary { border-color: rgba(0,146,70,.35); background: rgba(0,146,70,.08); color: #86efac; }
.city-divider { width: 1px; height: 24px; background: var(--border); align-self: center; }

/* ── Services ────────────────────────────── */
#services { background: var(--navy2); }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-top: 3rem;
}
.svc-card { background: var(--navy2); padding: 2rem 1.75rem; transition: background .25s; position: relative; overflow: hidden; }
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.svc-card:hover { background: var(--navy3); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 44px; height: 44px; border-radius: var(--radius2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 20px;
}
.svc-icon.green  { background: rgba(0,146,70,.14);   color: #86efac; }
.svc-icon.blue   { background: rgba(37,99,235,.15);  color: #93c5fd; }
.svc-icon.teal   { background: rgba(20,184,166,.12); color: #5eead4; }
.svc-icon.amber  { background: rgba(245,158,11,.12); color: #fcd34d; }
.svc-icon.purple { background: rgba(139,92,246,.12); color: #c4b5fd; }
.svc-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .6rem; color: var(--text); }
.svc-card p  { font-size: .875rem; color: var(--text3); line-height: 1.65; }

/* ── About ───────────────────────────────── */
#about { background: var(--navy); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 2rem; }
.about-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.feat-row { display: flex; align-items: flex-start; gap: 1rem; }
.feat-icon {
  width: 36px; height: 36px; border-radius: var(--radius2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,146,70,.12); color: #86efac; margin-top: 2px;
}
.feat-text h4 { font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.feat-text p  { font-size: .82rem; color: var(--text3); line-height: 1.6; }
.about-visual { display: flex; flex-direction: column; gap: 1rem; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cert-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: .9rem 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.cert-card h5 { font-size: .8rem; font-weight: 600; color: var(--text); }
.cert-card span { font-size: .72rem; color: var(--text3); }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.metric-item {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 1rem; text-align: center;
}
.metric-item .n { font-size: 1.5rem; font-weight: 700; color: var(--accent2); }
.metric-item .l { font-size: .72rem; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.testimonial-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.testimonial-card p { font-size: .88rem; color: var(--text2); line-height: 1.75; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,146,70,.18); display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 600; color: #86efac;
  flex-shrink: 0;
}
.author-name { font-size: .85rem; font-weight: 600; }
.author-role { font-size: .75rem; color: var(--text3); }

/* ── Process ──────────────────────────────── */
#process { background: var(--navy2); }
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  margin-top: 3rem; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--border2);
}
.step { text-align: center; padding: 0 1rem; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; position: relative; z-index: 1;
  border: 1px solid var(--border2); background: var(--navy2);
}
.step-num svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step-num.step-green { background: rgba(0,146,70,.15);   border-color: rgba(0,146,70,.4);   color: #86efac; }
.step-num.step-blue  { background: rgba(37,99,235,.15);  border-color: rgba(37,99,235,.4);  color: #93c5fd; }
.step-num.step-amber { background: rgba(245,158,11,.1);  border-color: rgba(245,158,11,.3); color: #fcd34d; }
.step-num.step-red   { background: rgba(206,43,55,.1);   border-color: rgba(206,43,55,.3);  color: #fca5a5; }
.step h3 { font-size: .95rem; font-weight: 600; margin-bottom: .5rem; }
.step p  { font-size: .82rem; color: var(--text3); line-height: 1.6; }

/* ── Why ──────────────────────────────────── */
#why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 3rem; }
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: background .2s, border-color .2s; }
.why-card:hover { background: var(--card2); border-color: var(--border2); }
.why-icon { width: 40px; height: 40px; border-radius: var(--radius2); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 1rem; }
.why-card h4 { font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.why-card p  { font-size: .8rem; color: var(--text3); line-height: 1.6; }

/* ── Industries ───────────────────────────── */
#industries { background: var(--navy2); }
.ind-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: .75rem; margin-top: 2.5rem; }
.ind-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1rem;
  text-align: center; transition: background .2s, border-color .2s;
}
.ind-item:hover { background: var(--card2); border-color: var(--border2); }
.ind-icon { font-size: 26px; margin-bottom: .75rem; }
.ind-item span { font-size: .82rem; font-weight: 500; color: var(--text2); }

/* ── Additional ───────────────────────────── */
#additional { background: var(--navy); }
.add-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.5rem; }
.add-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start; transition: border-color .2s;
}
.add-card:hover { border-color: var(--border2); }
.add-icon { width: 40px; height: 40px; border-radius: var(--radius2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.add-card h4 { font-size: .9rem; font-weight: 600; margin-bottom: .4rem; }
.add-card p  { font-size: .8rem; color: var(--text3); line-height: 1.6; }

/* ── Contact / CTA ───────────────────────── */
#contact {
  background: var(--navy2); padding: 5rem 2rem;
  position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,146,70,.07) 0%, transparent 70%);
}
.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 700; letter-spacing: -.5px; margin-bottom: 1rem; }
.cta-inner > p { color: var(--text2); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.cta-form input,
.cta-sel {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  padding: 12px 16px;
  color: var(--text);
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.cta-form input:focus,
.cta-sel:focus { border-color: rgba(0,146,70,.5); background: rgba(0,146,70,.04); }
.cta-form input::placeholder { color: var(--text3); }
.cta-sel {
  margin-bottom: .75rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: rgba(255,255,255,.05);
}
.cta-sel option, .cta-sel optgroup { background: #0d1540; color: #f8fafc; }
.cta-area {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  padding: 12px 16px;
  color: var(--text);
  font-size: .875rem;
  font-family: inherit;
  resize: vertical;
  min-height: 90px;
  outline: none;
  transition: border-color .2s;
  margin-bottom: .75rem;
  display: block;
}
.cta-area:focus { border-color: rgba(0,146,70,.5); }
.cta-area::placeholder { color: var(--text3); }
.btn-submit {
  width: 100%; background: var(--accent); color: #fff;
  border: none; padding: 14px;
  border-radius: var(--radius2);
  font-weight: 700; font-size: 15px;
  cursor: pointer; font-family: inherit;
  transition: background .2s; letter-spacing: -.2px;
}
.btn-submit:hover { background: var(--accent2); }
.btn-submit:disabled { opacity: .6; cursor: default; }
#contact-result { margin-top: 1rem; padding: .75rem 1.25rem; border-radius: var(--radius2); font-size: .9rem; text-align: center; }
#contact-result.success { background: rgba(0,146,70,.12); border: 1px solid rgba(0,146,70,.3); color: #86efac; }
#contact-result.error   { background: rgba(206,43,55,.12); border: 1px solid rgba(206,43,55,.3); color: #fca5a5; }
.contact-alts { display: flex; justify-content: center; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.contact-alt  { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text3); }
.contact-alt strong { color: var(--text2); font-weight: 500; }

/* ── Footer ───────────────────────────────── */
#site-footer { background: var(--navy); border-top: 1px solid var(--border); padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand p { color: var(--text3); font-size: .82rem; line-height: 1.7; margin-top: .75rem; max-width: 280px; }
.footer-offices { margin-top: 1rem; }
.footer-offices h6 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .7px; color: var(--text3); margin-bottom: .6rem; }
.office-row { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text3); margin-bottom: .35rem; }
.office-row strong { color: var(--text2); font-weight: 500; }
.footer-col h6 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .7px; color: var(--text3); margin-bottom: .9rem; }
.footer-col a { display: block; color: var(--text2); text-decoration: none; font-size: .82rem; margin-bottom: .45rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .78rem; color: var(--text3); }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: var(--text3); text-decoration: none; font-size: .78rem; transition: color .2s; }
.footer-links a:hover { color: var(--text2); }

/* WordPress default widgets */
.widget-title { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .7px; color: var(--text3); margin-bottom: .9rem; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(10,15,46,.98);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    z-index: 99;
  }
  .nav-links.open a { padding: .75rem 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: repeat(3,1fr); }
  .add-grid { grid-template-columns: 1fr; }
  .cta-form { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(3,1fr); }
  .contact-alts { flex-direction: column; align-items: center; gap: .75rem; }
}

/* ═══════════════════════════════════════════
   CAREERS PAGE
   ═══════════════════════════════════════════ */

/* ── Careers hero ──────────────────────────── */
.careers-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 130px 2rem 80px;
  background: var(--navy);
}
.careers-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.careers-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.7px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.careers-hero-sub {
  font-size: 1.1rem;
  color: var(--text2);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.careers-hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}
.cstat {
  flex: 1;
  min-width: 120px;
  background: var(--card);
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.cstat:last-child { border-right: none; }
.cstat-n { display: block; font-size: 1.6rem; font-weight: 700; color: var(--accent2); }
.cstat-l { display: block; font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .7px; margin-top: 3px; }

/* ── Perks grid ────────────────────────────── */
.careers-why { padding: 5rem 2rem; }
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.perk-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: background .2s, border-color .2s;
}
.perk-card:hover { background: var(--card2); border-color: var(--border2); }
.perk-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.perk-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .5rem; }
.perk-card p  { font-size: .83rem; color: var(--text3); line-height: 1.65; }

/* ── Role filters ──────────────────────────── */
.careers-roles { padding: 5rem 2rem; background: var(--navy); }
.role-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, color .2s;
}
.filter-btn:hover { background: var(--card2); border-color: var(--border2); color: var(--text); }
.filter-btn.active {
  background: rgba(0,146,70,.15);
  border-color: rgba(0,146,70,.4);
  color: #86efac;
}

/* ── Role cards ────────────────────────────── */
.roles-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.role-card {
  background: var(--navy2);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  transition: background .2s;
}
.role-card:hover { background: var(--navy3); }
.role-card[style*="display:none"] { display: none !important; }
.role-main { display: flex; align-items: flex-start; gap: 1.25rem; flex: 1; }
.role-icon {
  font-size: 26px;
  width: 52px; height: 52px;
  border-radius: var(--radius2);
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.role-info { flex: 1; }
.role-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.role-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.role-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid;
}
.role-tag.location { background: rgba(0,146,70,.1);  border-color: rgba(0,146,70,.25);  color: #86efac; }
.role-tag.type     { background: rgba(37,99,235,.1); border-color: rgba(37,99,235,.25); color: #93c5fd; }
.role-tag.salary   { background: rgba(245,158,11,.08);border-color:rgba(245,158,11,.2); color: #fcd34d; }
.role-excerpt { font-size: .83rem; color: var(--text3); line-height: 1.6; margin-bottom: .75rem; }
.role-skills { display: flex; flex-wrap: wrap; gap: .4rem; }
.skill-tag {
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 100px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text3);
}
.btn-apply {
  background: transparent;
  border: 1px solid rgba(0,146,70,.4);
  color: #86efac;
  padding: 10px 20px;
  border-radius: var(--radius2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
  cursor: pointer;
  font-family: inherit;
}
.btn-apply:hover { background: rgba(0,146,70,.12); border-color: rgba(0,146,70,.6); }

/* ── Hiring process steps ──────────────────── */
.careers-process { padding: 5rem 2rem; }
.hire-steps-grid { margin-top: 2.5rem; }

/* ── Application form ──────────────────────── */
.careers-apply {
  padding: 5rem 2rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.careers-apply::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,146,70,.06) 0%, transparent 60%);
}
.apply-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.apply-form { margin-top: .5rem; }
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: .75rem;
}
.apply-grid input,
.apply-sel,
.apply-area {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  padding: 12px 16px;
  color: var(--text);
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.apply-grid input:focus,
.apply-sel:focus,
.apply-area:focus { border-color: rgba(0,146,70,.5); background: rgba(0,146,70,.04); }
.apply-grid input::placeholder,
.apply-area::placeholder { color: var(--text3); }
.apply-sel {
  display: block;
  margin-bottom: .75rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: rgba(255,255,255,.05);
}
.apply-sel option, .apply-sel optgroup { background: #0d1540; color: #f8fafc; }
.apply-area {
  resize: vertical;
  min-height: 100px;
  margin-bottom: .75rem;
  display: block;
}

/* Skills checkboxes */
.skills-section { margin-bottom: .75rem; }
.skills-label {
  display: block;
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: .75rem;
}
.skills-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .4rem;
}
.skill-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: var(--card);
  font-size: .8rem;
  color: var(--text2);
  transition: background .15s, border-color .15s;
  user-select: none;
}
.skill-check:hover { background: var(--card2); border-color: var(--border2); }
.skill-check input[type="checkbox"] { accent-color: var(--accent); width: 14px; height: 14px; flex-shrink: 0; }
.skill-check input:checked ~ span { color: #86efac; }

/* CV upload */
.cv-upload-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.cv-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--card);
  border: 1px dashed var(--border2);
  border-radius: var(--radius2);
  padding: 10px 18px;
  font-size: .85rem;
  color: var(--text2);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cv-label:hover { background: var(--card2); border-color: rgba(0,146,70,.4); color: #86efac; }
.cv-filename { font-size: .8rem; color: var(--text3); }

/* GDPR consent */
.apply-consent { margin-bottom: 1rem; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .82rem;
  color: var(--text3);
  cursor: pointer;
  line-height: 1.6;
}
.consent-label input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* Apply result */
#apply-result.success { background: rgba(0,146,70,.12); border: 1px solid rgba(0,146,70,.3); color: #86efac; }
#apply-result.error   { background: rgba(206,43,55,.12); border: 1px solid rgba(206,43,55,.3); color: #fca5a5; }

.apply-alt-contact {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--text3);
}
.apply-alt-contact a { color: var(--accent2); text-decoration: none; }
.apply-alt-contact a:hover { text-decoration: underline; }

/* ── Responsive careers ─────────────────────── */
@media (max-width: 900px) {
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .role-card { flex-direction: column; }
  .btn-apply { align-self: flex-start; }
  .careers-hero-stats { max-width: 100%; }
}
@media (max-width: 600px) {
  .perks-grid { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .skills-check-grid { grid-template-columns: 1fr 1fr; }
  .cstat { min-width: 50%; }
  .role-main { flex-direction: column; }
}

/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER — IT / EN / SV
   ═══════════════════════════════════════════ */
.lang-switcher { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 6px 12px;
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, color .2s;
  letter-spacing: .3px;
}
.lang-toggle:hover { background: var(--card2); border-color: rgba(255,255,255,.25); color: var(--text); }
.lang-flag { font-size: 14px; line-height: 1; }
.lang-chevron { transition: transform .2s; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  list-style: none;
  padding: 6px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 150;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text2);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.lang-option:hover { background: var(--card2); color: var(--text); }
.lang-option.active { color: #86efac; background: rgba(0,146,70,.08); }
.lang-name { flex: 1; }
.lang-check { color: #86efac; flex-shrink: 0; }

/* Mobile: show inside open menu */
@media (max-width: 900px) {
  .nav-links.open .lang-switcher { margin: .75rem 0 0; }
  .nav-links.open .lang-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    margin-top: 8px;
    display: none;
  }
  .nav-links.open .lang-switcher.open .lang-menu { display: block; }
}

/* ═══════════════════════════════════════════
   PROJECTS MAP — jsVectorMap (real geographic)
   ═══════════════════════════════════════════ */
#projects-map { padding: 5rem 2rem; }

.map-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.map-head .section-title { margin-bottom: 0; max-width: 540px; }
.map-head .section-sub { max-width: 420px; font-size: .92rem; }

.map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1.25rem;
  margin-bottom: 1rem;
}
.map-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.lg-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: var(--text2); text-transform: uppercase; letter-spacing: .5px; }
.lg-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.lg-dot.hq        { background: #f5c518; box-shadow: 0 0 6px rgba(245,197,24,.6); }
.lg-dot.progress  { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.6); }
.lg-dot.completed { background: #94a3b8; }
.lg-dot.planned   { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,.6); }
.lg-dot.office    { background: #3b82f6; box-shadow: 0 0 6px rgba(59,130,246,.6); }
.map-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .8px; color: #86efac; background: rgba(0,146,70,.12); border: 1px solid rgba(0,146,70,.3); border-radius: 100px; padding: 5px 14px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px #22c55e; animation: livePulse 1.8s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Layout: map + side panel */
.map-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

/* Map stage */
.map-stage {
  position: relative;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
}
.vectormap { width: 100%; height: 100%; min-height: 520px; }
.map-hint {
  position: absolute;
  bottom: 12px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--text3);
  pointer-events: none;
  white-space: nowrap;
}

/* jsVectorMap dark theme overrides */
.jvm-container { background: transparent !important; }
.jvm-zoom-btn {
  background: var(--card2) !important;
  border: 1px solid var(--border2) !important;
  color: var(--text2) !important;
  border-radius: 7px !important;
  width: 26px !important; height: 26px !important;
  line-height: 22px !important;
  right: 14px !important;
}
.jvm-zoom-btn.jvm-zoomin  { top: 14px !important; }
.jvm-zoom-btn.jvm-zoomout { top: 48px !important; }
.jvm-tooltip {
  background: var(--navy2) !important;
  border: 1px solid var(--border2) !important;
  border-radius: var(--radius2) !important;
  padding: .7rem .85rem !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.5) !important;
  font-family: 'Inter', sans-serif !important;
}
/* pulsing markers */
.es-marker { transition: opacity .25s; animation: esMarkerPulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.es-progress { animation-delay: .2s; }
.es-planned  { animation-delay: .5s; }
.es-hq       { animation-delay: 0s; }
@keyframes esMarkerPulse {
  0%   { opacity: 1; }
  50%  { opacity: .55; }
  100% { opacity: 1; }
}

/* Side panel */
.map-panel {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.panel-tabs { display: flex; gap: .35rem; background: rgba(255,255,255,.03); border-radius: var(--radius2); padding: 4px; }
.ptab { flex: 1; background: none; border: none; color: var(--text3); font-size: 12.5px; font-weight: 500; padding: 8px 4px; border-radius: 6px; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.ptab:hover { color: var(--text2); }
.ptab.active { background: var(--card2); color: var(--text); }

.panel-list { display: flex; flex-direction: column; gap: .4rem; max-height: 300px; overflow-y: auto; padding-right: 2px; }
.panel-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: .7rem .85rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
  transition: background .15s, border-color .15s;
}
.panel-row:hover { background: var(--card2); }
.panel-row.active { border-color: rgba(0,146,70,.5); background: rgba(0,146,70,.08); }
.panel-row.is-hq { border-color: rgba(245,197,24,.35); background: rgba(245,197,24,.07); }
.prow-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(255,255,255,.04); font-size: 14px; }
.prow-icon.hq { color: #f5c518; }
.prow-dot { width: 9px; height: 9px; border-radius: 50%; }
.prow-icon.progress  .prow-dot { background: #22c55e; box-shadow: 0 0 5px rgba(34,197,94,.6); }
.prow-icon.completed .prow-dot { background: #94a3b8; }
.prow-icon.planned   .prow-dot { background: #f59e0b; box-shadow: 0 0 5px rgba(245,158,11,.6); }
.prow-icon.office    .prow-dot { background: #3b82f6; box-shadow: 0 0 5px rgba(59,130,246,.6); }
.prow-text { flex: 1; min-width: 0; }
.prow-name { display: block; font-size: .85rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow-sub { display: block; font-size: .72rem; color: var(--text3); text-transform: uppercase; letter-spacing: .4px; margin-top: 1px; }
.prow-badge { font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 3px 8px; border-radius: 100px; flex-shrink: 0; }
.prow-badge.hq        { background: rgba(245,197,24,.15); color: #f5c518; }
.prow-badge.progress  { background: rgba(0,146,70,.15); color: #86efac; }
.prow-badge.completed { background: rgba(148,163,184,.12); color: #cbd5e1; }
.prow-badge.planned   { background: rgba(245,158,11,.12); color: #fcd34d; }
.prow-badge.office    { background: rgba(59,130,246,.12); color: #93c5fd; }

.panel-selected {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: .85rem 1rem;
  min-height: 70px;
}
.psel-label { font-size: 10px; font-weight: 700; letter-spacing: .8px; color: var(--text3); text-transform: uppercase; }
.psel-hint { font-size: .8rem; color: var(--text3); margin-top: 4px; }
.psel-name { font-size: .95rem; font-weight: 600; color: var(--text); margin-top: 4px; }
.psel-city { font-size: .78rem; color: var(--text3); margin-top: 1px; }
.psel-desc { font-size: .78rem; color: var(--text2); line-height: 1.5; margin-top: 6px; }

.panel-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pstat { background: rgba(255,255,255,.025); border: 1px solid var(--border); border-radius: var(--radius2); padding: .75rem; text-align: center; }
.pstat-n { display: block; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.pstat-n.green { color: #86efac; }
.pstat-n.blue  { color: #93c5fd; }
.pstat-l { display: block; font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

.panel-cta {
  display: block;
  text-align: center;
  background: var(--blue2);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: 13px;
  border-radius: var(--radius2);
  text-decoration: none;
  transition: background .2s;
}
.panel-cta:hover { background: #1d4ed8; }

@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-stage, .vectormap { min-height: 420px; }
  .map-head { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* ═══ Self-contained SVG map overrides ═══ */
.vectormap { position: relative; width: 100%; height: 100%; min-height: 520px; }
.es-europe-svg { width: 100%; height: 100%; display: block; user-select: none; }
.es-country { fill: #16204d; stroke: #0a0f2e; stroke-width: 1; transition: fill .2s; }
.es-italy   { fill: rgba(0,146,70,0.30); stroke: rgba(0,146,70,0.7); stroke-width: 1.2; }
.es-mk { transition: opacity .25s; }
.es-mk-pulse { animation: esPulse 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.es-mk-progress .es-mk-pulse { animation-delay: .2s; }
.es-mk-planned  .es-mk-pulse { animation-delay: .5s; }
@keyframes esPulse { 0% { transform: scale(.6); opacity:.7; } 70% { transform: scale(2.6); opacity:0; } 100% { transform: scale(2.6); opacity:0; } }
.es-mk.is-active .es-mk-pulse { opacity: .9; }
.es-zoom-ctrls { position: absolute; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.es-zoom-btn { width: 30px; height: 30px; border-radius: 7px; background: var(--card2); border: 1px solid var(--border2); color: var(--text2); font-size: 16px; line-height: 1; cursor: pointer; font-family: inherit; transition: background .2s; }
.es-zoom-btn:hover { background: var(--navy3); color: var(--text); }
.es-map-tip { position: absolute; pointer-events: none; background: var(--navy2); border: 1px solid var(--border2); border-radius: var(--radius2); padding: .7rem .85rem; max-width: 230px; z-index: 10; box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.estt-name { font-size: .9rem; font-weight: 600; color: var(--text); }
.estt-city { font-size: .72rem; color: var(--text3); margin: 2px 0 4px; }
.estt-desc { font-size: .74rem; color: var(--text2); line-height: 1.45; }

/* ═══ Hero background image ═══ */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(10,15,46,0.75) 0%, rgba(10,15,46,0.88) 60%, var(--navy) 100%);
}
#hero .hero-inner { position: relative; z-index: 2; }
#hero .hero-grid, #hero .hero-glow, #hero .hero-glow2 { z-index: 1; }

/* ═══ Showcase gallery ═══ */
#showcase { padding: 5rem 2rem; background: var(--navy); }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin-top: 3rem;
}
.showcase-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.showcase-item.tall { grid-row: span 2; }
.showcase-item.wide { grid-column: span 2; }
.showcase-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease; display: block;
}
.showcase-item:hover img { transform: scale(1.06); }
.showcase-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.1rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(10,15,46,0.92));
  display: flex; flex-direction: column; gap: 2px;
}
.sc-title { font-size: .9rem; font-weight: 600; color: var(--text); }
.sc-sub   { font-size: .76rem; color: var(--text2); }
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .showcase-item.wide { grid-column: span 2; }
  .showcase-item.tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .showcase-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .showcase-item.wide { grid-column: span 1; }
}
