:root{
  --navy:#10224a;
  --navy-2:#172f61;
  --gold:#c49a46;
  --gold-soft:#f0e4c9;
  --text:#142447;
  --muted:#64718b;
  --line:#e7ebf2;
  --soft:#f6f8fc;
  --card:#ffffff;
  --shadow:0 16px 40px rgba(16,34,74,.08);
  --radius:14px;
  --font-display:"Libre Baskerville",Georgia,serif;
  --font-ui:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:#fff;
  font-family:var(--font-ui);
  font-size:15px;
  line-height:1.62;
}
button,input,textarea,select{
  font-family:var(--font-ui);
  font:inherit;
}
button{cursor:pointer}
button,input,textarea,select{border-radius:8px}
button{color:inherit}
a{color:inherit;text-decoration:none}
.container{width:min(1390px,calc(100% - 80px));margin:0 auto}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
}
.header-inner{height:96px;display:flex;align-items:center;gap:30px}
.brand{background:none;border:0;padding:0;display:inline-flex;align-items:center;flex:0 0 auto}
.brand picture{display:block;line-height:0}
.brand-logo{height:52px;width:auto;display:block}
.desktop-nav{display:flex;gap:28px;margin-left:auto}
.nav-link{background:none;border:0;padding:0}
.desktop-nav .nav-link{
  position:relative;
  padding:35px 0;
  color:var(--navy);
  font-weight:500;
  font-size:14px;
}
.desktop-nav .nav-link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:25px;
  height:2px;
  background:transparent;
}
.desktop-nav .nav-link.active{color:var(--gold)}
.desktop-nav .nav-link.active::after{background:var(--gold)}
.header-actions{display:flex;align-items:center;gap:18px;margin-left:34px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:54px;
  padding:0 26px;
  border:0;
  border-radius:8px;
  font-weight:700;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.btn-primary{background:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-2)}
