/*
Theme Name: Salesa Health Theme
Theme URI: https://salesa.sk
Author: SALESA s.r.o.
Author URI: https://salesa.sk
Description: Profesionálna WordPress téma pre SALESA s.r.o. – zariadenie ambulancií, prístrojové vybavenie a verejné obstarávanie v zdravotníctve.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salesa-health
Tags: health, medical, professional, elementor, one-page
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════════ */
:root {
  /* Palette */
  --c-teal:        #2D7D7B;
  --c-teal-d:      #1A5452;
  --c-teal-l:      #3A9E9B;
  --c-teal-pale:   #EBF6F6;
  --c-accent:      #00C4B4;       /* vivid accent for CTAs */
  --c-white:       #FFFFFF;
  --c-surface:     #F8FAFA;
  --c-border:      rgba(0,0,0,0.07);
  --c-gray-400:    #9BAAAA;
  --c-gray-600:    #4E6060;
  --c-dark:        #0D1F1F;
  --c-dark-soft:   #162828;

  /* Typography */
  --f-display: 'Syne', 'Inter', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --r-sm:   6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-pill:100px;

  /* Shadows */
  --sh-card:  0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --sh-hover: 0 4px 8px rgba(0,0,0,0.06), 0 20px 48px rgba(45,125,123,0.18);
  --sh-nav:   0 1px 0 rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t:    0.35s;
}

/* ═══════════════════════════════════════════════
   RESET
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  color: var(--c-dark);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-teal); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--c-teal-l); }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--c-dark);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--c-gray-600); line-height: 1.7; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-teal);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════ */
.container        { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.container--narrow{ max-width: 860px;  margin: 0 auto; padding: 0 32px; }
.section          { padding: 112px 0; }
.section--alt     { background: var(--c-surface); }
.section--dark    { background: var(--c-dark); }

.section-header   { margin-bottom: 72px; }
.section-header p { font-size: 1.1rem; max-width: 580px; margin-top: 1rem; }

/* ═══════════════════════════════════════════════
   NAVIGATION  ← Logo zapracovaný do bar menu
══════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}

/* Transparent on top */
.site-nav.nav-top {
  background: transparent;
}

/* Solid after scroll */
.site-nav.nav-solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--c-border);
  box-shadow: var(--sh-nav);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 86px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 0;
}

/* ── Logo block ── */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  line-height: 0;
}
.nav-logo img {
  display: block;
  width: 186px;
  height: auto;
  max-height: 82px;
  object-fit: cover;
  transition: opacity var(--t) var(--ease);
}
/* White logo on transparent nav over dark hero */
.site-nav.nav-top .nav-logo img {
  filter: none;
  opacity: 0.98;
}
.site-nav.nav-solid .nav-logo img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(18%) saturate(950%) hue-rotate(131deg) brightness(92%) contrast(96%);
  opacity: 1;
}


/* ── Links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin-right: 24px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  color: var(--c-gray-600);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.site-nav.nav-top .nav-links a { color: rgba(255,255,255,0.82); }
.nav-links a:hover              { color: var(--c-teal); background: var(--c-teal-pale); }
.site-nav.nav-top .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.12); }

/* ── CTA pill ── */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  background: var(--c-teal);
  color: #fff !important;
  border: 1.5px solid var(--c-teal);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.nav-cta-btn:hover {
  background: var(--c-teal-d);
  border-color: var(--c-teal-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,125,123,0.32);
}
.site-nav.nav-top .nav-cta-btn {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}
.site-nav.nav-top .nav-cta-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  margin-left: 16px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: var(--t) var(--ease);
}
.site-nav.nav-top .nav-hamburger span { background: white; }

/* ═══════════════════════════════════════════════
   HERO  — full-dark, premium
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-dark);
  padding-top: 76px;
}

/* Mesh gradient layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(45,125,123,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(0,196,180,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Geometric line grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 28px;
}
.hero-tag::before {
  content:'';
  display:block;
  width:28px; height:2px;
  background:var(--c-accent);
  border-radius:2px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-accent);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 44px;
  line-height: 1.75;
  max-width: 520px;
}
.hero-lead b { color: rgba(255,255,255,0.85); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Right column – floating cards stack */
.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease);
}
.hero-chip:hover {
  transform: translateX(-6px);
  border-color: rgba(45,125,123,0.5);
}
.hero-chip-icon { font-size: 1.8rem; margin-bottom: 10px; }
.hero-chip h4   { color: #fff; font-size: 1rem; margin-bottom: 5px; }
.hero-chip p    { font-size: 0.84rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ═══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--c-accent);
  color: var(--c-dark);
  border-color: var(--c-accent);
}
.btn-primary:hover {
  background: #00d4c3;
  border-color: #00d4c3;
  color: var(--c-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,196,180,0.35);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}
