/* === DESIGN SYSTEM === */
:root {
  --navy-900: #0a1628;
  --navy-800: #0d1f3a;
  --navy-700: #102549;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white:    #ffffff;
  --green-500: #22c55e;
  --yellow-500: #eab308;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--gray-800); background: var(--white); -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* === TYPOGRAPHY === */
h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem);   font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }

/* === LAYOUT === */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section        { padding: 5rem 0; }
.section--light { background: var(--gray-50); }
.section--navy  { background: var(--navy-900); color: var(--white); }

.section__header          { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__header h2       { color: var(--gray-900); margin-bottom: 0.875rem; }
.section--navy .section__header h2 { color: var(--white); }
.section__header p        { font-size: 1.0625rem; color: var(--gray-600); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.9375rem; cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s ease; text-decoration: none; white-space: nowrap; font-family: var(--font);
}
.btn--primary         { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.btn--primary:hover   { background: var(--blue-700); border-color: var(--blue-700); transform: translateY(-1px); box-shadow: 0 4px 12px rgb(37 99 235 / 0.4); }
.btn--outline         { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--outline:hover   { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn--lg              { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-sm); }
.btn--sm              { padding: 0.5rem 1.125rem; font-size: 0.875rem; }

/* === NAVIGATION === */
.nav            { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.125rem 0; transition: all 0.3s ease; }
.nav--scrolled  { background: var(--white); box-shadow: 0 1px 0 var(--gray-200); padding: 0.75rem 0; }
.nav__inner     { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.nav__logo        { display: flex; align-items: center; gap: 0.5rem; font-size: 1.0625rem; font-weight: 700; color: var(--white); transition: color 0.3s; }
.nav--scrolled .nav__logo { color: var(--navy-900); }
.nav__tld         { color: var(--blue-400); }
.nav--scrolled .nav__tld  { color: var(--blue-600); }

.nav__links                        { display: flex; align-items: center; gap: 0.125rem; }
.nav__links a                      { padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.82); transition: all 0.2s; }
.nav__links a:hover                { color: var(--white); background: rgba(255,255,255,0.1); }
.nav--scrolled .nav__links a       { color: var(--gray-600); }
.nav--scrolled .nav__links a:hover { color: var(--gray-900); background: var(--gray-100); }
.nav--scrolled .nav__links .btn--primary { color: var(--white); }

.nav__toggle      { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 200; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s ease; }
.nav--scrolled .nav__toggle span   { background: var(--gray-800); }
.nav__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; }
.nav__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 50%, #0e2d5a 100%);
  padding: 9rem 0 6rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(59,130,246,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner   { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: center; position: relative; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(59,130,246,0.18); border: 1px solid rgba(59,130,246,0.4);
  color: var(--blue-400); padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.8125rem; font-weight: 600; margin-bottom: 1.25rem; letter-spacing: 0.03em;
}
.hero__content h1    { color: var(--white); margin-bottom: 1.25rem; }
.hero__perex         { color: rgba(255,255,255,0.72); font-size: 1.0625rem; margin-bottom: 2rem; max-width: 560px; }
.hero__perex strong  { color: var(--white); }
.hero__cta           { display: flex; gap: 0.875rem; flex-wrap: wrap; }

.hero__card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1.75rem;
  backdrop-filter: blur(12px);
}
.hero__stat            { text-align: center; }
.hero__stat-number     { display: block; font-size: 2.25rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 0.375rem; }
.hero__stat-label      { color: rgba(255,255,255,0.55); font-size: 0.8125rem; line-height: 1.4; }
.hero__divider         { height: 1px; background: rgba(255,255,255,0.1); }

/* === TRUST BAR === */
.trust-bar        { background: var(--navy-800); padding: 1.125rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.trust-bar__inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.trust-item       { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.68); font-size: 0.875rem; font-weight: 500; padding: 0.375rem 1.25rem; }
.trust-item svg   { color: var(--blue-400); flex-shrink: 0; }
.trust-sep        { width: 1px; height: 20px; background: rgba(255,255,255,0.15); }

/* === NIS2 CHECKER === */
.checker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.checker-card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  border: 2px solid var(--gray-200); box-shadow: var(--shadow-md);
}
.checker-card--blue { border-color: var(--blue-400); }
.checker-card--warn { border-color: var(--yellow-500); }

.checker-card__icon       { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1.125rem; }
.checker-card__icon--blue { background: var(--blue-50); color: var(--blue-600); }
.checker-card__icon--warn { background: #fef9c3; color: #92400e; }

.checker-card h3    { color: var(--gray-900); margin-bottom: 0.625rem; }
.checker-card p     { color: var(--gray-600); margin-bottom: 1rem; font-size: 0.9375rem; line-height: 1.65; }
.checker-list       { display: flex; flex-direction: column; gap: 0.375rem; }
.checker-list li    { color: var(--gray-700); font-size: 0.875rem; padding-left: 1.125rem; position: relative; line-height: 1.5; }
.checker-list li::before { content: '→'; position: absolute; left: 0; color: var(--blue-500); font-size: 0.8rem; top: 1px; }
.checker-list li strong { color: var(--gray-900); }

/* === SERVICES === */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.75rem; position: relative; transition: all 0.25s ease; box-shadow: var(--shadow);
}
.service-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); border-color: var(--blue-400); }