.btn-outline{background:#fff;color:var(--navy);border:1px solid #c7d0e0}
.btn-outline:hover{border-color:var(--navy)}
.btn-gold{background:var(--gold);color:#fff}
.btn-light{background:#fff;color:var(--navy)}
.btn.full{width:100%}
.portal-link{
  min-height:46px;
  padding:0 18px;
  font-size:12px;
  white-space:nowrap;
}
.menu-toggle{
  display:none;
  width:52px;
  height:52px;
  border:0;
  background:transparent;
  color:var(--navy);
  font-size:30px;
  line-height:1;
}
.menu-toggle .menu-open{
  position:relative;
  display:block;
  width:24px;
  height:16px;
  font-size:0;
}
.menu-toggle .menu-open::before,
.menu-toggle .menu-open::after{
  content:"";
  position:absolute;
  left:0;
  width:24px;
  height:2px;
  background:currentColor;
  border-radius:99px;
}
.menu-toggle .menu-open::before{
  top:0;
  box-shadow:0 7px 0 currentColor;
}
.menu-toggle .menu-open::after{bottom:0}
.menu-toggle .menu-close{
  display:none;
  position:relative;
  width:24px;
  height:24px;
  font-size:0;
}
.menu-toggle .menu-close::before,
.menu-toggle .menu-close::after{
  content:"";
  position:absolute;
  left:2px;
  top:11px;
  width:20px;
  height:2px;
  background:currentColor;
  border-radius:99px;
}
.menu-toggle .menu-close::before{transform:rotate(45deg)}
.menu-toggle .menu-close::after{transform:rotate(-45deg)}
.menu-toggle.open .menu-open{display:none}
.menu-toggle.open .menu-close{display:block}
.mobile-nav{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  display:none;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:var(--shadow);
}
.mobile-nav.open{display:block}
.mobile-nav-inner{display:grid;gap:2px;padding:10px 28px 20px}
.mobile-nav .nav-link{
  text-align:left;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  font-weight:600;
}
.mobile-portal-link{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  margin-top:10px;
  border-radius:8px;
  background:var(--navy);
  color:#fff;
  font-weight:800;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.02em;
  border:0;
  width:100%;
}

h1,h2,h3,p{margin-top:0}
h1,h2,
.hero-title,
.section-title{
  font-family:var(--font-display);
  font-weight:400;
  color:var(--navy);
  line-height:1.24;
  letter-spacing:-.018em;
  text-shadow:.018em 0 0 currentColor;
  transform:scaleY(1.045);
  transform-origin:left top;
}
h1{font-size:clamp(34px,3.45vw,52px)}
h2{font-size:clamp(24px,2.15vw,32px)}
h1 span,h2 span,.hero-copy h1 strong{color:var(--gold);font-weight:inherit}
.eyebrow{
  display:block;
  color:var(--gold);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:20px;
  font-size:14px;
}
.section{padding:76px 0;background:#fff}
.about-layout{padding-top:24px}
.section.compact{padding-top:0}

.hero{
  min-height:500px;
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 38%,rgba(255,255,255,.46) 66%,rgba(255,255,255,.04) 100%),
    var(--hero-image) right center/cover no-repeat,
    #fff;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.hero-grid,
.hero .container.hero-grid{
  display:grid;
  grid-template-columns:48% 52%;
  min-height:500px;
  align-items:center;
  width:100vw;
  max-width:none;
  margin:0;
}
.hero-copy{
  position:relative;
  z-index:2;
  padding:58px 0 58px max(40px,calc((100vw - 1390px) / 2 + 40px));
}
.hero-copy p{max-width:600px;color:#4d5d79;font-size:17px}
.hero-copy h1{max-width:660px}
.hero-copy h1::first-line{color:var(--navy)}
.hero-home .hero-copy h1,
.hero-services .hero-copy h1,
.hero-pricing .hero-copy h1,
.hero-blog .hero-copy h1{max-width:760px}
.hero-home .hero-copy h1::after{content:""}
.hero-actions{display:flex;gap:24px;flex-wrap:wrap;margin-top:34px}
.hero-media{
  display:none;
}

.stats-band{background:var(--soft);padding:32px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stat{display:flex;align-items:center;gap:15px}
.round-icon{
  width:50px;height:50px;border-radius:999px;background:var(--navy);color:#fff;
  display:grid;place-items:center;flex:0 0 auto;
}
.round-icon.gold{background:var(--gold)}
svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stat strong{
  display:block;
  font-family:var(--font-display);
  font-weight:400;
  font-size:24px;
  line-height:1;
  letter-spacing:-.014em;
  text-shadow:.01em 0 0 currentColor;
  color:var(--navy);
}
.stat span{color:var(--muted);font-size:12px}

.split-feature{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:60px;
  align-items:start;
}
.split-feature p{color:var(--muted);font-size:16px;max-width:620px}
.feature-card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.mini-card{background:#fff;padding:30px}
.mini-card svg,.service-card svg,.info-stack svg,.why-row svg,.newsletter svg{color:var(--gold)}
.mini-card h3,.service-card h3,.info-stack h3,.why-row h3{margin:18px 0 8px;color:var(--navy)}
.mini-card p,.service-card p,.info-stack p,.why-row p{color:var(--muted);margin-bottom:0}

.about-grid{display:grid;grid-template-columns:.92fr 1fr .52fr;gap:44px;align-items:center}
.about-grid h1{font-size:clamp(32px,2.95vw,46px)}
.about-grid p{font-size:16px;color:var(--muted)}
.about-photo{width:100%;height:520px;object-fit:cover;border-radius:14px;box-shadow:var(--shadow)}
.check-list{list-style:none;padding:0;margin:32px 0 0;display:grid;gap:16px}
.check-list li{position:relative;padding-left:40px;color:#33425f;font-size:16px}
.check-list li::before{
  content:"✓";
  position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;background:var(--gold);color:#fff;font-size:14px;font-weight:800;
}
.info-stack{display:grid;gap:0;background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:28px}
.info-stack article{padding:26px 0;border-bottom:1px solid var(--line)}
.info-stack article:last-child{border-bottom:0}
.why-row{
  display:grid;
  grid-template-columns:1.1fr repeat(4,1fr);
  gap:42px;
  border:1px solid #eadfca;
  border-radius:14px;
  padding:34px;
  background:#fffdf9;
}
.why-row h2{font-size:30px}

.services-section,.pricing-section,.blog-section{background:var(--soft)}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.service-card{
  min-height:205px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:34px;
  box-shadow:0 12px 24px rgba(16,34,74,.04);
  text-align:left;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover{
  transform:translateY(-4px);
  border-color:#d8c69e;
  box-shadow:0 18px 34px rgba(16,34,74,.08);
}
.service-card .text-link{display:inline-block;margin-top:18px;color:var(--gold);font-weight:800;font-size:13px}
.service-detail-section{
  background:
    radial-gradient(circle at 0 0,rgba(196,154,70,.10),transparent 34%),
    #fffdf9;
  padding-top:58px;
}
.service-detail-grid{
  display:grid;
  grid-template-columns:1fr .92fr;
  gap:72px;
  align-items:center;
}
.service-detail-copy h1{font-size:clamp(34px,3vw,50px)}
.service-detail-copy p{font-size:18px;line-height:1.65;color:var(--muted);max-width:720px}
.service-detail-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:34px}
.service-detail-card{
  background:#fff;
  border:1px solid #eadfca;
  border-radius:20px;
  padding:48px;
  box-shadow:var(--shadow);
}
.service-detail-label{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:var(--gold);
  color:#fff;
  font-weight:800;
  margin-bottom:28px;
}
.service-detail-card ul{list-style:none;padding:0;margin:0;display:grid;gap:22px}
.service-detail-card li{position:relative;padding-left:30px;color:#4d5d79;font-size:17px}
.service-detail-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--gold);
}

.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;align-items:stretch}
.price-card{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:44px 34px 30px;
  margin-top:48px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
}
.price-card.featured{padding-top:92px;margin-top:0}
.badge{
  position:absolute;left:0;right:0;top:0;height:48px;border-radius:14px 14px 0 0;
  display:grid;place-items:center;background:var(--navy);color:#fff;text-transform:uppercase;font-weight:800;
}
.price-card h3{text-align:center;font-size:24px;margin-bottom:4px;color:var(--navy)}
.price-card>p{text-align:center;color:var(--muted);min-height:42px}
.price{
  text-align:center;
  margin:20px 0 24px;
  font-family:var(--font-display);
  font-weight:400;
  font-size:48px;
  color:var(--navy);
  line-height:1;
  letter-spacing:-.018em;
  text-shadow:.014em 0 0 currentColor;
}
.featured .price{color:var(--gold)}
.price small{font-family:var(--font-ui);font-size:14px;color:var(--muted);font-weight:500;letter-spacing:0}
.price-card ul{list-style:none;margin:0 0 34px;padding:26px 0 0;border-top:1px solid var(--line);display:grid;gap:12px}
.price-card li{position:relative;padding-left:28px;color:#4d5d79}
.price-card li::before{content:"✓";position:absolute;left:0;color:var(--gold);font-weight:800}
.price-card .btn{margin-top:auto;width:100%;min-height:50px}
.pricing-calculator{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:stretch;
  margin-top:32px;
}
.calc-panel,
.calc-result-card{
  border-radius:14px;
  box-shadow:var(--shadow);
}
.calc-panel{
  background:#fff;
  border:1px solid var(--line);
  padding:36px;
}
.calc-panel h2{font-size:30px;margin-bottom:12px}
.calc-panel p{color:var(--muted);max-width:680px}
.calc-panel label{display:grid;gap:8px;color:var(--navy);font-weight:700;font-size:13px}
.calc-wide{grid-column:1/-1}
.calc-result-card{
  background:var(--navy);
  color:#fff;
  padding:38px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
}
.calc-result-card>span{
  color:#d8b35f;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:12px;
}
.calc-result-card strong{
  display:block;
  font-family:var(--font-display);
  font-weight:400;
  font-size:52px;
  line-height:1;
  letter-spacing:-.018em;
  text-shadow:.014em 0 0 currentColor;
}
.calc-result-card p{color:#dce5f6;margin:0}
.calc-result-card .btn{width:max-content}
.faq-grid{display:grid;grid-template-columns:1fr repeat(4,1fr);gap:18px;align-items:center;margin-top:42px}
.faq-grid h2{font-size:26px;margin:0}
.faq-item{height:58px;border:1px solid var(--line);background:#fff;padding:0 20px;display:flex;justify-content:space-between;align-items:center;color:var(--navy);box-shadow:0 8px 20px rgba(16,34,74,.04)}

.blog-layout{display:grid;grid-template-columns:1fr 320px;gap:32px}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 10px 24px rgba(16,34,74,.04)}
.post-card img{width:100%;height:180px;object-fit:cover;display:block}
.post-card div{padding:20px}
.post-card span{display:inline-flex;background:#f2e5c9;color:#946b20;text-transform:uppercase;font-size:11px;font-weight:800;padding:4px 8px;border-radius:3px}
.post-card h3{font-family:var(--font-display);font-weight:400;text-shadow:.012em 0 0 currentColor;letter-spacing:-.014em;color:var(--navy);font-size:22px;line-height:1.16;margin:14px 0}
.post-card p{color:var(--muted);font-size:14px}
.text-link{border:0;background:transparent;color:var(--navy);font-weight:800;padding:0}
.blog-sidebar{display:grid;gap:28px;align-content:start}
.blog-sidebar article{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;box-shadow:0 10px 24px rgba(16,34,74,.04)}
.blog-sidebar h3{font-family:var(--font-display);font-weight:400;text-shadow:.012em 0 0 currentColor;letter-spacing:-.014em;font-size:25px;line-height:1.12;color:var(--navy)}
.blog-sidebar button:not(.btn){display:flex;justify-content:space-between;width:100%;border:0;background:#fff;padding:12px 0;color:var(--navy);font-weight:700}
.blog-sidebar button span{background:var(--soft);padding:1px 8px;border-radius:999px;color:var(--muted)}
.newsletter .btn,.newsletter .input{width:100%;margin-top:12px}

.contact-hero{
  background:
    linear-gradient(90deg,#fff 0%,#fff 52%,rgba(255,255,255,.42) 70%),
    url("assets/contact_workspace_ekonza.jpeg") right center/cover no-repeat;
  padding:24px 0 80px;
}
.contact-grid{display:grid;grid-template-columns:.78fr .62fr;gap:80px;align-items:start}
.contact-copy h1 span{color:var(--gold)}
.contact-copy p{font-size:16px;color:var(--muted)}
.contact-list{display:grid;gap:24px;margin-top:38px}
.contact-list div{display:grid;grid-template-columns:48px 1fr;column-gap:18px;align-items:start}
.contact-list svg{grid-row:span 2;color:var(--gold);background:#faf8f4;border-radius:999px;padding:12px;width:48px;height:48px}
.contact-list strong{color:var(--navy)}
.contact-list span{color:#4d5d79}
.contact-list.small{gap:18px;margin-top:26px}
.client-portal-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:34px;
  padding:22px;
  border:1px solid #eadfca;
  border-radius:14px;
  background:rgba(255,255,255,.82);
  box-shadow:0 12px 28px rgba(16,34,74,.06);
}
.client-portal-card strong{
  display:block;
  color:var(--navy);
  margin-bottom:4px;
}
.client-portal-card span{color:var(--muted)}
.form-card{background:#fff;border-radius:14px;padding:40px;box-shadow:var(--shadow);border:1px solid var(--line)}
.form-card h2{font-size:26px}
.required-note{margin:-4px 0 18px;color:var(--muted);font-size:13px;line-height:1.55}
.form-status{
  margin:0 0 18px;
  padding:14px 16px;
  border-radius:10px;
  font-size:14px;
  line-height:1.55;
}
.form-status.success{
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  color:#065f46;
}
.form-status.error{
  background:#fef2f2;
  border:1px solid #fecaca;
  color:#991b1b;
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.input{
  width:100%;
  min-height:54px;
  border:1px solid #dce3ef;
  background:#fff;
  padding:14px 16px;
  color:var(--text);
}
.textarea{grid-column:1/-1;min-height:150px;resize:vertical}
.honeypot-field{
  position:absolute !important;
  left:-9999px !important;
  opacity:0 !important;
  pointer-events:none !important;
  height:0 !important;
  width:0 !important;
}
.contact-form{position:relative}
.consent{display:flex;gap:10px;align-items:flex-start;margin:18px 0;color:var(--muted);font-size:14px}
.safe-note{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px;margin:18px 0 0}
.safe-note svg{width:18px;height:18px;color:var(--muted)}
.map-block{display:grid;grid-template-columns:360px 1fr;gap:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line)}
.map-block article{padding:40px}
.map-visual{
  min-height:360px;
  background:#f1f4f9;
  position:relative;
}
.map-visual iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:360px;
  border:0;
}
.map-nav-button{
  position:absolute;
  left:18px;
  bottom:18px;
  min-height:46px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:var(--navy);
  color:#fff;
  font-weight:800;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.02em;
  box-shadow:0 12px 30px rgba(16,34,74,.22);
}
.map-nav-button:hover{background:var(--navy-2)}

.start-page{
  background:#fffdf9;
  color:var(--text);
}
.start-page *{min-width:0}
.start-page p,
.start-page h1,
.start-page h2,
.start-page h3,
.start-page span,
.start-page li{
  overflow-wrap:break-word;
}
.start-page .section{background:transparent}
.start-hero{
  background:
    linear-gradient(90deg,rgba(7,20,46,.96) 0%,rgba(16,34,74,.94) 44%,rgba(16,34,74,.72) 68%,rgba(16,34,74,.36) 100%),
    url("assets/about_hero_new.png") right center/cover no-repeat;
  color:#fff;
  padding:86px 0 74px;
}
.start-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:70px;
  align-items:center;
}
.start-hero-badge{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 16px;
  border:1px solid rgba(240,228,201,.42);
  border-radius:999px;
  background:rgba(196,154,70,.14);
  color:#f0e4c9;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:24px;
}
.start-hero h1{
  max-width:860px;
  color:#fff;
  font-size:clamp(38px,4.3vw,66px);
}
.start-hero h1 span{color:#f0d38f}
.start-hero p{
  max-width:760px;
  color:#dce5f6;
  font-size:18px;
}
.start-hero .btn-outline{
  color:#fff;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.42);
}
.start-hero-panel{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(240,228,201,.66);
  border-radius:16px;
  padding:34px;
  color:var(--navy);
  box-shadow:0 24px 60px rgba(0,0,0,.20);
}
.start-hero-panel strong{
  display:block;
  font-family:var(--font-display);
  font-size:34px;
  line-height:1.12;
  letter-spacing:-.016em;
  text-shadow:.012em 0 0 currentColor;
  margin-bottom:14px;
}
.start-hero-panel span{display:block;color:#4d5d79}
.start-benefits{
  margin-top:-42px;
  padding-bottom:42px;
}
.start-benefit-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.start-benefit-card{
  background:#fff;
  border:1px solid #eadfca;
  border-radius:14px;
  padding:26px;
  box-shadow:0 18px 44px rgba(16,34,74,.10);
}
.start-benefit-card h3,
.start-service-grid h3{
  color:var(--navy);
  font-size:18px;
  margin:18px 0 8px;
}
.start-benefit-card p,
.start-service-grid p,
.start-two-col p,
.start-remote p,
.start-bonus-card p,
.start-form-grid p,
.start-final-cta p{
  color:var(--muted);
}
.start-two-col{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:center;
}
.start-two-col h2,
.start-price-card h2,
.start-remote h2,
.start-bonus-card h2,
.start-faq h2,
.start-form-grid h2,
.start-final-cta h2{
  font-size:clamp(30px,3.1vw,48px);
}
.start-check-card{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px;
  box-shadow:var(--shadow);
}
.start-check-card span{
  position:relative;
  padding:15px 16px 15px 42px;
  border-radius:10px;
  background:#f8f9fc;
  color:#33425f;
  font-weight:700;
}
.start-check-card span::before{
  content:"✓";
  position:absolute;
  left:16px;
  color:var(--gold);
  font-weight:800;
}
.start-warning{padding-top:20px}
.start-warning-card{
  display:grid;
  grid-template-columns:70px 1fr;
  gap:24px;
  background:#fff8eb;
  border:1px solid #eadfca;
  border-radius:16px;
  padding:34px;
  box-shadow:0 14px 34px rgba(196,154,70,.08);
}
.start-warning-card h2{font-size:30px}
.start-warning-card p{color:#4d5d79;margin-bottom:10px}
.start-services{background:var(--soft)}
.start-service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:28px;
}
.start-service-grid article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:28px;
  box-shadow:0 10px 24px rgba(16,34,74,.04);
}
.start-price-clarity{
  background:#fff;
}
.start-price-card{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:48px;
  align-items:center;
  background:var(--navy);
  border-radius:16px;
  padding:48px;
  color:#fff;
  box-shadow:0 24px 60px rgba(16,34,74,.18);
}
.start-price-card h2{color:#fff}
.start-price-card p{color:#dce5f6;font-size:17px}
.start-price-card ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.start-price-card li{
  position:relative;
  padding:13px 14px 13px 38px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
  background:rgba(255,255,255,.06);
}
.start-price-card li::before{
  content:"";
  position:absolute;
  left:16px;
  top:50%;
  width:8px;
  height:8px;
  transform:translateY(-50%);
  border-radius:50%;
  background:var(--gold);
}
.start-process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin:32px 0 22px;
}
.start-process article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
  box-shadow:0 10px 24px rgba(16,34,74,.04);
}
.start-process strong{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:999px;
  background:var(--gold);
  color:#fff;
  margin-bottom:18px;
}
.start-process span{display:block;color:#33425f;font-weight:700}
.start-note{
  max-width:900px;
  font-size:13px;
  border-left:3px solid var(--gold);
  padding-left:16px;
}
.start-bonus-card{
  position:relative;
  background:#fff;
  border:1px solid #eadfca;
  border-radius:16px;
  padding:44px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.start-bonus-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:8px;
  height:100%;
  background:var(--gold);
}
.start-bonus-card p{max-width:880px;font-size:17px}
.start-faq{background:var(--soft)}
.start-faq-list{
  display:grid;
  gap:12px;
  margin-top:28px;
}
.start-faq-list details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0 22px;
  box-shadow:0 8px 20px rgba(16,34,74,.04);
}
.start-faq-list summary{
  cursor:pointer;
  color:var(--navy);
  font-weight:800;
  padding:18px 0;
}
.start-faq-list p{
  color:var(--muted);
  margin:0;
  padding:0 0 18px;
}
.start-form-section{
  background:#fffdf9;
}
.start-form-grid{
  display:grid;
  grid-template-columns:.72fr 1fr;
  gap:54px;
  align-items:start;
}
.start-form-card{padding:34px}
.start-final-cta{
  background:
    linear-gradient(90deg,rgba(7,20,46,.96),rgba(16,34,74,.92)),
    url("assets/home_hero_fullwidth.jpeg") center/cover no-repeat;
  color:#fff;
  padding:72px 0;
  text-align:center;
}
.start-final-cta h2{color:#fff;margin-left:auto;margin-right:auto;max-width:780px}
.start-final-cta p{color:#dce5f6;margin-left:auto;margin-right:auto;max-width:680px}

.cta-wrap{background:var(--soft);padding:42px 0}
.cta-card{
  background:var(--navy);
  color:#fff;
  border-radius:10px;
  min-height:112px;
  padding:28px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}
.cta-card>div{display:flex;align-items:center;gap:26px}
.cta-card svg{color:var(--gold);width:38px;height:38px}
.cta-card h2{color:#fff;font-size:26px;margin-bottom:4px}
.cta-card p{margin:0;color:#dce5f6}

.site-footer{background:#07142e;color:#dbe4f4;padding:58px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr .8fr;gap:38px}
.footer-logo{height:48px;width:auto;margin-bottom:18px}
.site-footer h3{color:#fff;margin-bottom:14px}
.site-footer p{color:#aebbd1}
.footer-phone{display:grid;grid-template-columns:38px 1fr;column-gap:4px}
.site-footer .nav-link,
.footer-portal-link{display:block;color:#aebbd1;margin-bottom:10px;text-align:left}
.footer-portal-link{color:#fff;font-weight:700}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:#8f9db5;font-size:13px}

.portal-page{
  min-height:calc(100vh - 96px);
  background:
    linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 47%,rgba(255,255,255,.50) 100%),
    url("assets/contact_workspace_ekonza.jpeg") right center/cover no-repeat;
  padding:76px 0;
}
.portal-workspace-page{
  background:var(--soft);
  padding:34px 0 70px;
}
.portal-workspace{
  display:grid;
  gap:22px;
}
.portal-workspace-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.portal-workspace-head h1{
  font-size:clamp(32px,3vw,46px);
  margin:0;
}
.portal-lookup-wrap{
  margin:0;
  padding:24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 10px 24px rgba(16,34,74,.04);
}
.portal-company-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px;
  box-shadow:var(--shadow);
}
.portal-company-card-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding-bottom:18px;
  margin-bottom:18px;
  border-bottom:1px solid var(--line);
}
.portal-company-card-head h2{
  font-size:30px;
  margin:0;
}
.portal-company-card-head span{
  color:var(--muted);
  font-size:13px;
}
.portal-company-fields{
  grid-template-columns:repeat(4,1fr);
}
.portal-company-fields .span-2{
  grid-column:span 2;
}
.portal-search-panel{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:end;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
  box-shadow:0 10px 24px rgba(16,34,74,.04);
}
.portal-search-panel label{display:grid;gap:8px;color:var(--navy);font-weight:700;font-size:13px}
.portal-grid{
  display:grid;
  grid-template-columns:1fr 460px;
  gap:80px;
  align-items:center;
}
.portal-grid-wide{
  grid-template-columns:360px 1fr;
  align-items:start;
}
.portal-copy h1{font-size:clamp(34px,3.4vw,54px)}
.portal-copy p{
  max-width:620px;
  color:var(--muted);
  font-size:17px;
}
.portal-points{
  display:grid;
  gap:16px;
  margin-top:34px;
  max-width:520px;
}
.portal-points div{
  display:flex;
  align-items:center;
  gap:14px;
  color:#33425f;
  font-weight:700;
}
.portal-points svg{
  width:42px;
  height:42px;
  padding:10px;
  border-radius:999px;
  color:var(--gold);
  background:#fff8eb;
  flex:0 0 auto;
}
.portal-login-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:42px;
  box-shadow:var(--shadow);
}
.portal-login-card h2{font-size:30px;margin-bottom:8px}
.portal-login-card p{color:var(--muted)}
.portal-login-form{display:grid;gap:18px;margin-top:24px}
.portal-login-form label{display:grid;gap:8px;color:var(--navy);font-weight:700;font-size:13px}
.portal-login-note{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-size:13px;
}
.portal-login-note svg{width:17px;height:17px;color:var(--muted)}
.portal-login-error{
  min-height:0;
  color:#991b1b;
  font-size:13px;
  font-weight:700;
}
.portal-login-error:empty{display:none}
.portal-status{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  background:#fff8eb;
  color:#946b20;
  font-size:12px;
  font-weight:800;
  margin-bottom:16px;
}
.portal-dashboard-grid{
  display:grid;
  gap:12px;
  margin:24px 0;
}
.portal-dashboard-grid div{
  display:grid;
  grid-template-columns:38px 1fr;
  column-gap:14px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f8f9fc;
}
.portal-dashboard-grid svg{
  grid-row:span 2;
  width:38px;
  height:38px;
  padding:9px;
  border-radius:999px;
  color:var(--gold);
  background:#fff;
}
.portal-dashboard-grid strong{color:var(--navy)}
.portal-dashboard-grid span{color:var(--muted);font-size:13px}
.company-search{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:end;
  margin:24px 0 8px;
}
.company-search label{display:grid;gap:8px;color:var(--navy);font-weight:700;font-size:13px}
.company-search-hint{color:var(--muted);font-size:13px;margin-bottom:22px}
.portal-workspace .company-search-hint{margin:-8px 0 0}
.company-detail-shell{
  margin-top:32px;
}
.company-search-output{
  display:grid;
  gap:18px;
}
.registry-placeholder{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:86px;
  padding:18px;
  border:1px dashed #c7d0e0;
  border-radius:12px;
  color:var(--muted);
  background:#f8f9fc;
}
.registry-placeholder.compact{
  min-height:70px;
  margin-bottom:24px;
}
.registry-placeholder svg{width:32px;height:32px;color:var(--gold)}
.registry-placeholder.error{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.registry-result{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px;
  box-shadow:var(--shadow);
}
.registry-result-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  border-bottom:1px solid var(--line);
  padding-bottom:24px;
  margin-bottom:24px;
}
.registry-result-head h2{font-size:32px;margin-bottom:4px}
.registry-result-head p{margin:0;color:var(--muted)}
.registry-result-head>strong{
  flex:0 0 auto;
  padding:10px 14px;
  border-radius:999px;
  background:var(--navy);
  color:#fff;
  font-size:13px;
}
.registry-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.registry-card{
  border:1px solid var(--line);
  border-radius:12px;
  padding:20px;
  background:#fff;
}
.registry-card.wide{grid-column:1/-1}
.registry-card h3{
  font-family:var(--font-ui);
  font-size:16px;
  line-height:1.3;
  letter-spacing:0;
  text-shadow:none;
  transform:none;
  margin-bottom:14px;
}
.registry-row{
  display:grid;
  gap:6px;
  padding:9px 0;
}
.registry-row span{color:var(--muted);font-size:12px;font-weight:700}
.registry-row strong{
  min-height:38px;
  display:flex;
  align-items:center;
  padding:9px 11px;
  border:1px solid #dce3ef;
  border-radius:8px;
  background:#f8f9fc;
  color:#33425f;
  font-weight:700;
}
.registry-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.registry-list li{
  position:relative;
  padding-left:22px;
  color:#33425f;
}
.registry-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.64em;
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--gold);
}
.registry-empty{
  min-height:38px;
  margin:0;
  border:1px solid #dce3ef;
  border-radius:8px;
  background:#f8f9fc;
}
.registry-subcard{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0 14px;
  margin-top:14px;
  background:#f8f9fc;
  border:1px solid #eef1f6;
  border-radius:12px;
  padding:14px;
}
.registry-subcard:first-of-type{margin-top:0}

@media (max-width: 1100px){
  .container{width:min(100% - 48px,920px)}
  .header-inner{height:78px;justify-content:space-between}
  .brand-logo{height:42px}
  .desktop-nav,.header-cta,.portal-link{display:none}
  .menu-toggle{display:grid;place-items:center;margin-left:auto}
  .header-actions{margin-left:auto;flex:0 0 auto}
  .hero .container.hero-grid{grid-template-columns:1fr;min-height:0;width:100vw}
  .hero-copy{padding:48px 24px 22px}
  .hero{background-position:right center}
  .stats-grid,.service-grid,.pricing-grid{grid-template-columns:repeat(2,1fr)}
  .start-hero-grid,
  .start-two-col,
  .start-price-card,
  .start-form-grid{grid-template-columns:1fr}
  .start-benefit-grid,
  .start-process{grid-template-columns:repeat(2,1fr)}
  .start-service-grid{grid-template-columns:repeat(2,1fr)}
  .start-hero{padding:64px 0 66px}
  .start-hero-panel{max-width:520px}
  .split-feature,.about-grid,.contact-grid,.map-block,.blog-layout,.service-detail-grid{grid-template-columns:1fr}
  .portal-grid{grid-template-columns:1fr;gap:36px}
  .portal-grid-wide{grid-template-columns:1fr}
  .portal-search-panel{grid-template-columns:1fr}
  .portal-search-panel .btn{width:100%}
  .registry-grid{grid-template-columns:repeat(2,1fr)}
  .portal-page{padding:50px 0}
  .about-grid{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    padding:48px 24px 42px;
    background:
      linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.70) 52%,rgba(255,255,255,.22) 100%),
      url("assets/about_hero_new.png") 74% center/cover no-repeat;
  }
  .about-copy{
    width:min(100%,620px);
  }
  .about-copy h1,
  .about-copy p,
  .check-list{
    max-width:560px;
  }
  .about-photo{display:none}
  .why-row,.faq-grid,.pricing-calculator{grid-template-columns:1fr 1fr}
  .post-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media (max-width: 700px){
  .container{width:calc(100% - 32px)}
  body{font-size:13.5px;line-height:1.56}
  .header-inner{height:74px}
  .brand-logo{height:36px}
  .menu-toggle{width:44px;height:44px;font-size:26px}
  .hero{
    min-height:0;
    background:
      linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.84) 58%,rgba(255,255,255,.34) 100%),
      var(--hero-image) 62% center/cover no-repeat,
      #fff;
  }
  .hero .container.hero-grid{display:block;width:100vw}
  .hero-copy{
    width:100%;
    margin:0;
    padding:30px 16px 22px;
    min-height:292px;
  }
  h1{
    font-size:29px;
    line-height:1.24;
    letter-spacing:-.018em;
    text-shadow:.014em 0 0 currentColor;
    transform:scaleY(1.035);
    transform-origin:left top;
  }
  h2{
    font-size:22px;
    line-height:1.20;
    letter-spacing:-.016em;
    text-shadow:.012em 0 0 currentColor;
    transform:scaleY(1.025);
    transform-origin:left top;
  }
  .about-grid h1,
  .contact-copy h1{
    font-size:29px;
    line-height:1.24;
    letter-spacing:-.018em;
    text-shadow:.014em 0 0 currentColor;
    transform:scaleY(1.035);
    transform-origin:left top;
  }
  .eyebrow{margin-bottom:12px;font-size:11px}
  .hero-copy p{font-size:13.5px;max-width:310px}
  .hero-actions{display:grid;gap:12px}
  .hero-actions .btn{width:100%}
  .section{padding:38px 0}
  .stats-grid,.feature-card-grid,.service-grid,.pricing-grid,.post-grid,.form-grid,.footer-grid{grid-template-columns:1fr}
  .start-hero{
    padding:34px 0 54px;
    background:
      linear-gradient(90deg,rgba(7,20,46,.96) 0%,rgba(16,34,74,.92) 64%,rgba(16,34,74,.58) 100%),
      url("assets/about_hero_new.png") 62% center/cover no-repeat;
  }
  .start-hero-grid{display:block}
  .start-hero-badge{font-size:10.5px;margin-bottom:16px}
  .start-hero h1{
    font-size:31px;
    line-height:1.22;
    max-width:360px;
  }
  .start-hero p{
    font-size:13.5px;
    max-width:340px;
  }
  .start-hero-panel{display:none}
  .start-benefits{margin-top:-30px;padding-bottom:18px}
  .start-benefit-grid,
  .start-service-grid,
  .start-check-card,
  .start-process{grid-template-columns:1fr}
  .start-benefit-card{padding:22px}
  .start-two-col,
  .start-form-grid{display:grid;grid-template-columns:1fr;gap:26px}
  .start-two-col h2,
  .start-price-card h2,
  .start-remote h2,
  .start-bonus-card h2,
  .start-faq h2,
  .start-form-grid h2,
  .start-final-cta h2{font-size:27px}
  .start-check-card,
  .start-warning-card,
  .start-bonus-card,
  .start-form-card{padding:24px}
  .start-warning-card{grid-template-columns:1fr;gap:16px}
  .start-warning-card .round-icon{width:46px;height:46px}
  .start-warning-card h2{font-size:24px}
  .start-service-grid article{padding:22px}
  .start-price-card{
    grid-template-columns:1fr;
    gap:26px;
    padding:28px 22px;
    border-radius:14px;
  }
  .start-price-card p{font-size:14px}
  .start-price-card .btn{width:100%}
  .start-process{gap:12px}
  .start-process article{padding:20px}
  .start-final-cta{padding:46px 0}
  .start-final-cta .btn{width:100%}
  .stats-band{padding:22px 0}
  .stat{gap:12px}
  .round-icon{width:42px;height:42px}
  .round-icon svg{width:17px;height:17px}
  .stat strong{font-size:20px;line-height:1;letter-spacing:-.012em;text-shadow:.008em 0 0 currentColor}
  .stat span{font-size:12px}
  .mini-card,.service-card{padding:22px}
  .service-detail-section{padding-top:34px}
  .service-detail-grid{gap:28px}
  .service-detail-card{padding:28px}
  .service-detail-copy p{font-size:15px}
  .service-detail-actions{display:grid;gap:12px}
  .service-detail-actions .btn{width:100%}
  .service-detail-card li{font-size:15px}
  .about-copy{
    width:100%;
  }
  .about-copy h1,
  .about-copy p,
  .check-list{
    max-width:335px;
  }
  .about-grid{
    padding:34px 16px 32px;
    background-position:72% center;
    background-image:
      linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.70) 55%,rgba(255,255,255,.20) 100%),
      url("assets/about_hero_new.png");
  }
  .about-photo{display:none}
  .info-stack{padding:18px}
  .why-row{grid-template-columns:1fr;padding:24px}
  .price-card{padding:30px 22px 22px;margin-top:0}
  .price{font-size:40px;line-height:1;letter-spacing:-.016em;text-shadow:.012em 0 0 currentColor}
  .price-card h3{font-size:19px}
  .price-card li{font-size:13.5px}
  .price-card.featured{padding-top:66px;order:-1}
  .pricing-calculator{grid-template-columns:1fr;margin-top:24px}
  .calc-panel,.calc-result-card{padding:24px}
  .calc-panel h2{font-size:24px}
  .calc-result-card strong{font-size:40px}
  .calc-result-card .btn{width:100%}
  .faq-grid{grid-template-columns:1fr}
  .blog-sidebar{display:none}
  .about-layout{padding-top:20px}
  .contact-hero{
    padding:20px 0 42px;
    background:
      linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.84) 58%,rgba(255,255,255,.34) 100%),
      url("assets/contact_workspace_ekonza.jpeg") right center/cover no-repeat;
  }
  .form-card{padding:24px}
  .client-portal-card{display:grid;padding:20px}
  .client-portal-card .btn{width:100%}
  .textarea{grid-column:auto}
  .map-block article{padding:26px}
  .map-visual{min-height:250px}
  .map-visual iframe{min-height:250px}
  .map-nav-button{left:14px;right:14px;bottom:14px}
  .cta-card{display:grid;text-align:left;padding:24px}
  .cta-card>div{align-items:flex-start}
  .cta-card .btn{width:100%}
  .site-footer{padding:42px 0 20px}
  .site-footer h3{font-size:16px}
  .site-footer p,
  .site-footer .nav-link,
  .footer-bottom{font-size:13px}
  .footer-logo{height:40px}
  .portal-page{
    min-height:0;
    padding:34px 0 44px;
    background:
      linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.84) 62%,rgba(255,255,255,.36) 100%),
      url("assets/contact_workspace_ekonza.jpeg") right center/cover no-repeat;
  }
  .portal-copy h1{font-size:29px}
  .portal-copy p{font-size:14px}
  .portal-login-card{padding:24px}
  .portal-workspace-page{padding:28px 0 42px}
  .portal-workspace-head{display:grid}
  .portal-company-card{padding:22px}
  .portal-company-card-head{display:grid;gap:6px}
  .portal-company-fields{grid-template-columns:1fr}
  .portal-company-fields .span-2{grid-column:auto}
  .company-search{grid-template-columns:1fr}
  .company-search .btn{width:100%}
  .registry-result{padding:20px}
  .registry-result-head{display:grid}
  .footer-bottom{display:grid}
}

/* ===== PORTAL AUTOCOMPLETE ===== */
.portal-search-label{display:block;font-weight:600;font-size:15px;color:var(--primary);margin-bottom:6px}
.portal-search-hint-text{font-size:13px;color:var(--muted);margin:0 0 12px}

.company-search-outer{position:relative}
.company-search-input{width:100%}

.company-search-status{font-size:13px;color:var(--muted);margin-top:8px;min-height:18px}
.company-search-status.status-searching,.company-search-status.status-loading{color:var(--gold)}
.company-search-status.status-not-found,.company-search-status.status-error{color:var(--muted)}

.company-dropdown{
  position:absolute;top:calc(100% + 6px);left:0;right:0;
  background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:0 16px 40px rgba(16,38,63,.13);
  z-index:60;overflow:hidden;display:none;max-height:420px;overflow-y:auto;
}
.company-dropdown.open{display:block}

.company-dropdown-item{
  display:block;width:100%;text-align:left;
  padding:12px 18px;background:none;border:none;
  border-bottom:1px solid var(--line);cursor:pointer;transition:background .15s;
}
.company-dropdown-item:last-child{border-bottom:none}
.company-dropdown-item:hover,.company-dropdown-item.active{background:#f6f4ef}

.company-dropdown-name{display:block;font-weight:700;font-size:14px;color:var(--navy);line-height:1.3}
.company-dropdown-ico{display:block;font-size:11px;font-weight:600;color:var(--gold);margin-top:2px}
.company-dropdown-street{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.company-dropdown-city{display:block;font-size:12px;color:var(--muted)}

.company-lookup-wrap{margin-bottom:20px;padding:20px;background:linear-gradient(180deg,#faf9f6,#f4f2ec);border:1px solid var(--line);border-radius:16px}
.company-lookup-label{display:block;font-size:14px;font-weight:600;color:var(--navy);margin-bottom:6px}
.company-lookup-hint{font-size:13px;color:var(--muted);margin:0 0 12px;line-height:1.55}
.company-filled-notice{margin-top:10px;padding:9px 14px;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px;font-size:13px;color:#065f46;font-weight:500}
.company-filled-notice.hidden{display:none !important}
.form-field{display:flex;flex-direction:column;gap:5px}
.form-field-label{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.form-field.span-2{grid-column:span 2}
.field-filled{border-color:#10b981 !important;background:#f0fdf4 !important;transition:border-color .4s,background .4s !important}
@media(max-width:700px){.form-field.span-2{grid-column:auto}}

/* ── Detail karta spoločnosti ─────────────────────────────────── */
.detail-card{
  margin-top:30px;
  border:1px solid #dde5f1;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 24px 70px rgba(16,34,74,.08);
}
.detail-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding:26px 30px;
  background:linear-gradient(135deg,#f8f9fc 0%,#eef3fb 100%);
  border-bottom:1px solid #dde5f1;
}
.detail-card-head h3{
  margin:0 0 6px;
  color:var(--navy);
  font-family:Inter,system-ui,sans-serif;
  font-size:clamp(22px,2vw,32px);
  line-height:1.12;
  letter-spacing:0;
  overflow-wrap:anywhere;
}
.detail-card-head span{font-size:14px;color:#67758f}
.detail-badge{
  flex-shrink:0;
  padding:7px 16px;
  border-radius:99px;
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  color:#065f46;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}
.detail-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:#dde5f1;
  border-bottom:1px solid #dde5f1;
}
.detail-summary div{
  min-width:0;
  padding:18px 24px;
  background:#fff;
}
.detail-summary span{
  display:block;
  margin-bottom:6px;
  color:#6f7c93;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.detail-summary strong{
  display:block;
  color:var(--navy);
  font-size:15px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.detail-groups{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  background:#dde5f1;
}
.detail-section{
  min-width:0;
  background:#fff;
  padding:24px 26px;
  border:0;
}
.detail-section.wide{grid-column:1/-1}
.detail-section h4{
  margin:0 0 16px;
  font-size:13px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:#6f7c93;
}
.detail-row{
  display:grid;
  grid-template-columns:minmax(120px,.42fr) minmax(0,1fr);
  gap:18px;
  align-items:start;
  padding:9px 0;
  border-bottom:1px solid #edf1f7;
  font-size:14px;
  line-height:1.45;
}
.detail-row:last-child{border-bottom:0}
.detail-row span{color:#6f7c93;min-width:0}
.detail-row strong{
  min-width:0;
  text-align:left;
  color:var(--navy);
  font-weight:800;
  overflow-wrap:anywhere;
  word-break:normal;
}
.detail-empty{color:#a0a8b8;font-weight:500}
.detail-person{
  padding:13px 0;
  border-bottom:1px solid #edf1f7;
  font-size:14px;
  display:flex;
  flex-direction:column;
  gap:4px;
  line-height:1.45;
}
.detail-person:last-child{border-bottom:0}
.detail-person span:first-child{font-weight:800;color:var(--navy)}
.detail-person span{color:#6f7c93;overflow-wrap:anywhere}
.detail-list{
  margin:0;
  padding:0;
  list-style:none;
  font-size:14px;
  display:grid;
  gap:8px;
}
.detail-list li{
  position:relative;
  color:var(--navy);
  line-height:1.45;
  padding-left:20px;
  overflow-wrap:anywhere;
}
.detail-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--gold);
}
@media(max-width:900px){
  .detail-summary,
  .detail-groups{grid-template-columns:1fr}
  .detail-section.wide{grid-column:auto}
}
@media(max-width:620px){
  .detail-card-head{display:grid;padding:22px}
  .detail-summary div,
  .detail-section{padding:20px}
  .detail-row{grid-template-columns:1fr;gap:4px}
}

/* ===================================================================
   ADMIN DASHBOARD
   =================================================================== */

/* Farby admin panelu */
:root {
  --admin-bg: #0f172a;
  --admin-sidebar-bg: #111827;
  --admin-sidebar-border: rgba(255,255,255,.07);
  --admin-surface: #1e293b;
  --admin-surface-2: #263347;
  --admin-border: rgba(255,255,255,.08);
  --admin-text: #e2e8f0;
  --admin-muted: #94a3b8;
  --admin-accent: #c49a46;
  --admin-accent-soft: rgba(196,154,70,.15);
  --admin-ok: #10b981;
  --admin-warn: #f59e0b;
  --admin-err: #ef4444;
  --admin-info: #3b82f6;
  --admin-radius: 10px;
}

.admin-page {
  min-height: 100dvh;
  background: var(--admin-bg);
  color: var(--admin-text);
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 96px);
}

/* Sidebar */
.admin-sidebar {
  background: var(--admin-sidebar-bg);
  border-right: 1px solid var(--admin-sidebar-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 96px;
  height: calc(100vh - 96px);
  overflow-y: auto;
}

.admin-sidebar-head {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--admin-sidebar-border);
}

.admin-logo-text {
  display: block;
  font-weight: 800;
  font-size: 15px;
  color: var(--admin-accent);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-logo-sub {
  display: block;
  font-size: 11px;
  color: var(--admin-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 2px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  flex: 1;
}

.admin-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--admin-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.admin-nav-btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  opacity: .7;
}

.admin-nav-btn:hover {
  background: rgba(255,255,255,.06);
  color: var(--admin-text);
}

.admin-nav-btn.active {
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
}

.admin-nav-btn.active svg {
  opacity: 1;
}

.admin-sidebar-footer {
  padding: 14px 10px;
  border-top: 1px solid var(--admin-sidebar-border);
}

.admin-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.admin-back-btn svg {
  width: 15px;
  height: 15px;
}

.admin-back-btn:hover {
  background: rgba(255,255,255,.06);
  color: var(--admin-text);
}

/* Main content */
.admin-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--admin-border);
  background: var(--admin-sidebar-bg);
  flex-wrap: wrap;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--admin-text);
  font-family: var(--font-ui);
  letter-spacing: 0;
  text-shadow: none;
  transform: none;
  line-height: 1.3;
}

.admin-refresh-badge {
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.admin-live-badge {
  background: rgba(16,185,129,.15);
  color: #34d399;
}
.admin-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: admin-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes admin-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.4); }
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-last-refresh {
  font-size: 12px;
  color: var(--admin-muted);
}

.admin-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

.admin-refresh-btn svg {
  width: 14px;
  height: 14px;
}

.admin-refresh-btn:hover {
  background: var(--admin-surface-2);
}

.admin-tab-content {
  padding: 24px 28px;
  flex: 1;
  overflow-x: auto;
  transition: opacity 0.15s ease;
}

/* Klikateľné riadky v tabuľke Importy */
.admin-import-row {
  cursor: pointer;
}
.admin-import-row:hover td {
  background: rgba(255,255,255,.06) !important;
}
.admin-import-row-active td {
  background: rgba(99,102,241,.12) !important;
  border-left: 2px solid #6366f1;
}

/* Detail panel pod tabuľkou Importy */
.admin-import-detail {
  margin-top: 16px;
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  overflow: hidden;
}
.admin-import-detail-inner {
  padding: 20px 24px;
}
.admin-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  color: #e2e8f0;
}
.admin-detail-close {
  background: none;
  border: none;
  color: var(--admin-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}
.admin-detail-close:hover {
  background: rgba(255,255,255,.08);
  color: #e2e8f0;
}
.admin-detail-section-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--admin-muted);
  margin: 14px 0 8px;
}

/* Trend graf */
.admin-detail-trend {
  margin-bottom: 16px;
}
.admin-detail-trend-title {
  font-size: 12px;
  color: var(--admin-muted);
  margin-bottom: 8px;
}
.admin-detail-trend-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
}
.admin-trend-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 3px;
}
.admin-trend-bar-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  background: rgba(255,255,255,.04);
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
.admin-trend-bar {
  width: 100%;
  background: #6366f1;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
  transition: height .3s ease;
}
.admin-trend-label {
  font-size: 10px;
  color: var(--admin-muted);
  white-space: nowrap;
}
.admin-trend-val {
  font-size: 10px;
  color: #94a3b8;
  min-height: 13px;
}

/* Chybové riadky v detaile */
.admin-detail-errors {
  margin-bottom: 14px;
}
.admin-detail-error-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex-wrap: wrap;
}

/* Loading */
.admin-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  color: var(--admin-muted);
  font-size: 14px;
  font-weight: 500;
}

.admin-loading svg {
  width: 20px;
  height: 20px;
  animation: admin-spin 1s linear infinite;
}

@keyframes admin-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.admin-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--admin-muted);
  font-size: 14px;
}

/* Card */
.admin-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  overflow: hidden;
}

/* Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.admin-table thead tr {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--admin-border);
}

.admin-table th {
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--admin-muted);
  white-space: nowrap;
}

.admin-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--admin-border);
  color: var(--admin-text);
  vertical-align: middle;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover td {
  background: rgba(255,255,255,.025);
}

.text-right { text-align: right !important; }

.admin-source-name {
  font-weight: 600;
  color: #e2e8f0;
}

.admin-num {
  font-variant-numeric: tabular-nums;
  color: var(--admin-text);
}

.admin-na {
  color: var(--admin-muted);
}

/* Status dots */
.admin-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

.admin-status-dot::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.admin-status-ok {
  background: rgba(16,185,129,.15);
  color: #34d399;
}

.admin-status-ok::before { background: #10b981; }

.admin-status-warn {
  background: rgba(245,158,11,.15);
  color: #fbbf24;
}

.admin-status-warn::before { background: #f59e0b; }

.admin-status-err {
  background: rgba(239,68,68,.15);
  color: #f87171;
}

.admin-status-err::before { background: #ef4444; }

.admin-status-unknown {
  background: rgba(148,163,184,.1);
  color: var(--admin-muted);
}

.admin-status-unknown::before { background: var(--admin-muted); }

/* Freq badge */
.admin-freq-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(196,154,70,.12);
  color: var(--admin-accent);
  font-size: 11.5px;
  font-weight: 700;
  font-family: monospace;
}

/* Servers grid */
.admin-servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.admin-server-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 18px;
}

.admin-server-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.admin-server-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--admin-text);
}

.admin-server-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
}

.admin-server-status.online {
  background: rgba(16,185,129,.15);
  color: #34d399;
}

.admin-server-status.offline {
  background: rgba(239,68,68,.15);
  color: #f87171;
}

.admin-server-status.unknown {
  background: rgba(148,163,184,.1);
  color: var(--admin-muted);
}

.admin-server-ip {
  font-size: 12px;
  color: var(--admin-muted);
  margin-bottom: 12px;
  font-family: monospace;
}

.admin-server-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-metric span {
  display: block;
  font-size: 10px;
  color: var(--admin-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
}

.admin-metric strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--admin-text);
  line-height: 1;
}

