/* --------------------------------------------------
   Unified, consistent design system — gray / anthracite
   -------------------------------------------------- */
:root{
  /* dark / antracyt (domyślny) */
  --bg: #0b0d0f;
  --surface: #141517;
  --text: #e6e6e6;
  --muted: #9aa0a6;
  --accent: #9ca3af;
  --accent-2: #c3c7ce;
  --accent-3: #6fbf86;
  --brand-accent: #60a5fa;
  --muted-2: #6b6e73;
  --heading-ink: #f4f7ff;
  --heading-underline: rgba(255,255,255,0.58);
  --card-select-border: #1a7cff;
  --card-select-glow: rgba(10,99,199,0.38);
  --glass: rgba(255,255,255,0.02);
  --radius: 12px;
  --shadow-1: 0 6px 20px rgba(2,6,23,0.35);
  --shadow-2: 0 10px 30px rgba(2,6,23,0.45);
  --space-1:8px; --space-2:12px; --space-3:16px; --space-4:24px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:'Roboto',Arial,sans-serif;background-color:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
a{text-decoration:none}

/* Header */
header{
  padding:10px 18px;
  background-color: var(--surface);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.06));
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.header-inner{max-width:980px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}
.header-left{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;position:relative}
.header-left-top{display:flex;align-items:center;gap:10px;min-width:0}
.header-right{display:flex;align-items:center;gap:8px;justify-content:flex-end}
header .logo-wrap{display:flex;align-items:center;gap:10px;text-decoration:none}
header img.logo{height:30px;filter:grayscale(1);opacity:0.98;display:block}
.logo-text{font-size:.95rem;color:var(--muted);font-weight:700;line-height:1}
nav a{color:var(--text);margin-left:0;font-weight:600;opacity:0.95}
nav a:hover{color:var(--muted)}
nav{display:flex;align-items:center;flex-wrap:wrap}
.menu-toggle{width:34px;height:34px;border:1px solid rgba(255,255,255,0.12);border-radius:8px;background:transparent;color:var(--text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.menu-toggle:hover{background:var(--glass)}
.menu-lines-icon{width:18px;height:18px;display:block;filter:brightness(0) invert(1)}

.header-drawer-menu{position:absolute;top:44px;left:0;min-width:170px;background:var(--surface);border:1px solid rgba(255,255,255,0.12);border-radius:10px;padding:6px;display:none;flex-direction:column;align-items:stretch;gap:2px;box-shadow:0 12px 28px rgba(2,6,23,0.35);z-index:30}
.header-drawer-menu.open{display:flex}
.header-drawer-menu a{padding:8px 10px;border-radius:8px;color:#f8fafc;font-size:.86rem;font-weight:700;opacity:.95;display:flex;align-items:center;justify-content:flex-start;gap:8px;text-align:left}
.header-drawer-menu a:hover{background:var(--glass)}
.drawer-icon-wrap{width:33px;height:33px;border-radius:8px;background:rgba(255,255,255,0.12);display:inline-flex;align-items:center;justify-content:center;flex:0 0 33px}
.drawer-icon{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.header-action{height:34px;padding:0 10px;border:1px solid rgba(255,255,255,0.12);border-radius:8px;background:transparent;color:var(--text);display:inline-flex;align-items:center;gap:7px;font-size:.84rem;font-weight:600;cursor:pointer}
.header-action:hover{background:var(--glass)}
.header-action i{font-size:.8rem}

.day-mode-btn{
  background:#ffffff;
  border-color:#d1d5db;
  color:#111827;
  padding:0 14px;
}

.header-right > .header-action:not(.header-search-btn):not(.lang-toggle-btn),
.header-right > .day-mode-btn,
.header-right > .night-mode-btn{
  width:92px;
  justify-content:center;
}

.lang-toggle-btn{
  min-width:56px;
  height:34px;
  padding:0 10px;
  justify-content:center;
  font-weight:700;
  font-size:.84rem;
}

.day-mode-btn:hover{
  background:#f3f4f6;
}

.day-mode-glyph{width:24px;height:24px;display:block;fill:none;stroke:#111827;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.header-search-btn{background:linear-gradient(180deg,#0e6dd8,#0a63c7);border-color:#1a7cff;color:#f2f8ff}
.header-search-btn:hover{filter:brightness(1.05)}

.header-right-gap{display:inline-block;width:10px}

.header-search{height:34px;min-width:220px;padding:0 10px;border:1px solid #d6dbe2;border-radius:8px;background:#ffffff;color:#111827;display:inline-flex;align-items:center}
.header-search input{width:100%;border:none;outline:none;background:transparent;color:#111827;font-size:.84rem}
.header-search input::placeholder{color:transparent}
/* compact header: show only square logo on small screens */
@media (max-width:520px){
  .logo-text{display:none}
  header .logo-wrap{gap:8px}
}

.visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;border:0;padding:0;margin:-1px}

/* Hero */
/* Hero */
.hero{position:relative;padding:15px 20px 56px;text-align:center;background:transparent;overflow:visible}
.hero h1{font-size:2.25rem;margin:0 0 18px;color:var(--text);letter-spacing:0.3px;position:relative;z-index:2}
.hero p{color:var(--muted);max-width:760px;margin:0 auto;position:relative;z-index:2;line-height:1.7}
.hero .hero-intro-spacer{min-height:.65em;color:transparent;user-select:none}
.personal-card{position:relative;z-index:2}


/* personal card inside hero (~10% of main panel) */
.personal-card{position:absolute;right:20px;bottom:20px;width:12%;min-width:160px;max-width:220px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border-radius:12px;padding:10px;display:flex;gap:10px;align-items:center;border:1px solid rgba(255,255,255,0.03);box-shadow:var(--shadow-1)}
.personal-avatar{width:44px;height:44px;border-radius:8px;object-fit:cover;border:1px solid rgba(255,255,255,0.03)}
.personal-info{flex:1;min-width:0}
.personal-name{font-weight:700;color:var(--text);font-size:0.95rem}
.personal-role{color:var(--muted);font-size:0.85rem}
.personal-links{margin-top:8px;display:flex;gap:8px}
.personal-links a{color:var(--muted);font-size:16px}

/* personal footer block */
.personal-footer{max-width:1100px;margin:0 auto;background:transparent;border-top:1px solid rgba(255,255,255,0.02);padding:8px 16px}

@media (max-width:840px){
  .personal-card{position:static;width:100%;max-width:none;margin-top:18px;display:flex;align-items:center}
  .personal-footer .row{flex-direction:column;align-items:flex-start;gap:8px}
}

  .header-search{min-width:130px}
/* Sections */
.section-title{color:var(--accent);font-size:1.6rem;margin-bottom:1rem;text-align:center}
section{padding:48px 20px}
.lead{max-width:1000px;line-height:1.75;color:var(--text)}
.small{font-size:.9rem}

#about{--about-col-left:minmax(320px,40%);--about-col-right:minmax(0,1fr);--about-col-gap:16px}
#about .about-head,
#about .about-layout{max-width:980px;margin-left:auto;margin-right:auto}
#about .about-head{display:grid;grid-template-columns:var(--about-col-left) var(--about-col-right);column-gap:var(--about-col-gap);align-items:start;margin:0 auto 10px}
#about .about-title{color:var(--accent);font-size:1.6rem;line-height:1.15;margin:0}
#about .about-title-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
#about .about-person-card,
#about .about-company-card{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:#ffffff;border:1px solid rgba(0,0,0,0.12);box-shadow:0 6px 16px rgba(0,0,0,0.12);width:280px;max-width:280px}
#about .about-person-avatar{width:44px;height:44px;border-radius:10px;display:block}
#about .about-person-content{display:flex;flex-direction:column;line-height:1.05}
#about .about-person-name{font-weight:700;color:#000000;font-size:1.05rem}
#about .about-person-role{color:#111827;font-size:.92rem;line-height:1.1;max-width:170px}
#about .about-company-card{justify-self:end;margin-left:auto}
#about .about-company-meta{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:.72rem;line-height:1.25;color:#111111;text-align:left}
#about .about-company-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
#about .about-company-row-address span:last-child{text-align:right}
#about .about-company-meta strong{font-size:.8rem;color:#111111;font-weight:700}
#about .about-company-meta .about-account{font-size:.82rem;color:#0a63c7;font-weight:700}
#about .about-layout{display:grid;grid-template-columns:var(--about-col-left) var(--about-col-right);column-gap:var(--about-col-gap);align-items:start}
#about .about-card{width:100%;margin:0;height:100%}
#about .about-graphic-wrap{display:flex;flex-direction:column;height:100%}
#about .about-graphic{margin:0;padding:0;display:flex;align-items:stretch;justify-content:stretch;overflow:hidden;height:100%}
#about .about-graphic img{width:100%;height:100%;display:block;object-fit:cover}
#about .about-text{margin-top:0;font-size:.9rem;line-height:1.55}
#about .about-subtext{margin-bottom:0;font-size:.8rem;line-height:1.45}

/* skill badges */
.skill-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.skill-badge{background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.03);padding:6px 10px;border-radius:999px;font-size:.9rem;color:var(--muted)}

/* Contact form styles */
#contactForm{display:flex;flex-direction:column;gap:8px}
#contactForm input,#contactForm textarea{background:transparent;border:1px solid rgba(255,255,255,0.06);padding:10px;border-radius:8px;color:var(--text);outline:none}
#contactForm input::placeholder,#contactForm textarea::placeholder{color:rgba(255,255,255,0.25)}
#contactForm label{font-size:.85rem;color:var(--muted);font-weight:600}
#contactForm .btn-primary{background:#eef0f2;color:#0b0d0f;border:1px solid rgba(0,0,0,0.06)}
#contactForm .btn-primary:active{transform:none}

/* focus visible */
.show-focus button:focus, .show-focus a:focus, .show-focus input:focus, .show-focus textarea:focus{box-shadow:0 0 0 3px rgba(96,165,250,0.12);outline:none;border-color:rgba(96,165,250,0.18)}

/* Cards */
.card{background:var(--surface);border-radius:12px;padding:20px;box-shadow:0 6px 20px rgba(2,6,23,0.05);border:1px solid rgba(2,6,23,0.03)}
.card h3{color:var(--accent);text-align:center}

h2.section-title,
#about .about-title,
.card h3,
.services-right-placeholder h3,
.services-popup-head h3,
.extra-card h3,
#contact .contact .card h3,
.auth-panel-title{
  color:var(--heading-ink);
  font-weight:700;
  letter-spacing:.01em;
}

h2.section-title,
#about .about-title,
.card h3,
.services-right-placeholder h3,
.services-popup-head h3,
.extra-card h3,
#contact .contact .card h3,
.auth-panel-title{
  position:relative;
}

h2.section-title::after,
#about .about-title::after,
.card h3::after,
.services-right-placeholder h3::after,
.services-popup-head h3::after,
.extra-card h3::after,
#contact .contact .card h3::after,
.auth-panel-title::after{
  content:'';
  display:block;
  width:48px;
  height:2px;
  margin-top:6px;
  background:var(--heading-underline);
  border-radius:999px;
}

h2.section-title,
.card h3{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.muted{color:var(--muted);font-size:.95rem}
.row{display:flex;gap:16px}
.col{display:flex;flex-direction:column;gap:6px}

/* Services */
.services-layout{max-width:980px;margin:0 auto;display:grid;grid-template-columns:30% 70%;gap:16px;align-items:stretch}
.services-left{display:flex;flex-direction:column;gap:12px;min-width:0}
#services .services-left .section-title{display:inline-flex;align-items:center;justify-content:center;width:fit-content;text-align:center;margin:0;padding:10px 16px;border-radius:12px;border:1px solid #1a7cff;background:linear-gradient(180deg,#0e6dd8,#0a63c7);color:#f2f8ff;font-size:1.05rem;font-weight:700;letter-spacing:.01em;box-shadow:0 8px 20px rgba(10,99,199,0.28)}
.services-open-btn{cursor:pointer;appearance:none}
.services{display:grid;grid-template-columns:1fr;gap:14px;max-width:100%;margin:0;justify-items:stretch}
.services .card{width:100%;max-width:none;height:260px;margin:0;overflow:hidden}
.services .card.service-hidden{display:none}
.services .card.service-visible{animation:serviceFade .45s ease}
.services-right-placeholder{min-height:350px;display:flex;flex-direction:column;justify-content:flex-start;gap:10px;align-self:stretch;margin-top:52px;height:540px}
.services-right-placeholder h3{text-align:left;margin:0}
.services-right-placeholder p{margin:0;line-height:1.6}
.services-right-placeholder .news-link{color:var(--accent);font-weight:700;line-height:1.4;text-decoration:none}
.services-right-placeholder .news-link:hover{text-decoration:underline}
.services-right-placeholder .news-top-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.services-right-placeholder .news-refresh-btn{align-self:flex-start;padding:8px 12px;flex:0 0 auto}
.services-right-placeholder .news-refresh-btn:disabled{opacity:.75;cursor:wait}
.services-right-placeholder .news-source-input{width:48%;min-width:220px;height:34px;padding:0 10px;border:1px solid rgba(255,255,255,0.12);border-radius:8px;background:rgba(255,255,255,0.03);color:var(--text);font-size:.82rem}
.services-right-placeholder .news-link{display:block;min-height:3.2em}
.services-right-placeholder #dailyNewsSummary{min-height:4.8em}
.services-right-placeholder #dailyNewsMeta{min-height:1.3em}

.services-popup-overlay{position:fixed;inset:0;background:rgba(4,8,16,0.58);display:none;align-items:center;justify-content:center;padding:18px;z-index:1600}
.services-popup-overlay.open{display:flex}
.services-popup{width:min(980px,100%);max-height:86vh;overflow:auto;background:var(--surface);border:1px solid rgba(255,255,255,0.12);border-radius:14px;padding:14px;box-shadow:0 18px 44px rgba(2,6,23,0.45)}
.services-popup-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.services-popup-head h3{margin:0;color:var(--accent);font-size:1.02rem}
.services-popup-close{width:32px;height:32px;border-radius:8px;border:1px solid rgba(255,255,255,0.14);background:transparent;color:var(--text);cursor:pointer;font-size:1.1rem;line-height:1}
.services-popup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.services-popup-card{background:var(--surface);border:1px solid rgba(255,255,255,0.09);border-radius:12px;padding:14px}
.services-popup-card h4{margin:0 0 8px;color:var(--accent);font-size:1rem}
.services-popup-card p{margin:0;color:var(--muted);line-height:1.5;font-size:.92rem}

@media (max-width:760px){
  .services-popup-grid{grid-template-columns:1fr}
}

@keyframes serviceFade{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}
.services-extra{max-width:980px;margin:26px auto 0;display:grid;grid-template-columns:1.15fr .85fr;gap:16px;align-items:stretch}
.services-subcards{max-width:980px;margin:16px auto 0}
.extra-card{padding:18px 18px 16px}
.extra-card h3{margin:0 0 12px;text-align:left}

.card.card-clickable,
.subcard.card-clickable{
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .2s ease, transform .15s ease;
}

.card.card-clickable:hover,
.subcard.card-clickable:hover{
  border-color:rgba(26,124,255,0.4);
}

.card.card-clickable.is-selected,
.subcard.card-clickable.is-selected{
  border-color:var(--card-select-border) !important;
  box-shadow:0 0 0 1px rgba(26,124,255,0.46), 0 14px 30px var(--card-select-glow) !important;
}
.offer-list{margin:0;padding-left:18px;color:var(--muted);line-height:1.55}
.offer-list li{margin-bottom:8px}
.extra-card .skill-list{justify-content:flex-start}

/* Products / Shop */
.shop-disclaimer-row{max-width:980px;margin:0 auto 10px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.price-disclaimer{margin:0;font-size:.82rem;line-height:1.4;color:var(--muted);opacity:.95;flex:1 1 auto;max-width:690px}
.shop-toolbar{margin:0;display:flex;justify-content:flex-end;flex:0 0 auto}
.shop-open-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #1a7cff;border-radius:12px;background:linear-gradient(180deg,#0e6dd8,#0a63c7);color:#f2f8ff;font-weight:600;font-size:.93rem;letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 20px rgba(10,99,199,0.3);transition:transform .15s ease, filter .15s ease, box-shadow .15s ease}
.shop-open-cta:hover{transform:translateY(-1px);filter:brightness(1.05);box-shadow:0 12px 24px rgba(10,99,199,0.36)}
.shop-open-cta:active{transform:translateY(0)}
.shop-open-cta i{font-size:.9rem}

@media (max-width:900px){
  .shop-disclaimer-row{flex-direction:column;align-items:stretch;gap:8px}
  .price-disclaimer{max-width:none}
  .shop-toolbar{justify-content:flex-start}
}
.products{display:flex;gap:14px;max-width:980px;margin:0 auto;overflow-x:auto;overflow-y:hidden;padding:2px 2px 10px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;cursor:grab}
.products:active{cursor:grabbing}
.products::-webkit-scrollbar{height:8px}
.products::-webkit-scrollbar-thumb{background:rgba(156,163,175,0.45);border-radius:999px}
.product-card{flex:0 0 calc((100% - 28px)/3);scroll-snap-align:start;background:var(--surface);border-radius:12px;padding:16px;box-shadow:0 6px 18px rgba(2,6,23,0.04);display:flex;flex-direction:column;gap:12px}
.product-visual{height:84px;border-radius:10px;background:linear-gradient(135deg,#2a2b2c,#1b1d1e);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--muted);font-size:1.1rem;border:1px solid rgba(255,255,255,0.04)}
.product-card h3{margin:0;color:var(--text);font-size:1rem}
.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.btn-primary{background:linear-gradient(180deg,#0e6dd8,#0a63c7);border:1px solid #1a7cff;color:#f2f8ff;padding:8px 12px;border-radius:8px;cursor:pointer}
.btn-primary:hover{opacity:.95}

/* Product-specific primary button — jasnoszare tło i czarny tekst (łatwiejsze dla oka na ciemnym tle) */
.product-card .btn-primary{
  background: #eef0f2;  /* jasny szary */
  color: #0b0d0f;       /* czarna czcionka */
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: none;
}
.product-card .btn-primary:hover{ background:#e2e4e6; transform:translateY(-1px); }

.btn-secondary{background:transparent;border:1px solid rgba(0,0,0,0.08);padding:6px 10px;border-radius:8px;color:var(--accent-2);cursor:pointer}

/* Cart button */
.cart-button{position:fixed;right:20px;bottom:92px;background:var(--accent);color:#fff;border:none;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 30px rgba(2,6,23,0.12);cursor:pointer;z-index:1200}
.cart-count{position:absolute;top:6px;right:6px;background:#ef4444;color:#fff;border-radius:50%;padding:3px 6px;font-size:12px;display:none}
.cart-button.bump{transform:scale(1.06);transition:transform .15s}

/* Cart modal */
.cart-modal{position:fixed;right:20px;bottom:86px;width:360px;max-width:calc(100% - 40px);background:linear-gradient(180deg,#fff,#fbfbfc);border-radius:12px;box-shadow:0 20px 50px rgba(2,6,23,0.2);z-index:1300;opacity:0;transform:translateY(10px);pointer-events:none}
.cart-modal.open{opacity:1;transform:translateY(0);pointer-events:auto}
.cart-content{padding:18px}
.cart-close{position:absolute;right:12px;top:8px;border:none;background:transparent;font-size:20px;cursor:pointer;color:var(--muted)}
.cart-item{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(2,6,23,0.03)}
.cart-controls button{margin-left:6px;padding:6px 8px;border-radius:6px;border:1px solid rgba(0,0,0,0.06);background:transparent;cursor:pointer}
.cart-actions{display:flex;align-items:center;justify-content:space-between;margin-top:12px}

/* Contact / profile footer helpers */
.contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;max-width:1100px;margin:0 auto}
.contact .card{max-width:none}
#contact .card{max-width:none}
#contact .contact{max-width:760px;gap:14px}
#contact .contact .card{padding:14px 16px}
#contact .contact .card h3{font-size:1rem;margin:0 0 6px}
#contact .contact .card p{font-size:.92rem;margin:0;color:var(--muted)}
#contact .section-title{font-size:1.45rem}
#contact #contactForm{max-width:760px;margin:0 auto}
#contact #contactForm label{font-size:.8rem}
#contact #contactForm input,
#contact #contactForm textarea{font-size:.9rem}
#contact #contactForm .btn-primary{font-size:.9rem;padding:7px 11px}
#contact #contactStatus,
#contact .small{font-size:.82rem}
.contact-interactive{display:grid;grid-template-columns:1.25fr .9fr;gap:14px;align-items:stretch}
.messenger-panel{display:flex;flex-direction:column;gap:12px;justify-content:space-between}
.messenger-top{display:flex;gap:10px;align-items:flex-start}
.messenger-badge{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#0084ff;color:#fff;flex:0 0 34px}
.messenger-preview{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px dashed rgba(255,255,255,0.12);border-radius:10px;background:rgba(255,255,255,0.02)}
.bubble{max-width:92%;padding:8px 10px;border-radius:12px;font-size:.85rem;line-height:1.3}
.bubble-me{align-self:flex-start;background:rgba(255,255,255,0.09);color:var(--text)}
.bubble-user{align-self:flex-end;background:linear-gradient(180deg,#0e6dd8,#0a63c7);border:1px solid #1a7cff;color:#f2f8ff;font-weight:600;font-size:.9rem;letter-spacing:.01em}
.messenger-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center}

.card--flat{border:none;box-shadow:none;background:transparent}
.btn-ghost{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(255,255,255,0.08);border-radius:8px;color:var(--text);background:transparent}
.btn-ghost:hover{background:var(--glass)}

/* Social links: gray base + portal accents */
.social-links{display:flex;flex-wrap:wrap;gap:10px}
.social-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.social-links-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.social-group{display:flex;gap:8px;flex-wrap:nowrap}
.social-group-right{justify-content:flex-end}
.social-link{display:flex;align-items:center;gap:10px;min-width:220px;padding:9px 12px;border-radius:12px;border:1px solid rgba(255,255,255,0.08);background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));color:var(--text);transition:transform .15s ease, border-color .15s ease, background .15s ease}
.social-link:hover{transform:translateY(-1px);border-color:rgba(255,255,255,0.18)}
.social-icon{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.06);flex:0 0 30px;overflow:hidden}
.social-icon img{width:100%;height:100%;object-fit:contain;display:block}
.social-meta{display:flex;flex-direction:column;line-height:1.15}
.social-meta strong{font-size:.9rem;font-weight:700;color:var(--text)}
.social-meta span{font-size:.8rem;color:var(--muted)}

.linkedin-link .social-icon,
.github-link .social-icon,
.email-link .social-icon,
.phone-link .social-icon{background:#0084ff;color:#fff}

.linkedin-link:hover,
.github-link:hover,
.email-link:hover,
.phone-link:hover{background:linear-gradient(180deg, rgba(0,132,255,0.2), rgba(255,255,255,0.01));border-color:rgba(0,132,255,0.45)}

.social-links--compact .social-link{min-width:178px;padding:7px 9px}
.social-links--compact .social-icon{width:26px;height:26px;flex-basis:26px;font-size:13px}
.social-links--compact .social-meta strong{font-size:.84rem}
.social-links--compact .social-meta span{font-size:.75rem}

/* Messenger quick button */
.chat-widget{position:fixed;right:20px;bottom:20px;z-index:1200}
.chat-widget a{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0099ff;color:#fff;box-shadow:0 10px 24px rgba(0,0,0,0.25)}
.chat-widget a:hover{filter:brightness(1.05)}

.cookie-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:1800;background:var(--surface);color:var(--text);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:12px 14px;box-shadow:0 12px 30px rgba(2,6,23,0.35);display:none;gap:10px;align-items:flex-start;justify-content:space-between}
.cookie-consent.open{display:flex}
.cookie-consent-text{flex:1 1 auto;min-width:0}
.cookie-consent-text p{margin:0 0 6px;font-size:.8rem;line-height:1.35;color:var(--muted)}
.cookie-consent-text p:last-child{margin-bottom:0}
.cookie-consent-text strong{color:var(--text)}
.cookie-consent-actions{display:flex;flex:0 0 auto;gap:8px;align-items:center}
.cookie-btn{height:34px;padding:0 12px;border-radius:8px;border:1px solid rgba(255,255,255,0.12);background:transparent;color:var(--text);font-size:.78rem;font-weight:700;cursor:pointer;white-space:nowrap}
.cookie-btn-once:hover{background:var(--glass)}
.cookie-btn-permanent{background:linear-gradient(180deg,#0e6dd8,#0a63c7);border-color:#1a7cff;color:#f2f8ff}
.cookie-btn-permanent:hover{filter:brightness(1.05)}

.subcards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.subcard{background:var(--surface);border:1px solid rgba(255,255,255,0.11);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:10px;min-height:170px;box-shadow:var(--shadow-1)}
.subcard__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.subcard__title{margin:0;font-size:1rem;line-height:1.25;color:var(--heading-ink);font-weight:700}
.subcard__eyebrow{margin:0;font-size:.72rem;color:var(--muted);font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.subcard__badge{height:24px;padding:0 9px;border-radius:999px;border:1px solid rgba(255,255,255,0.16);display:inline-flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;color:var(--heading-ink);background:rgba(255,255,255,0.04);white-space:nowrap}
.subcard__text{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}
.subcard__list{margin:0;padding-left:18px;color:var(--muted);font-size:.9rem;line-height:1.5}
.subcard__list li + li{margin-top:4px}
.subcard__kpi{margin-top:auto;display:flex;flex-direction:column;gap:2px}
.subcard__kpi-value{font-size:1.45rem;font-weight:800;color:var(--heading-ink);line-height:1}
.subcard__kpi-label{font-size:.8rem;color:var(--muted);font-weight:600}
.subcard__actions{margin-top:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.subcard__link{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 10px;border-radius:8px;border:1px solid rgba(255,255,255,0.18);color:var(--heading-ink);font-size:.8rem;font-weight:700;background:transparent}
.subcard__link:hover{background:var(--glass)}

.subcard--accent{border-color:rgba(26,124,255,0.45);box-shadow:0 10px 24px rgba(10,99,199,0.25)}
.subcard--accent .subcard__badge{background:linear-gradient(180deg,#0e6dd8,#0a63c7);border-color:#1a7cff;color:#f2f8ff}

.subcard--soft{background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01))}

.subcard--kpi{justify-content:space-between}

.subcard--compact{min-height:140px;padding:12px;gap:8px}
.subcard--compact .subcard__title{font-size:.92rem}
.subcard--compact .subcard__text,
.subcard--compact .subcard__list{font-size:.82rem}

.subcard--horizontal{display:grid;grid-template-columns:1fr auto;align-items:start;gap:10px}
.subcard--horizontal .subcard__actions{grid-column:1 / -1}

.auth-panel-page{min-height:100%;display:flex;flex-direction:column}
.auth-panel-main{width:100%;max-width:980px;margin:30px auto;padding:0 20px;flex:1 0 auto}
.auth-panel-card{padding:20px 18px;display:flex;flex-direction:column;gap:14px}
.auth-panel-title{margin:0;font-size:1.45rem;color:var(--accent-2)}
.auth-panel-subtitle{margin:0;font-size:.9rem}
.auth-user-box{display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:12px;background:var(--glass)}
.auth-user-avatar{width:56px;height:56px;border-radius:12px;object-fit:cover;border:1px solid rgba(255,255,255,0.18)}
.auth-user-meta{display:flex;flex-direction:column;gap:4px;min-width:0}
.auth-user-meta strong{font-size:1.02rem;color:var(--text)}
.auth-user-meta span{font-size:.88rem;word-break:break-word}
.auth-panel-actions{display:flex;align-items:center;justify-content:flex-start}
<<<<<<< HEAD
.panel-module-hidden{display:none !important}

.v1-toolbar{display:flex;gap:8px;flex-wrap:wrap}
.v1-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.v1-pane{border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:12px;background:rgba(255,255,255,0.01);display:flex;flex-direction:column;gap:8px}
.v1-pane h3{margin:0;color:var(--heading-ink);font-size:1rem}
.v1-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:280px;overflow:auto}
.v1-list button{width:100%;text-align:left;cursor:pointer}
.v1-list-item{display:block;border:1px solid rgba(255,255,255,0.16);border-radius:8px;padding:8px;color:var(--text);background:transparent}
.v1-list-item.is-active{border-color:#1a7cff;box-shadow:0 0 0 1px rgba(26,124,255,0.4) inset}
.v1-list-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.v1-mini-btn{height:26px;padding:0 8px;border-radius:7px;border:1px solid rgba(255,255,255,0.18);background:transparent;color:var(--heading-ink);font-size:.72rem;font-weight:700;cursor:pointer}
.v1-mini-btn:hover{background:var(--glass)}
.v1-mini-btn.is-active{border-color:#1a7cff}
.v1-input,.v1-textarea{width:100%;background:transparent;border:1px solid rgba(255,255,255,0.16);border-radius:8px;color:var(--text);padding:8px;font-family:inherit}
.v1-textarea{resize:vertical}
.v1-actions{display:flex;flex-wrap:wrap;gap:8px}
.v1-postpone-row{display:flex;gap:8px;align-items:center}
.admin-perm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}
.admin-perm-grid label{font-size:.86rem;color:var(--text);display:flex;align-items:center;gap:6px}
.admin-user-meta{font-size:.78rem;color:var(--muted);line-height:1.35;display:block;margin-top:4px}
=======
>>>>>>> 61590f0fc01ef09a08b491b5c5d9e95b0cb7c680

@media (max-width:900px){
  .cookie-consent{flex-direction:column;align-items:stretch}
  .cookie-consent-actions{justify-content:flex-start;flex-wrap:wrap}
<<<<<<< HEAD
  .v1-grid{grid-template-columns:1fr}
  .admin-perm-grid{grid-template-columns:1fr}
=======
>>>>>>> 61590f0fc01ef09a08b491b5c5d9e95b0cb7c680
}

/* Footer */
footer{padding:28px;background:transparent;color:var(--accent-2);text-align:center;border-top:1px solid var(--glass)}

/* Responsive */
@media (max-width:720px){
  .hero h1{font-size:1.6rem}
  .cart-modal{left:20px;right:20px;bottom:80px;width:auto}
  .header-action span{display:none}
<<<<<<< HEAD
  header{padding:8px 12px}
  nav a{margin-left:10px}
  .header-inner{
    grid-template-columns:1fr auto auto;
    grid-template-areas:
      "left login mode"
      "search search eng";
    gap:8px;
    align-items:center;
  }
  .header-left{grid-area:left;min-width:0}
  .header-right{display:contents}
  #loginBtn{
    grid-area:login;
    min-width:92px;
    width:auto;
    justify-self:end;
  }
  #loginBtn span{display:inline}
  .header-right > .day-mode-btn,
  .header-right > .night-mode-btn{
    grid-area:mode;
    width:44px;
    min-width:44px;
    padding:0;
    justify-content:center;
    justify-self:end;
  }
  .header-search{grid-area:search;min-width:0;width:100%;flex:initial}
  #langToggleBtn{grid-area:eng;min-width:56px;justify-self:end}
  .header-search-btn{display:none}
  .header-right-gap{display:none}
=======
  .header-inner{grid-template-columns:1fr auto}
  header{padding:8px 12px}
  nav a{margin-left:10px}
  .header-inner{grid-template-columns:1fr}
  .header-right{justify-content:flex-start;flex-wrap:wrap;row-gap:6px}
  .header-right-gap{display:none}
  .header-right > .day-mode-btn,
  .header-right > .night-mode-btn{order:3}
  .header-right > #loginBtn{order:4;flex-basis:100%;max-width:92px}
  .header-search{min-width:180px;flex:1}
>>>>>>> 61590f0fc01ef09a08b491b5c5d9e95b0cb7c680
  .row{flex-direction:column}
  .social-link{min-width:100%}
  .social-links-row{flex-direction:column}
  .social-group{width:100%;flex-wrap:wrap}
  .social-links-grid{grid-template-columns:1fr}
  .contact-interactive{grid-template-columns:1fr}
  .services-layout{grid-template-columns:1fr}
  #services .services-left .section-title{margin:0 auto}
  .services{max-width:100%;grid-template-columns:1fr;justify-items:stretch}
  .services .card{max-width:none;min-height:unset}
  .services-right-placeholder{min-height:unset;margin-top:0;height:auto}
  .services-right-placeholder .news-top-row{flex-direction:column;align-items:stretch}
  .services-right-placeholder .news-source-input{width:100%;min-width:0}
  .services-extra{grid-template-columns:1fr}
  #about .about-head{grid-template-columns:1fr;gap:8px}
  #about .about-company-meta{justify-self:start;align-items:flex-start;text-align:left}
  #about .about-layout{grid-template-columns:1fr}
  #about .about-card{width:100%;max-width:none}
  #about .about-graphic{min-height:220px}
  .product-card{flex-basis:85%}
}

@media (max-width:980px){
  .product-card{flex-basis:calc((100% - 14px)/2)}
}