.btn-teal {
  background: var(--c-teal);
  color: #fff;
  border-color: var(--c-teal);
}
.btn-teal:hover {
  background: var(--c-teal-d);
  border-color: var(--c-teal-d);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,125,123,0.32);
}
.btn-outline-teal {
  background: transparent;
  color: var(--c-teal);
  border-color: var(--c-teal);
}
.btn-outline-teal:hover {
  background: var(--c-teal);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white-solid {
  background: #fff;
  color: var(--c-dark);
  border-color: #fff;
}
.btn-white-solid:hover {
  background: var(--c-teal-pale);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════════════ */
.s-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border) 20%, var(--c-border) 80%, transparent);
  border: none;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   PROCESS CARDS  (Sekcia 1)
══════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-accent));
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-hover);
  border-color: rgba(45,125,123,0.15);
}
.process-card:hover::before { opacity: 1; }

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--c-teal-pale);
  color: var(--c-teal);
  border-radius: var(--r-md);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 18px;
  font-family: var(--f-display);
}
.process-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-card p  { font-size: 0.875rem; margin: 0; line-height: 1.65; }

/* ═══════════════════════════════════════════════
   CHECKLIST
══════════════════════════════════════════════ */
.checklist-wrap {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  padding: 48px;
  border: 1px solid var(--c-border);
  margin-top: 64px;
}
.checklist-wrap h3 { margin-bottom: 6px; }
.checklist-wrap > p { margin-bottom: 32px; }

.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--c-gray-600);
  padding: 12px 16px;
  background: var(--c-white);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.checklist li:hover {
  border-color: var(--c-teal);
  transform: translateX(3px);
  color: var(--c-dark);
}
.check-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--c-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   EQUIPMENT GRID  (Sekcia 2)
══════════════════════════════════════════════ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eq-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.eq-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-hover);
}

.eq-thumb {
  height: 180px;
  padding: 0;
  background: linear-gradient(135deg, var(--c-teal-pale) 0%, #d6f0ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.eq-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
/* Pravý stĺpec: jemne upravené centrovanie, aby predmety neboli odrezané */
.eq-card:nth-child(3) .eq-thumb img {
  object-position: 54% center;
}
.eq-card:nth-child(6) .eq-thumb img {
  object-position: 58% center;
}
.eq-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0.12));
}

.eq-body { padding: 26px 28px; }
.eq-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-teal);
  background: var(--c-teal-pale);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.eq-body h3 { font-size: 1rem; margin-bottom: 8px; }
.eq-body p  { font-size: 0.85rem; margin: 0; line-height: 1.65; }

/* ═══════════════════════════════════════════════
   PROCUREMENT TIMELINE  (Sekcia 3)
══════════════════════════════════════════════ */
.p-timeline {
  position: relative;
  padding-left: 80px;
}
.p-timeline::before {
  content: '';
  position: absolute;
  left: 28px; top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-teal), var(--c-teal-pale));
  border-radius: 2px;
}

.p-item {
  position: relative;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.p-dot {
  position: absolute;
  left: -80px;
  width: 56px; height: 56px;
  background: var(--c-white);
  border: 2px solid var(--c-teal);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-teal);
  box-shadow: 0 0 0 6px var(--c-white);
  transition: all var(--t) var(--ease);
  flex-shrink: 0;
}
.p-item:hover .p-dot {
  background: var(--c-teal);
  color: #fff;
  box-shadow: 0 0 0 6px var(--c-teal-pale);
}

.p-content {
  flex: 1;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px 36px;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.p-item:hover .p-content {
  border-color: rgba(45,125,123,0.2);
  transform: translateX(6px);
  box-shadow: var(--sh-card);
}

.p-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal);
  background: var(--c-teal-pale);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}
.p-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.p-content p  { font-size: 0.875rem; margin: 0; line-height: 1.65; }

/* Info boxes */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.info-box {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px;
  border-top: 3px solid var(--c-teal);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.info-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-hover);
}
.info-box h4 { font-size: 0.95rem; color: var(--c-teal-d); margin-bottom: 10px; }
.info-box p  { font-size: 0.86rem; margin: 0; }