.admin-ram-bar-wrap {
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
}

.admin-ram-bar {
  height: 100%;
  border-radius: 99px;
  transition: width .4s ease;
}

.admin-ram-bar-empty {
  height: 100%;
  background: rgba(255,255,255,.05);
  border-radius: 99px;
}

/* Import logs */
.admin-logs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--admin-muted);
  font-weight: 600;
}

.admin-filter-select {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}

.admin-filter-select:focus {
  outline: none;
  border-color: var(--admin-accent);
}

.admin-logs-count {
  font-size: 12px;
  color: var(--admin-muted);
}

/* Log row colors */
.admin-log-done td { border-left: 3px solid var(--admin-ok); }
.admin-log-running td { border-left: 3px solid var(--admin-info); }
.admin-log-error td { border-left: 3px solid var(--admin-err); }

.admin-log-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-log-badge.admin-log-done {
  background: rgba(16,185,129,.15);
  color: #34d399;
  border-left: none;
}

.admin-log-badge.admin-log-running {
  background: rgba(59,130,246,.15);
  color: #60a5fa;
  border-left: none;
}

.admin-log-badge.admin-log-error {
  background: rgba(239,68,68,.15);
  color: #f87171;
  border-left: none;
}

.admin-log-badge.admin-log-unknown {
  background: rgba(148,163,184,.1);
  color: var(--admin-muted);
  border-left: none;
}