.service-card__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue-600); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-card h3    { color: var(--gray-900); margin-bottom: 0.5rem; }
.service-card p     { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.65; }
.service-card__tag  {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--blue-600); color: var(--white); font-size: 0.6875rem; font-weight: 700;
  padding: 0.2rem 0.625rem; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em;
}

/* === ABOUT / CERTIFIKACE === */
.about-grid     { display: grid; grid-template-columns: 1fr 360px; gap: 4rem; align-items: start; }
.about__content h2   { color: var(--white); margin-bottom: 1rem; }
.about__lead         { font-size: 1.0625rem; color: rgba(255,255,255,0.78); margin-bottom: 2rem; line-height: 1.7; }

.certs       { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2rem; }
.cert-item   {
  display: flex; align-items: flex-start; gap: 0.875rem; padding: 1rem 1.125rem;
  background: rgba(255,255,255,0.05); border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
}
.cert-item__icon { flex-shrink: 0; width: 38px; height: 38px; background: rgba(59,130,246,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--blue-400); }
.cert-item strong { display: block; color: var(--white); font-size: 0.9375rem; margin-bottom: 0.125rem; }
.cert-item span   { color: rgba(255,255,255,0.55); font-size: 0.8125rem; line-height: 1.5; }
.about__extra     { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.75; }

.about__profile-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 2rem 1.75rem; text-align: center; }
.about__avatar   { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; border: 3px solid rgba(255,255,255,0.2); }
.about__name     { font-size: 1.0625rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.about__title    { color: var(--blue-400); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.about__company  { color: rgba(255,255,255,0.45); font-size: 0.8125rem; margin-bottom: 1.5rem; }
.about__details  { display: flex; flex-direction: column; gap: 0.5rem; }
.about__details a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: rgba(255,255,255,0.7); font-size: 0.875rem;
  padding: 0.5rem 0.875rem; background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
}
.about__details a:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* === PROCESS === */
.process        { max-width: 760px; margin: 0 auto; }
.process__step  {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem;
  padding-bottom: 2.5rem; position: relative;
}
.process__step:not(:last-child)::after {
  content: ''; position: absolute; left: 27px; top: 56px; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--blue-500), var(--gray-200));
}
.process__number {
  width: 56px; height: 56px; background: var(--blue-600); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 700; flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--blue-200);
}
.section--light .process__number { box-shadow: 0 0 0 4px var(--gray-50), 0 0 0 6px var(--blue-200); }
.process__content h3 { color: var(--gray-900); padding-top: 0.875rem; margin-bottom: 0.5rem; }
.process__content p  { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.7; }