/* ═══════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════ */
.cta-band {
  background: var(--c-dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(45,125,123,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p  { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 40px; max-width: 520px; margin-left:auto; margin-right:auto; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--sh-card);
}
.contact-form-wrap h3 { margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.fg { margin-bottom: 18px; }
.fg label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-gray-600);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}
.fg input,
.fg textarea,
.fg select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--c-dark);
  background: var(--c-surface);
  outline: none;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
  appearance: none;
}
.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(45,125,123,0.1);
  background: #fff;
}
.fg textarea {
  height: 130px;
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
}
.fg textarea::placeholder {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.5;
}

/* Contact info side */
.contact-info h3 { margin-bottom: 8px; }
.contact-info > p { margin-bottom: 36px; }

.c-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: center;
}
.c-icon {
  width: 46px; height: 46px;
  background: var(--c-teal-pale);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(45,125,123,0.12);
}
.c-text strong { display: block; font-size: 0.75rem; color: var(--c-gray-400); margin-bottom: 2px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.c-text span   { font-size: 0.95rem; font-weight: 500; color: var(--c-dark); }

.c-promo {
  background: linear-gradient(135deg, var(--c-teal-d), var(--c-teal));
  border-radius: var(--r-xl);
  padding: 32px;
  margin-top: 32px;
}
.c-promo h4 { color: #fff; margin-bottom: 8px; }
.c-promo p  { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin: 0; }

/* ═══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--c-dark-soft);
  color: rgba(255,255,255,0.5);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img {
  width: min(190px, 100%);
  height: auto;
  margin-bottom: 18px;
  filter: none;
  opacity: 0.96;
}
.footer-brand p  { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; margin: 0; }
.footer-col h4   { color: rgba(255,255,255,0.75); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--f-body); }
.footer-col ul   { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.4); font-size: 0.875rem; transition: color var(--t) var(--ease); }
.footer-col ul li a:hover { color: var(--c-accent); }
.footer-contact-static { color: rgba(255,255,255,0.4); font-size: 0.875rem; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--c-accent); }

/* ═══════════════════════════════════════════════
   ANCHOR OFFSET (sticky nav)
══════════════════════════════════════════════ */
.anchor { display: block; position: relative; top: -92px; }



/* ═══════════════════════════════════════════════
   EQUIPMENT OFFER CTA — page-pristrojove-vybavenie
═══════════════════════════════════════════════ */
.equipment-offer-cta {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  border-radius: var(--r-xl);
  background: var(--c-dark);
  text-align: center;
  padding: 76px 32px;
  isolation: isolate;
}
.equipment-offer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 58% 75% at 50% 56%, rgba(45,125,123,0.34) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0));
}
.equipment-offer-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.equipment-offer-cta__inner {
  max-width: 1120px;
  margin: 0 auto;
}
.equipment-offer-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.08;
  margin-bottom: 24px;
  text-wrap: balance;
}
.equipment-offer-cta p {
  max-width: 900px;
  margin: 0 auto 38px;
  color: rgba(255,255,255,0.62);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  text-wrap: pretty;
}
.equipment-offer-cta__button {
  justify-content: center;
  min-width: 360px;
  padding: 16px 30px;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .equipment-offer-cta {
    margin-top: 48px;
    padding: 56px 20px;
    border-radius: var(--r-lg);
  }
  .equipment-offer-cta__button {
    min-width: 0;
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .process-grid   { grid-template-columns: repeat(2, 1fr); }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .info-boxes     { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-stack     { display: none; }
  .contact-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container      { padding: 0 20px; }
  .section        { padding: 72px 0; }
  .nav-links      { display: none; }
  .nav-hamburger  { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: rgba(13,31,31,0.97);
    backdrop-filter: blur(20px);
    padding: 40px 32px;
    gap: 8px;
    z-index: 999;
  }
  .nav-links.open a     { color: rgba(255,255,255,0.75) !important; font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links.open a:hover { color: var(--c-accent) !important; background: transparent; }
  .nav-cta-btn    { display: none; }
  .hero           { min-height: auto; padding: 120px 0 72px; }
  .hero-stats     { gap: 28px; flex-wrap: wrap; }
  .process-grid   { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr; }
  .p-timeline     { padding-left: 0; }
  .p-timeline::before { display: none; }
  .p-dot          { position: static; margin-bottom: 12px; }
  .p-item         { flex-direction: column; gap: 0; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 12px; text-align: center; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .checklist-wrap { padding: 28px; }
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s var(--ease) both; }
.fd-1 { animation-delay: 0.1s; }
.fd-2 { animation-delay: 0.2s; }
.fd-3 { animation-delay: 0.3s; }
.fd-4 { animation-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   ELEMENTOR COMPAT
══════════════════════════════════════════════ */
.elementor-section { position: relative; }
.elementor-widget-wrap { padding: 0; }

/* ═══════════════════════════════════════════════
   MULTI-PAGE ADDITIONS
══════════════════════════════════════════════ */

/* Teaser sections (homepage) */
.teaser-section { padding: 96px 0; }
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.teaser-grid--rev { direction: rtl; }
.teaser-grid--rev > * { direction: ltr; }

.teaser-text .eyebrow { margin-bottom: 16px; }
.teaser-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  line-height: 1.25;
}
.teaser-lead {
  font-size: 1.05rem;
  color: var(--c-gray-600);
  line-height: 1.75;
  margin-bottom: 36px;
}
.teaser-btn {
  font-size: 0.95rem;
  padding: 14px 28px;
}

.teaser-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.teaser-icon-big {
  font-size: 7rem;
  line-height: 1;
  filter: drop-shadow(0 8px 32px rgba(45,125,123,0.2));
  animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-teal-pale);
  border: 1px solid rgba(45,125,123,0.2);
  color: var(--c-teal-d);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  text-align: center;
}
.teaser-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--c-teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Subpage hero */
.subpage-hero {
  background: var(--c-dark);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 80% 50%, rgba(45,125,123,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.subpage-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}
.subpage-hero .container { position: relative; z-index: 1; }
.subpage-hero .eyebrow   { color: var(--c-accent); }
.subpage-hero .eyebrow::before { background: var(--c-accent); }
.subpage-hero h1  { color: #fff; margin: 12px 0 16px; }
.subpage-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.62);
  max-width: 620px;
  line-height: 1.75;
  margin: 0;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  transition: color var(--t) var(--ease);
}
.back-link:hover { color: var(--c-accent); }

/* Subpage CTA block */
.subpage-cta {
  text-align: center;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--c-border);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Updated nav links to point to pages */
.nav-links a.active { color: var(--c-teal); }

@media (max-width: 900px) {
  .teaser-grid        { grid-template-columns: 1fr; gap: 40px; }
  .teaser-grid--rev   { direction: ltr; }
  .teaser-visual      { display: none; }
  .subpage-hero       { padding: 60px 0 48px; }
}


/* Contact info links */
.c-text a {
  color: var(--c-dark);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.c-text a:hover { color: var(--c-teal); }

/* ═══════════════════════════════════════════════
   SERVICE DETAIL PAGES + SHARED CONTACT SECTION
═══════════════════════════════════════════════ */
.contact-section textarea,
.contact-form-wrap textarea {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
  resize: vertical;
  min-height: 150px;
}

.subpage-cta {
  scroll-margin-top: 110px;
}

.service-page-contact-spacer {
  height: 1px;
}


/* ═══════════════════════════════════════════════
   ACTIVE NAVIGATION + RIGHT SERVICE RAIL
═══════════════════════════════════════════════ */
.nav-links a.active {
  color: var(--c-dark) !important;
  background: var(--c-accent);
  font-weight: 700;
}
.site-nav.nav-top .nav-links a.active {
  color: var(--c-dark) !important;
  background: var(--c-accent);
}

.service-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 58px;
  transition: width var(--t) var(--ease);
}
.service-rail:hover,
.service-rail:focus-within {
  width: 238px;
}
.service-rail__link {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  overflow: hidden;
  padding: 0 16px;
  border-radius: 18px;
  color: #fff;
  background: rgba(13,31,31,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.service-rail__link:hover {
  color: var(--c-dark);
  background: #fff;
  border-color: #fff;
  transform: translateX(-4px);
}
.service-rail__link.is-active {
  color: var(--c-dark) !important;
  background: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: 0 10px 28px rgba(0,196,180,0.35);
}
.service-rail__num {
  flex: 0 0 26px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.8rem;
  text-align: center;
}
.service-rail__label {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.service-rail:hover .service-rail__label,
.service-rail:focus-within .service-rail__label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1180px) {
  .service-rail { display: none; }
}

@media (max-width: 768px) {
  .nav-links.open a.active {
    color: var(--c-dark) !important;
    background: var(--c-accent);
    border-bottom-color: transparent;
    border-radius: 12px;
    padding: 14px 16px;
  }
}

/* ═══════════════════════════════════════════════
   MOBILE OPTIMIZATION — 2026
   Touch-first responsive refinements for phones
═══════════════════════════════════════════════ */
.nav-mobile-cta-item { display: none; }

@media (max-width: 768px) {
  html { scroll-padding-top: 74px; }
  body { overflow-x: hidden; }

  .container,
  .container--narrow {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .section { padding: 58px 0; }
  .section-header { margin-bottom: 38px; }
  .section-header p { font-size: 1rem; }

  h1 { font-size: clamp(2.15rem, 10.2vw, 3.35rem); line-height: 1.05; }
  h2 { font-size: clamp(1.75rem, 8vw, 2.55rem); line-height: 1.1; }
  h3 { font-size: clamp(1.12rem, 5vw, 1.45rem); }

  /* Header */
  .site-nav { min-height: 72px; }
  .nav-inner {
    height: 72px;
    padding: 0 18px;
  }
  .nav-logo img {
    width: 148px;
    max-height: 62px;
  }
  .nav-hamburger {
    width: 44px;
    height: 44px;
    margin-left: 10px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
  }
  .site-nav.nav-solid .nav-hamburger { background: var(--c-teal-pale); }
  .nav-hamburger span { width: 24px; }

  .nav-links.open {
    top: 72px;
    padding: 24px 18px max(28px, env(safe-area-inset-bottom));
    gap: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: flex;
    align-items: center;
    min-height: 52px;
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .nav-links.open a:hover { background: rgba(255,255,255,0.07); }
  .nav-mobile-cta-item { display: list-item; margin-top: 10px; }
  .nav-links.open .nav-mobile-cta {
    justify-content: center;
    color: var(--c-dark) !important;
    background: var(--c-accent);
    border-bottom: 0;
    font-weight: 800;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 104px 0 48px;
    align-items: flex-start;
  }
  .hero-inner {
    display: block;
    padding: 30px 18px 24px;
  }
  .hero-tag { margin-bottom: 20px; }
  .hero h1 { margin-bottom: 22px; }
  .hero-lead {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 30px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 36px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 24px;
  }
  .hero-stat-num { font-size: clamp(1.65rem, 7vw, 2.05rem); }
  .hero-stat-lbl {
    font-size: 0.68rem;
    line-height: 1.35;
    margin-top: 6px;
  }

  /* Home teasers and cards */
  .teaser-grid,
  .teaser-grid--rev {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .teaser-text h2 { text-wrap: balance; }
  .teaser-lead { font-size: 0.98rem; }
  .teaser-btn,
  .subpage-cta .btn,
  .cta-band .btn,
  .equipment-offer-cta__button {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .process-card,
  .eq-card,
  .info-box {
    border-radius: 20px;
  }
  .process-card { padding: 28px 22px; }
  .eq-thumb { height: 150px; }
  .eq-body { padding: 22px; }
  .checklist-wrap {
    margin-top: 40px;
    padding: 24px 18px;
    border-radius: 20px;
  }
  .checklist { grid-template-columns: 1fr; }
  .checklist li { align-items: flex-start; padding: 12px 13px; }

  /* Subpages */
  .subpage-hero {
    padding: 102px 0 46px;
  }
  .subpage-hero h1 {
    margin-top: 8px;
    text-wrap: balance;
  }
  .subpage-lead {
    font-size: 1rem;
    line-height: 1.65;
  }
  .back-link {
    min-height: 42px;
    margin-bottom: 18px;
  }
  .p-item { padding-bottom: 34px; }
  .p-content { width: 100%; }

  /* CTA bands */
  .cta-band { padding: 58px 0; }
  .cta-band p { font-size: 1rem; margin-bottom: 28px; }
  .cta-band .btn-row { display: grid; grid-template-columns: 1fr; }
  .equipment-offer-cta {
    margin-top: 42px;
    padding: 48px 18px;
    border-radius: 20px;
  }
  .equipment-offer-cta h2 { font-size: clamp(1.85rem, 8.5vw, 2.7rem); }
  .equipment-offer-cta p { font-size: 0.98rem; line-height: 1.65; }

  /* Contact */
  .contact-grid { gap: 36px; }
  .contact-form-wrap {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .fg { margin-bottom: 14px; }
  .fg input,
  .fg select,
  .fg textarea {
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom */
    padding: 12px 14px;
  }
  .fg textarea { min-height: 150px; }
  .contact-info > p { margin-bottom: 26px; }
  .c-item {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .c-icon { width: 44px; height: 44px; }
  .c-text { min-width: 0; }
  .c-text span,
  .c-text a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .c-promo { padding: 24px 20px; border-radius: 20px; }

  /* Footer */
  .site-footer { padding: 52px 0 96px; }
  .footer-grid { gap: 30px; margin-bottom: 38px; }
  .footer-brand img { width: 170px; }
  .footer-col ul li a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
  }
  .footer-bottom {
    align-items: center;
    line-height: 1.6;
  }

  /* Service rail becomes a thumb-friendly bottom dock on phones */
  .service-rail {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    top: auto;
    width: auto;
    transform: none;
    gap: 6px;
    padding: 6px;
    z-index: 980;
    border-radius: 18px;
    background: rgba(13,31,31,0.92);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 12px 34px rgba(0,0,0,0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .service-rail:hover,
  .service-rail:focus-within { width: auto; }
  .service-rail__link {
    min-width: 0;
    min-height: 48px;
    padding: 0 8px;
    justify-content: center;
    border-radius: 13px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    gap: 0;
  }
  .service-rail__link:hover { transform: none; }
  .service-rail__link.is-active {
    background: var(--c-accent);
    color: var(--c-dark) !important;
    border-color: var(--c-accent);
  }
  .service-rail__num {
    flex: 0 0 auto;
    font-size: 0.82rem;
  }
  .service-rail__label { display: none; }
}

@media (max-width: 420px) {
  .nav-logo img { width: 136px; }
  .hero-stats { gap: 8px; }
  .hero-stat-lbl { font-size: 0.64rem; }
  .process-card { padding: 24px 18px; }
  .equipment-offer-cta { padding-left: 16px; padding-right: 16px; }
}

@media (hover: none) and (pointer: coarse) {
  .process-card:hover,
  .eq-card:hover,
  .info-box:hover,
  .hero-chip:hover,
  .btn:hover {
    transform: none;
  }
}


/* Final simplification: no inquiry form and no 01/02/03 service rail */
.service-rail { display: none !important; }
.contact-info--solo {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 42px;
  box-shadow: var(--sh-card);
}
@media (max-width: 700px) {
  .contact-info--solo { padding: 24px 18px; border-radius: 20px; }
  .site-footer { padding-bottom: 42px; }
}


/* Canonical SALESA footer — same design on homepage and all service pages */
.salesa-global-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Avoid duplicate global Elementor footers on the pages handled by this theme.
   The precise legacy footer cleanup is completed by the JS fallback in functions.php. */
body.salesa-hide-builder-footer .elementor-location-footer,
body.salesa-hide-builder-footer [data-elementor-type="footer"] {
  display: none !important;
}


/* ═══════════════════════════════════════════════
   CONTACT MAP — premium two-card layout
═══════════════════════════════════════════════ */
.contact-section .contact-grid,
.page-template-page-kontakt .contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.contact-section .contact-info--solo,
.page-template-page-kontakt .contact-info--solo {
  max-width: none;
  margin: 0;
  height: 100%;
}

.contact-map-card {
  min-width: 0;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-dark);
  border: 1px solid rgba(45,125,123,0.18);
  box-shadow: var(--sh-card);
}

.contact-map-frame {
  position: relative;
  min-height: 100%;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  filter: saturate(0.82) contrast(1.04);
}

.contact-map-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13,31,31,0.02) 30%, rgba(13,31,31,0.92) 100%),
    linear-gradient(90deg, rgba(13,31,31,0.12), transparent 55%);
}

.contact-map-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 26px;
  border-radius: 22px;
  background: rgba(13,31,31,0.88);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 50px rgba(0,0,0,0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-map-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--c-accent);
}

.contact-map-kicker::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}

.contact-map-overlay h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.contact-map-overlay p {
  color: rgba(255,255,255,0.68);
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.contact-map-btn {
  padding: 11px 20px;
}

@media (max-width: 900px) {
  .contact-section .contact-grid,
  .page-template-page-kontakt .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-card {
    min-height: 520px;
  }
}

@media (max-width: 600px) {
  .contact-map-card {
    min-height: 440px;
    border-radius: 20px;
  }

  .contact-map-frame iframe {
    min-height: 440px;
  }

  .contact-map-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 20px;
    border-radius: 18px;
  }

  .contact-map-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════
   MOBILE NAV FIX — compact dropdown, no page lock
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .site-nav {
    overflow: visible;
  }

  .nav-links.open {
    position: fixed;
    top: 82px;
    left: 14px;
    right: 14px;
    bottom: auto;
    width: auto;
    max-height: calc(100svh - 100px);
    padding: 14px;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #0b2424;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 2000;
  }

  .nav-links.open li {
    width: 100%;
    margin: 0;
  }

  .nav-links.open a {
    min-height: 54px;
    padding: 14px 16px;
    color: rgba(255,255,255,0.88) !important;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    font-size: 1rem;
    line-height: 1.3;
  }

  .nav-links.open a:hover,
  .nav-links.open a:focus-visible {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
  }

  .nav-links.open a.active {
    color: #092323 !important;
    background: var(--c-accent);
    border-color: var(--c-accent);
    font-weight: 800;
  }

  .nav-links.open .nav-mobile-cta {
    color: #092323 !important;
    background: var(--c-accent);
    border-color: var(--c-accent);
    font-weight: 800;
  }

  .nav-links.open .nav-mobile-cta:hover,
  .nav-links.open .nav-mobile-cta:focus-visible {
    color: #092323 !important;
    background: #20d5c8;
  }

  /* Keep the page scrollable while the menu is open. */
  body.mobile-menu-open {
    overflow-y: auto !important;
    overflow-x: hidden;
    touch-action: pan-y;
  }

  /* Close visual overlap with hero controls / floating elements. */
  .nav-links.open ~ .nav-cta-btn,
  .nav-links.open ~ .nav-hamburger {
    position: relative;
    z-index: 2001;
  }
}

/* Mobile-only navigation entries: Domov + Kontakt */
.nav-mobile-only { display: none; }

@media (max-width: 768px) {
  .nav-links.open .nav-mobile-only { display: block; }
}


/* ═══════════════════════════════════════════════
   MOBILE MENU — section jump links distinction
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links.open .nav-jump-item { margin-top: 4px; }
  .nav-links.open .nav-jump-link {
    color: #86e9e2 !important;
    background: rgba(0,196,180,0.08);
    border-color: rgba(0,196,180,0.34);
    font-weight: 700;
  }
  .nav-links.open .nav-jump-link:hover,
  .nav-links.open .nav-jump-link:focus-visible {
    color: #092323 !important;
    background: #86e9e2;
    border-color: #86e9e2;
  }
  .nav-links.open .nav-jump-link.active {
    color: #092323 !important;
    background: #86e9e2;
    border-color: #86e9e2;
    font-weight: 800;
  }
}


/* ═══════════════════════════════════════════════
   PREMIUM EQUIPMENT VISUALS
═══════════════════════════════════════════════ */
.eq-thumb {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(180deg, #eefafa 0%, #e6f5f5 100%);
}
.eq-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.eq-card:hover .eq-thumb img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}
.eq-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.18) 100%);
}
@media (max-width: 768px) {
  .eq-thumb { height: 205px; }
}
\n\n/* ═══════════════════════════════════════════════\n   CONTACT FORM — restored premium layout\n═══════════════════════════════════════════════ */\n.contact-grid--with-form {\n  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);\n  align-items: stretch;\n}\n\n.contact-grid--with-form .contact-form-wrap,\n.contact-grid--with-form .contact-info,\n.contact-grid--with-form .contact-map-card {\n  height: 100%;\n}\n\n.contact-grid--with-form .contact-map-card {\n  grid-column: 1 / -1;\n  min-height: 460px;\n}\n\n.contact-form-intro {\n  margin-bottom: 28px;\n  max-width: 560px;\n}\n\n.contact-submit-btn {\n  width: 100%;\n  justify-content: center;\n  border-radius: 12px;\n  min-height: 52px;\n}\n\n.contact-submit-btn:disabled {\n  opacity: 0.68;\n  cursor: wait;\n  transform: none;\n}\n\n.contact-form-status {\n  min-height: 24px;\n  margin: 14px 0 0;\n  text-align: center;\n  font-size: 0.875rem;\n  font-weight: 600;\n}\n.contact-form-status.is-success { color: var(--c-teal-d); }\n.contact-form-status.is-error { color: #b63a3a; }\n\n.contact-form-wrap textarea {\n  min-height: 150px;\n  resize: vertical;\n  white-space: pre-wrap;\n  overflow-wrap: break-word;\n  word-break: normal;\n}\n\n@media (max-width: 980px) {\n  .contact-grid--with-form {\n    grid-template-columns: 1fr;\n  }\n  .contact-grid--with-form .contact-map-card {\n    grid-column: auto;\n  }\n}\n\n@media (max-width: 600px) {\n  .contact-form-wrap {\n    padding: 24px 18px;\n    border-radius: 20px;\n  }\n  .contact-form-wrap .form-row {\n    grid-template-columns: 1fr;\n  }\n  .contact-form-wrap input,\n  .contact-form-wrap select,\n  .contact-form-wrap textarea {\n    font-size: 16px;\n  }\n}\n

/* ═══════════════════════════════════════════════
   CONTACT — form replaces map
═══════════════════════════════════════════════ */
.contact-grid--with-form {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 32px;
  align-items: stretch;
}

.contact-grid--with-form .contact-form-wrap,
.contact-grid--with-form .contact-info {
  height: 100%;
}

.contact-grid--with-form .contact-map-card {
  display: none !important;
}

@media (max-width: 980px) {
  .contact-grid--with-form {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   CONTACT — mapa iba na homepage, bez dopytového formulára
═══════════════════════════════════════════════ */
.contact-grid--map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.contact-grid--single {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.contact-grid--map .contact-info,
.contact-grid--map .contact-map-card {
  height: 100%;
}

.contact-map-card {
  min-width: 0;
}

.contact-map-frame {
  position: relative;
  width: 100%;
  min-height: 560px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-card);
  background: linear-gradient(135deg, var(--c-teal-pale), #d6f0ef);
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85) contrast(0.95);
}

.contact-map-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 26px;
  border-radius: 22px;
  background: rgba(13,31,31,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 44px rgba(0,0,0,0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-map-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--c-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-map-overlay h3 {
  color: #fff;
  margin-bottom: 8px;
}

.contact-map-overlay p {
  color: rgba(255,255,255,0.68);
  margin-bottom: 18px;
}

.contact-map-btn {
  width: fit-content;
}

@media (max-width: 980px) {
  .contact-grid--map,
  .contact-grid--single {
    grid-template-columns: 1fr;
  }

  .contact-map-frame {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .contact-map-frame {
    min-height: 460px;
    border-radius: 24px;
  }

  .contact-map-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 20px;
    border-radius: 18px;
  }

  .contact-map-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════
   FORCE CANONICAL SALESA FOOTER
   Hide legacy builder/theme footers on main SALESA pages.
═══════════════════════════════════════════════ */
.salesa-main-page [data-elementor-type="footer"],
.salesa-main-page .elementor-location-footer,
.salesa-main-page #colophon:not(.salesa-global-footer) {
  display: none !important;
}

/* The canonical theme footer must always stay visible. */
.salesa-main-page footer.salesa-global-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}



/* ═══════════════════════════════════════════════
   FINAL CONTACT MAP VISIBILITY FIX
   Homepage + all three service subpages
═══════════════════════════════════════════════ */
.contact-section .contact-grid.contact-grid--map {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

.contact-section .contact-grid.contact-grid--map > .contact-info--solo {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.contact-section .contact-grid.contact-grid--map > .contact-map-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 560px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.contact-section .contact-grid.contact-grid--map .contact-map-frame {
  width: 100% !important;
  height: 100% !important;
  min-height: 560px !important;
}

@media (max-width: 980px) {
  .contact-section .contact-grid.contact-grid--map {
    grid-template-columns: 1fr !important;
  }

  .contact-section .contact-grid.contact-grid--map > .contact-map-card,
  .contact-section .contact-grid.contact-grid--map .contact-map-frame {
    min-height: 500px !important;
  }
}

@media (max-width: 640px) {
  .contact-section .contact-grid.contact-grid--map > .contact-map-card,
  .contact-section .contact-grid.contact-grid--map .contact-map-frame {
    min-height: 460px !important;
  }
}


/* ═══════════════════════════════════════════════
   HERO TITLE — compact 3-line layout
   Vaša ambulancia / Naše riešenia, / od A po Z
═══════════════════════════════════════════════ */
.hero h1.hero-title-compact {
  font-size: clamp(2.55rem, 4.35vw, 4rem);
  line-height: 1.05;
  max-width: 100%;
  letter-spacing: -0.045em;
}

@media (max-width: 1080px) {
  .hero h1.hero-title-compact {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
  }
}

@media (max-width: 760px) {
  .hero h1.hero-title-compact {
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 1.04;
  }
}