.admin-log-time {
  font-family: monospace;
  font-size: 12px;
  color: var(--admin-muted);
  white-space: nowrap;
}

.admin-log-msg {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--admin-muted);
  font-size: 13px;
}

.admin-cron-script {
  font-family: monospace;
  font-size: 13px;
}

/* DB size */
.admin-dbsize-header {
  margin-bottom: 16px;
}

.admin-dbsize-total {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 16px 22px;
}

.admin-dbsize-total span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--admin-muted);
}

.admin-dbsize-total strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--admin-accent);
}

.admin-dbbar-wrap {
  height: 8px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
}

.admin-dbbar {
  height: 100%;
  background: var(--admin-accent);
  border-radius: 99px;
  transition: width .4s ease;
}

.admin-server-uptime,
.admin-server-lastlog {
  font-size: 11px;
  color: var(--admin-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Skeleton loading */
.skel-table { padding: 8px 0; }
.skel-row {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--admin-border);
  align-items: center;
}
.skel-row:last-child { border-bottom: none; }
.skel-cell {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.05) 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.5s infinite;
  flex: 1;
}
.skel-cell-lg { flex: 3; }
.skel-cell-sm { flex: 0 0 60px; }
@keyframes skel-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Import detail thin loading bar */
.admin-detail-loading-bar {
  height: 3px;
  background: var(--admin-accent);
  border-radius: 99px;
  animation: detail-progress 1.2s ease-in-out infinite;
  margin-bottom: 20px;
}
@keyframes detail-progress {
  0%   { width: 0; opacity: 1; }
  80%  { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* DB bar styles */
.admin-db-bar-wrap {
  height: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
  min-width: 80px;
}
.admin-db-bar {
  height: 100%;
  border-radius: 99px;
  transition: width .4s ease;
}

/* Admin detail loading */
.admin-detail-loading {
  padding: 20px 0;
  color: var(--admin-muted);
  font-size: 13px;
}

/* Responsive admin */
@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--admin-sidebar-border);
  }
  .admin-sidebar-head {
    display: none;
  }
  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px;
    flex: 1;
  }
  .admin-nav-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 12px;
    font-size: 12px;
  }
  .admin-sidebar-footer {
    padding: 10px;
    border-top: none;
    border-left: 1px solid var(--admin-sidebar-border);
  }
  .admin-servers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  /* ── Celá admin stránka = full-height app ── */
  .admin-page {
    min-height: 100dvh;
    /* ŽIADNE overflow: hidden — rozbíja position:fixed na iOS */
  }

  /* ── Layout: column, sidebar IDE dole ── */
  .admin-layout {
    grid-template-columns: 1fr;
    /* ŽIADNE overflow: hidden */
  }

  /* ── SIDEBAR = fixný bottom tab bar ── */
  .admin-sidebar {
    order: 2;                  /* vždy ako posledný element */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(56px + env(safe-area-inset-bottom));
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    border-right: none;
    border-top: 1px solid var(--admin-sidebar-border);
    background: rgba(17,24,39,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .admin-sidebar-head,
  .admin-sidebar-footer { display: none; }

  .admin-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    flex: 1;
    justify-content: space-around;
  }

  .admin-nav-btn {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 2px 4px;
    font-size: 9px;
    border-radius: 0;
    min-height: 56px;
    width: auto;
    text-align: center;
    letter-spacing: 0;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-tap-highlight-color: transparent;
  }

  .admin-nav-btn svg {
    width: 21px;
    height: 21px;
    opacity: .6;
    flex-shrink: 0;
  }
  .admin-nav-btn.active { background: transparent; color: var(--admin-accent); }
  .admin-nav-btn.active svg { opacity: 1; }

  /* ── CONTENT = scrollovateľná plocha medzi topbar a bottom nav ── */
  .admin-content {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
    padding-top: env(safe-area-inset-top, 0px);
    min-height: 100dvh;
  }

  /* ── TOPBAR = nescrolluje, zostáva navrchu ── */
  .admin-topbar {
    flex-shrink: 0;
    padding: 10px 14px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--admin-bg);
    border-bottom: 1px solid var(--admin-border);
    flex-wrap: wrap;
    gap: 6px;
  }

  .admin-topbar-left { gap: 6px; }
  .admin-topbar-right { gap: 8px; }
  .admin-last-refresh { display: none; }
  .admin-refresh-btn  { display: none; }

  /* ── TAB CONTENT = scrollovateľná ── */
  .admin-tab-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 12px 8px;
    overscroll-behavior: contain;
  }

  /* ── Titulok tabi ── */
  .admin-title { font-size: 16px; }
  .admin-refresh-badge { font-size: 10px; padding: 3px 8px; }

  /* ── Server grid ── */
  .admin-servers-grid { grid-template-columns: 1fr; }
  .admin-server-card { padding: 14px; }
  .admin-server-name { font-size: 15px; }

  /* ── Dashboard karty ── */
  .dash-section-growth { grid-template-columns: repeat(2, 1fr); }
  .dash-section-server { grid-template-columns: 1fr; }
  .dash-card { padding: 13px; }
  .dash-card-value { font-size: 19px; }
  .dash-grid { gap: 10px; }
  .dash-health-banner { flex-wrap: wrap; }

  /* ── Detail grid ── */
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-detail-value { font-size: 17px; }

  /* ── SPÄŤ TLAČIDLO — sticky navrchu content area ── */
  .admin-back-to-dash,
  .admin-back-btn-mobile {
    position: sticky;
    top: 0;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--admin-bg);
    color: #818cf8;
    border: none;
    border-bottom: 1px solid var(--admin-border);
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin: -12px -12px 12px; /* kompenzuj tab-content padding */
  }
  .admin-back-to-dash:hover,
  .admin-back-btn-mobile:hover { background: rgba(255,255,255,.04); }

  /* ── Tabuľky ── */
  .admin-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table { min-width: 480px; }
  .admin-table th, .admin-table td { padding: 9px 10px; font-size: 11.5px; }

  /* ── Active sources ── */
  .dash-active-list { max-height: 200px; }

  /* ── Errors ── */
  .dash-error-row { flex-wrap: wrap; gap: 4px; }
  .dash-error-time { width: 100%; font-size: 10px; }

  /* ── Health summary ── */
  .health-summary-row { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .health-sum-num { font-size: 24px; }

  /* ── Import / contact rows ── */
  .admin-import-row td { padding: 11px 10px; }
  .admin-detail-logtitle { font-size: 13px; }
}