/* === FAQ === */
.faq          { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.625rem; }
.faq__item    { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.2s; }
.faq__item--open { border-color: var(--blue-500); }
.faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 1.5rem; background: none; border: none; cursor: pointer;
  text-align: left; font-size: 0.9375rem; font-weight: 600; color: var(--gray-900);
  font-family: var(--font); line-height: 1.5;
}
.faq__question svg   { flex-shrink: 0; transition: transform 0.3s ease; color: var(--blue-500); }
.faq__item--open .faq__question svg { transform: rotate(180deg); }
.faq__answer    { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__item--open .faq__answer { max-height: 400px; }
.faq__answer p  { padding: 0 1.5rem 1.25rem; color: var(--gray-600); font-size: 0.9375rem; line-height: 1.75; }
.faq__answer p strong { color: var(--gray-800); }

/* === BLOG === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.blog-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.75rem; transition: all 0.25s ease; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); border-color: var(--blue-300, var(--blue-400)); }
.blog-card__meta { color: var(--blue-600); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.625rem; }
.blog-card h3    { margin-bottom: 0.75rem; font-size: 1.0625rem; line-height: 1.45; }
.blog-card h3 a  { color: var(--gray-900); transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--blue-600); }
.blog-card p     { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }
.blog-card__link { color: var(--blue-600); font-size: 0.9375rem; font-weight: 600; margin-top: auto; }
.blog-card__link:hover { text-decoration: underline; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: start; }

.contact__content h2       { color: var(--white); margin-bottom: 1rem; }
.contact__content > p:first-of-type { color: rgba(255,255,255,0.72); margin-bottom: 1.25rem; font-size: 1.0625rem; }
.contact__list             { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.75rem; }
.contact__list li          { color: rgba(255,255,255,0.78); font-size: 0.9375rem; padding-left: 1.5rem; position: relative; line-height: 1.5; }
.contact__list li::before  { content: '✓'; position: absolute; left: 0; color: var(--green-500); font-weight: 700; }
.contact__note             { color: rgba(255,255,255,0.45); font-size: 0.875rem; font-style: italic; }

.contact__card     { background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: var(--shadow-xl); }
.contact__card h3  { color: var(--gray-900); margin-bottom: 1.5rem; font-size: 1.1875rem; }
.contact__methods  { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }

.contact__method {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.875rem 1.125rem; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.contact__method:hover    { border-color: var(--blue-500); background: var(--blue-50); }
.contact__method svg      { color: var(--blue-600); flex-shrink: 0; }
.contact__method strong   { display: block; color: var(--gray-700); font-size: 0.8125rem; margin-bottom: 0.125rem; }
.contact__method span     { color: var(--gray-900); font-size: 0.9375rem; font-weight: 500; }

.contact__location { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-500); font-size: 0.875rem; }
.contact__location svg { color: var(--blue-500); flex-shrink: 0; }

/* === FOOTER === */
.footer          { background: var(--gray-900); color: rgba(255,255,255,0.65); padding: 3.5rem 0 0; }
.footer__inner   { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer__logo    { color: var(--white) !important; margin-bottom: 0.875rem; }
.footer__brand p { font-size: 0.875rem; line-height: 1.7; }
.footer__links   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__col     { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col strong    { color: var(--white); font-size: 0.875rem; margin-bottom: 0.25rem; display: block; }
.footer__col a         { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__col a:hover   { color: var(--white); }
.footer__bottom        { padding: 1.25rem 0; }
.footer__bottom__inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: rgba(255,255,255,0.35); gap: 1rem; flex-wrap: wrap; }

/* === BLOG ARTICLE (shared) === */
.article-hero    { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); padding: 8rem 0 4rem; }
.article-hero .breadcrumb { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 1rem; }
.article-hero .breadcrumb a { color: var(--blue-400); }
.article-hero .breadcrumb a:hover { text-decoration: underline; }
.article-hero h1 { color: var(--white); max-width: 800px; }
.article-hero .article-meta { display: flex; gap: 1.5rem; margin-top: 1.25rem; color: rgba(255,255,255,0.55); font-size: 0.875rem; flex-wrap: wrap; }
.article-hero .article-meta span { display: flex; align-items: center; gap: 0.375rem; }

.article-body    { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.article-body h2 { font-size: 1.5rem; color: var(--gray-900); margin: 2.5rem 0 0.875rem; }
.article-body h3 { font-size: 1.125rem; color: var(--gray-900); margin: 2rem 0 0.625rem; }
.article-body p  { color: var(--gray-700); line-height: 1.8; margin-bottom: 1.25rem; font-size: 1rem; }
.article-body ul, .article-body ol { color: var(--gray-700); line-height: 1.8; margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.375rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body strong { color: var(--gray-900); }
.article-body a  { color: var(--blue-600); text-decoration: underline; }
.article-cta     { background: var(--blue-50); border: 1px solid var(--blue-200); border-radius: var(--radius); padding: 2rem; margin: 2.5rem 0; text-align: center; }
.article-cta h3  { color: var(--gray-900); margin-bottom: 0.625rem; }
.article-cta p   { color: var(--gray-600); margin-bottom: 1.25rem; font-size: 0.9375rem; }
.article-info    { background: var(--gray-50); border-left: 4px solid var(--blue-500); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; }
.article-info p  { margin-bottom: 0; font-size: 0.9375rem; color: var(--gray-700); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero__inner    { grid-template-columns: 1fr; }
  .hero__visual   { display: none; }
  .about-grid     { grid-template-columns: 1fr; }
  .about__aside   { max-width: 420px; }
  .contact-grid   { grid-template-columns: 1fr; }
  .footer__inner  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .nav__links {
    display: none; position: fixed; inset: 0;
    background: var(--navy-900); flex-direction: column;
    align-items: center; justify-content: center; gap: 0.5rem; z-index: 99;
  }
  .nav__links--open { display: flex; }
  .nav__links a     { font-size: 1.125rem; padding: 0.875rem 1.5rem; }
  .nav__toggle      { display: flex; }

  .services-grid  { grid-template-columns: 1fr; }
  .checker-grid   { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .footer__links  { grid-template-columns: repeat(2, 1fr); }

  .trust-bar__inner { gap: 0; }
  .trust-item span  { display: none; }
  .trust-item       { padding: 0.375rem 0.75rem; }

  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; text-align: center; }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .footer__links { grid-template-columns: 1fr; }
  .footer__bottom__inner { flex-direction: column; text-align: center; }
  .checker-grid  { gap: 1rem; }
}