/* ── Veľmi malé telefóny ── */
@media (max-width: 375px) {
  .admin-nav-btn { font-size: 8px; }
  .admin-nav-btn svg { width: 18px; height: 18px; }
  .dash-card-value { font-size: 17px; }
  .dash-card-label { font-size: 9px; }
}

/* ── Bez hover na dotykovom zariadení ── */
@media (hover: none) {
  .admin-nav-btn:hover { background: none; color: var(--admin-muted); }
  .admin-nav-btn.active:hover { background: transparent; color: var(--admin-accent); }
  .dash-active-row:hover { background: rgba(255,255,255,.03); }
}

/* ─── Dashboard ─────────────────────────────────────────────────────────────── */
.dash-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-section {
  display: grid;
  gap: 12px;
}

.dash-section-growth {
  grid-template-columns: repeat(4, 1fr);
}

.dash-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 16px;
}

.dash-card-primary {
  border-color: rgba(99,102,241,.35);
}

.dash-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--admin-muted);
  margin-bottom: 8px;
}

.dash-card-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--admin-text);
  line-height: 1;
}

.dash-growth {
  color: #34d399;
}

/* Server karta */
.dash-section-server {
  grid-template-columns: 1fr 1fr;
}

.dash-server-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--admin-muted);
}
.dash-server-row strong {
  color: var(--admin-text);
  font-size: 14px;
}

.dash-mini-bar {
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}
.dash-mini-bar > div {
  height: 100%;
  border-radius: 99px;
  transition: width .5s ease;
}

/* Záloha */
.dash-backup-date {
  font-size: 16px;
  font-weight: 700;
  color: var(--admin-text);
  margin-bottom: 4px;
}
.dash-backup-meta {
  font-size: 12px;
  color: var(--admin-muted);
}
/* Záloha stará > 25 hodín — červené zvýraznenie */
.dash-backup-old {
  border-color: rgba(239,68,68,.45) !important;
  background: rgba(239,68,68,.07) !important;
}
.dash-backup-date-old {
  color: #f87171 !important;
}

/* Aktívne sťahovania */
.dash-section-active {
  grid-template-columns: 1fr;
}

.dash-active-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.dash-active-count {
  background: rgba(99,102,241,.2);
  color: #818cf8;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 99px;
}

.dash-source-select {
  width: 100%;
  background: var(--admin-bg);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  margin-bottom: 10px;
  cursor: pointer;
}

.dash-active-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.dash-active-row {
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.dash-active-row:hover { background: rgba(255,255,255,.07); }

.dash-active-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--admin-text);
  margin-bottom: 4px;
}
.dash-active-meta {
  font-size: 11px;
  color: var(--admin-muted);
  margin-top: 4px;
}

.dash-active-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-progress-bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
}
.dash-progress-large {
  height: 10px;
  margin: 8px 0;
}
.dash-progress-bar {
  height: 100%;
  background: #6366f1;
  border-radius: 99px;
  transition: width .4s ease;
}
.dash-progress-pct {
  font-size: 11px;
  font-weight: 700;
  color: var(--admin-muted);
  min-width: 30px;
  text-align: right;
}

/* Chyby */
.dash-section-errors { grid-template-columns: 1fr; }
.dash-errors-card { border-color: rgba(239,68,68,.3); }
.dash-label-error { color: #f87171; }
.dash-empty-note { font-size: 13px; color: var(--admin-muted); padding: 8px 0; }

.dash-error-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--admin-border);
  font-size: 12px;
}
.dash-error-row:last-child { border-bottom: none; }
.dash-error-src  { font-weight: 700; color: #f87171; min-width: 100px; }
.dash-error-msg  { flex: 1; color: var(--admin-text); }
.dash-error-time { color: var(--admin-muted); font-size: 11px; white-space: nowrap; }
.dash-error-stuck .dash-error-src { color: #f59e0b; }

/* Kontakty widget */
.dash-section-contacts { grid-template-columns: 1fr; }

.dash-contacts-card {
  transition: background .15s;
}
.dash-contacts-card:hover { background: rgba(255,255,255,.07); }

.dash-contacts-badge {
  background: rgba(52,211,153,.15);
  color: #34d399;
  font-size: 22px;
  font-weight: 800;
  padding: 2px 12px;
  border-radius: 99px;
}

.dash-contacts-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--admin-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--admin-border);
}
.dash-contacts-meta:last-of-type { border-bottom: none; }
.dash-contacts-meta span:last-child { color: var(--admin-text); font-weight: 600; }

.dash-contacts-footer {
  font-size: 11px;
  color: var(--admin-accent);
  text-align: right;
  margin-top: 8px;
  opacity: .7;
}

.dash-contacts-type-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 2px 0;
  color: var(--admin-muted);
}
.dash-contacts-type-label { text-transform: capitalize; }
.dash-contacts-type-count { color: var(--admin-text); font-weight: 600; }

/* Detail stránka */
.admin-detail-page { padding: 0; }
.admin-back-to-dash {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,.15);
  color: #818cf8;
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 18px;
}
.admin-back-to-dash:hover { background: rgba(99,102,241,.25); }
.admin-detail-title { font-size: 22px; font-weight: 800; color: var(--admin-text); margin: 0 0 4px; }
.admin-detail-sub { font-size: 13px; color: var(--admin-muted); margin-bottom: 18px; }
.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.admin-detail-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: var(--admin-radius);
  padding: 16px;
}
.admin-detail-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing:.05em; color: var(--admin-muted); margin-bottom: 6px; }
.admin-detail-value { font-size: 20px; font-weight: 800; color: var(--admin-text); }
.admin-detail-pct { font-size: 13px; color: var(--admin-muted); margin-top: 4px; }
.admin-detail-logtitle { font-size: 15px; font-weight: 700; color: var(--admin-text); margin: 0 0 10px; }

/* Responsive — tablet */
@media(max-width:900px) {
  .dash-section-growth  { grid-template-columns: repeat(2, 1fr); }
  .dash-section-server  { grid-template-columns: 1fr; }
  .admin-detail-grid    { grid-template-columns: repeat(2, 1fr); }
  .admin-servers-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Health Banner ─────────────────────────────────────────────────────────── */
.dash-health-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: var(--admin-radius);
  border: 1px solid;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: 4px;
  gap: 12px;
}
.dash-health-ok    { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.25); }
.dash-health-warn  { background: rgba(245,158,11,.1);  border-color: rgba(245,158,11,.35); }
.dash-health-error { background: rgba(239,68,68,.12);  border-color: rgba(239,68,68,.4);  }
.dash-health-banner:hover { filter: brightness(1.1); }

.dash-health-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}
.dash-health-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
}
.dash-pill-error { background: rgba(239,68,68,.2);  color: #f87171; }
.dash-pill-warn  { background: rgba(245,158,11,.2); color: #fbbf24; }

.dash-health-dot { display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0; }
.dash-health-dot-ok { background:#10b981;animation:admin-pulse 2s ease-in-out infinite; }
.dash-health-ok-text { font-size:13px;font-weight:700;color:#34d399; }
.dash-health-time { font-size:11px;color:var(--admin-muted); }

.dash-health-detail-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--admin-text);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.dash-health-detail-btn:hover { background: rgba(255,255,255,.14); }

/* Health Detail stránka */
.health-summary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.health-sum-card {
  border-radius: var(--admin-radius);
  padding: 18px;
  text-align: center;
  border: 1px solid;
}
.health-sum-error { background:rgba(239,68,68,.1);  border-color:rgba(239,68,68,.3);  }
.health-sum-warn  { background:rgba(245,158,11,.1); border-color:rgba(245,158,11,.3); }
.health-sum-ok    { background:rgba(16,185,129,.08);border-color:rgba(16,185,129,.2); }
.health-sum-num   { font-size:32px;font-weight:800;line-height:1; }
.health-sum-error .health-sum-num { color:#f87171; }
.health-sum-warn  .health-sum-num { color:#fbbf24; }
.health-sum-ok    .health-sum-num { color:#34d399; }
.health-sum-label { font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--admin-muted);margin-top:4px; }

.health-issues-list { display:flex;flex-direction:column;gap:8px; }

.health-issue-card {
  border-radius: 10px;
  border: 1px solid;
  padding: 14px 16px;
}
.health-row-error { background:rgba(239,68,68,.08); border-color:rgba(239,68,68,.25); }
.health-row-warn  { background:rgba(245,158,11,.07);border-color:rgba(245,158,11,.25);}
.health-row-ok    { background:rgba(255,255,255,.03);border-color:var(--admin-border); }

.health-issue-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.health-issue-icon  { font-size:15px;flex-shrink:0; }
.health-issue-type  { font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--admin-text); }
.health-issue-table { font-size:11px;background:rgba(255,255,255,.07);padding:2px 8px;border-radius:99px;color:var(--admin-muted);font-family:monospace; }
.health-issue-time  { font-size:11px;color:var(--admin-muted);margin-left:auto; }
.health-issue-msg   { font-size:13px;color:var(--admin-text);margin-bottom:8px;line-height:1.4; }
.health-issue-fix   { font-size:11px;color:var(--admin-muted);background:rgba(255,255,255,.04);padding:8px 10px;border-radius:6px;line-height:1.5; }
.health-fix-label   { font-weight:700;color:var(--admin-accent);margin-right:4px; }

@media (max-width:640px) {
  .health-summary-row { grid-template-columns:repeat(3,1fr); gap:8px; }
  .health-sum-num { font-size:24px; }
  .dash-health-banner { flex-wrap:wrap; }
}
