/* Hacker Studio – custom additions on top of the template */

.company-info { font-size: 14px; line-height: 1.9; }
.company-info li:not(:first-child) { opacity: .85; }

/* numbered steps / icon tiles inside service cards */
.process-step-number { font-size: 44px; line-height: 72px; font-weight: 800; display: inline-block; min-width: 72px; }
.svc-icon { font-size: 40px; line-height: 72px; display: inline-block; min-width: 72px; }

/* featured service card */
.service-featured { border: 2px solid #96D974; }
.service-badge { top: 18px; right: 18px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #212228; }

/* clickable service cards */
a.service-link, a.service-link:hover, a.service-link:focus { color: inherit; text-decoration: none; }
a.service-link:hover { transform: translateY(-4px); }
a.service-link:focus-visible { outline: 2px solid #96D974; outline-offset: 4px; }
.service-more { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
a.service-link:hover .service-more { text-decoration: underline; }

/* research / talks rows (reuse of the CVE list rows) */
.single-portfolio.hs-compact { padding-top: 34px; padding-bottom: 30px; }
.single-portfolio.hs-compact h3 { font-size: 30px; line-height: 1.25; }
.single-portfolio.hs-compact p { margin: 10px 0 0; }
a.port-content, a.port-content:hover { text-decoration: none; display: inline-block; flex-shrink: 0; }
.hs-links a { display: inline-block; margin: 12px 10px 0 0; padding: 5px 14px; border: 1px solid #96D974; border-radius: 20px; color: #96D974; font-size: 14px; font-weight: 600; }
.hs-links a:hover { background: #96D974; color: #212228; text-decoration: none; }

/* subpages */
.page-hero { padding-top: 230px; padding-bottom: 110px; }
.page-hero h1 { font-size: 60px; line-height: 1.15; color: #fff; }
.page-hero .lead-text { font-size: 18px; line-height: 1.8; max-width: 760px; margin: 0 auto 40px; }
.hs-alt-link { display: inline-block; margin-left: 24px; color: #96D974; font-weight: 600; }
.hs-alt-link:hover, .hs-alt-link:focus { color: #b7ebb0; text-decoration: underline; }
.when-card h4 { color: #fff; }
.cta-area h2 { color: #fff; }

@media (max-width: 991px) {
    .single-portfolio.hs-compact h3 { font-size: 24px; }
    .page-hero { padding-top: 170px; padding-bottom: 80px; }
    .page-hero h1 { font-size: 40px; }
}
@media (max-width: 575px) {
    .single-portfolio.hs-compact h3 { font-size: 20px; }
    .page-hero h1 { font-size: 32px; }
    .hs-alt-link { display: block; margin: 22px 0 0; }
    .port-content { width: 60px; height: 60px; line-height: 60px; font-size: 18px; }
}

/* video cards */
a.video-card, a.video-card:hover { display: block; color: inherit; text-decoration: none; }
.video-thumb { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 9; background: #17181d; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
a.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: #96D974; color: #212228; font-size: 15px; line-height: 46px; text-align: center; padding-left: 4px; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); transition: transform .3s ease; }
a.video-card:hover .video-play { transform: scale(1.12); }
.video-card .video-cat { display: block; margin-top: 20px; font-size: 13px; letter-spacing: 1px; }
.video-card h3 { font-size: 22px; line-height: 1.3; margin: 8px 0 8px; }
.video-card p { margin: 0; }
a.video-card:focus-visible { outline: 2px solid #96D974; outline-offset: 6px; border-radius: 10px; }

/* equal-height cards in the methodology section */
.process-area .single-service { height: calc(100% - 25px); }

/* "what you get" tiles */
.deliver-icon { font-size: 38px; }

/* collapsible certificate list */
.award-wrapper.hs-collapsible { position: relative; overflow: hidden; transition: max-height .5s ease; }
.award-wrapper.hs-collapsible::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(to bottom, rgba(38, 39, 46, 0), #26272E); pointer-events: none; transition: opacity .3s ease; }
.award-wrapper.hs-collapsible.is-open::after { opacity: 0; }
.award-toggle-wrap { display: none; text-align: center; margin-top: 10px; }
.award-toggle-wrap.is-ready { display: block; }
.award-toggle { background: transparent; border: 1px solid #96D974; color: #96D974; border-radius: 30px; padding: 10px 26px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease; }
.award-toggle:hover, .award-toggle:focus-visible { background: #96D974; color: #212228; outline: none; }
.award-toggle i { margin-left: 8px; transition: transform .3s ease; }
.award-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

/* research & publications panel background */
.hs-research-panel { background: #212228; border-radius: 16px; padding: 50px clamp(16px, 4vw, 50px) 60px; margin-top: 130px; }
@media (max-width: 575px) { .hs-research-panel { padding: 30px 16px 40px; margin-top: 80px; } }

/* footer: clearer separation between widgets */
.footer-area { border-top: 1px solid rgba(255,255,255,.08); }
.footer-widget h4 { position: relative; padding-bottom: 14px; }
.footer-widget h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 2px; background: #96D974; border-radius: 2px; }
.footer-widget .copyright-text { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
@media (min-width: 1200px) { .footer-top .footer-widget { padding-right: 20px; } }

/* language switcher in the menu */
.main-menu a.hs-lang span { border: 1px solid #96D974; border-radius: 6px; padding: 3px 10px; color: #96D974; font-size: 15px; transition: background .3s ease, color .3s ease; }
.main-menu a.hs-lang:hover span { background: #96D974; color: #212228; }
.main-menu a.hs-lang::before { display: none; }
.contact-form .hs-select:has(option[value=""]:checked) { color: #8a8c96; }

/* contact form: scope fields */
.contact-form .hs-select { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2396D974' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 20px center; -webkit-appearance: none; appearance: none; cursor: pointer; }
.contact-form .hs-select option { background: #26272E; color: #fff; }
.contact-form .hs-select option[value=""] { color: #8a8c96; }
.contact-form input[type="text"] { background: transparent; }
.hs-form-note { font-size: 13px; line-height: 1.6; opacity: .8; }
.hs-form-note a { color: #96D974; }
/* footer: privacy link */
.footer-privacy-link { color: var(--meta-text-color); font-size: 14px; font-family: "Open Sans", sans-serif; line-height: 1.9; text-decoration: none; transition: all 0.3s ease-out; }
.footer-privacy-link:hover, .footer-privacy-link:focus { color: var(--main-color); text-decoration: none; }
.hs-sep { margin: 0 6px; opacity: .6; color: var(--meta-text-color); font-size: 14px; }

/* how to start: step numbers */
.hs-step-num { font-size: 34px; font-weight: 800; line-height: 1; display: block; }

/* FAQ accordion */
.hs-faq-item { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; margin-bottom: 14px; transition: border-color .3s ease; }
.hs-faq-item[open] { border-color: rgba(150, 217, 116, .45); }
.hs-faq-item summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-weight: 600; font-size: 18px; color: #fff; position: relative; }
.hs-faq-item summary::-webkit-details-marker { display: none; }
.hs-faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: #96D974; font-size: 26px; font-weight: 400; line-height: 1; }
.hs-faq-item[open] summary::after { content: "\2212"; }
.hs-faq-item summary:focus-visible { outline: 2px solid #96D974; outline-offset: 2px; border-radius: 12px; }
.hs-faq-body { padding: 0 24px 22px; }
.hs-faq-body a { color: #96D974; }

/* legal pages */
.hs-legal h2 { font-size: 26px; margin: 40px 0 14px; color: #fff; }
.hs-legal h2:first-child { margin-top: 0; }
.hs-legal p, .hs-legal li { line-height: 1.8; color: #d4d6de; font-size: 17px; }
.hs-legal li::marker { color: #96D974; }
.hs-legal strong { color: #fff; }
.hs-legal ul { padding-left: 22px; margin: 0 0 14px; list-style: disc !important; }
.hs-legal ul li { list-style: disc !important; }
.hs-legal li { margin-bottom: 6px; display: list-item; font-family: "Open Sans", sans-serif !important; font-weight: 400 !important; font-size: 17px !important; color: #d4d6de !important; }
.hs-legal a { color: #96D974; }
@media (max-width: 575px) { .hs-faq-item summary { font-size: 16px; } .hs-legal h2 { font-size: 22px; } }

/* hero: secondary outline button */
.btn.hs-btn-outline { background: transparent; border: 1px solid var(--main-color); color: var(--main-color); }
.btn.hs-btn-outline:hover { background: var(--main-color); color: #212228; }
@media (max-width: 575px) { .btn.hs-btn-outline { margin-top: 14px; } }

/* why-us cards: same height so the staggered row stays tidy with longer texts */
@media (min-width: 1200px) { .single-intro-feature-content { min-height: 500px; } }

/* service pages: trust strip */
.hs-trust-strip { border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 26px 0 6px; }
.hs-trust-item { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-weight: 600; font-size: 15px; color: #fff; line-height: 1.4; }
.hs-trust-item i { font-size: 24px; flex: 0 0 28px; }

/* service pages: red teaming vs pentest accent */
.hs-card-accent { border: 1px solid rgba(150, 217, 116, .55); }

/* service pages: comparison table */
.hs-compare-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); }
.hs-compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.hs-compare th, .hs-compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
.hs-compare tbody tr:last-child th, .hs-compare tbody tr:last-child td { border-bottom: 0; }
.hs-compare thead th { font-size: 18px; color: #fff; background: #2d2e36; }
.hs-compare thead th a { color: #fff; }
.hs-compare thead th a:hover { color: #96D974; }
.hs-compare tbody th { font-weight: 600; color: #fff; width: 32%; }
.hs-compare .hs-cmp-hl { background: rgba(150, 217, 116, .07); }
.hs-compare thead .hs-cmp-hl { box-shadow: inset 0 3px 0 #96D974; }
.hs-compare td { color: #d4d6de; font-size: 15px; line-height: 1.6; }

/* about: retina image keeps its aspect ratio when scaled down */
.about-img img[src*="about-hs"] { height: auto; }

/* hero: retina image keeps its aspect ratio */
.slider-img picture img { height: auto; max-width: 100%; }

/* card grids: compact titles with balanced wrapping (titles were shortened so each row wraps the same) */
@media (min-width: 768px) {
    .when-card h4 { font-size: 21px; line-height: 1.25; text-wrap: balance; }
}

/* Mobile menu button: was dark-on-dark (Bootstrap a:not([href]) inherits body color) */
a.mobile-menubar, a.mobile-menubar i { color: #96D974 !important; cursor: pointer; }
a.mobile-menubar i { font-size: 22px; }
a.mobile-menubar:focus-visible { outline: 2px solid #96D974; outline-offset: 4px; }

/* "Co dostajesz": compliance / audit panel */
.hs-compliance { display: flex; align-items: center; gap: 40px; padding: 32px 40px; }
.hs-compliance h4 { font-size: 21px; }
.hs-compliance-text { flex: 1 1 50%; }
.hs-compliance-groups { flex: 1 1 50%; display: flex; flex-direction: column; gap: 18px; }
.hs-compliance-label { display: block; color: #d4d6de; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.hs-compliance-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hs-compliance-tags li { border: 1px solid rgba(255, 255, 255, .22); color: #e6e7ec; border-radius: 6px; padding: 5px 12px; font-size: 13px; font-weight: 600; letter-spacing: .5px; white-space: nowrap; }
.hs-compliance-tags.hs-tags-method li { border-color: rgba(255, 255, 255, .22); color: #e6e7ec; }
@media (max-width: 991px) {
  .hs-compliance { flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px 26px; }
}

/* contact form: reply time */
.hs-form-reply { color: #d4d6de; font-size: 15px; }

/* menu: language hint next to "Blog" */
.hs-nav-lang { font-size: .75em; opacity: .6; font-weight: 400; margin-left: 2px; }

/* footer: own background, distinct from the contact section */
footer { background: #212228; }
footer .footer-area { margin-bottom: 0 !important; padding-bottom: 45px; border-top: 0; }
#contact { padding-bottom: 110px; }

/* service pages: note under the 4 deliverable cards */
.hs-deliver-note { color: #b9bbc6; font-size: 15px; max-width: 760px; margin: 6px auto 0; }

/* contact: direct email + location under the section heading */
.hs-contact-direct { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-size: 17px; }
.hs-contact-direct a, .hs-contact-direct span { color: #d4d6de; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.hs-contact-direct a:hover { color: #96D974; }
.hs-contact-direct .hs-sep { margin: 0; }
.title .hs-contact-direct span { letter-spacing: normal; text-transform: none; font-size: 17px; font-weight: 400; margin: 0; color: #d4d6de; font-family: "Open Sans", sans-serif; }
.title .hs-contact-direct a { font-family: "Open Sans", sans-serif; }
.title .hs-contact-direct .hs-sep { opacity: .6; }

/* footer: 4 columns + bottom bar */
.hs-footer-brand img { width: 180px; height: auto; }
.hs-footer-brand p { color: var(--meta-text-color); font-size: 15px; line-height: 1.7; max-width: 320px; }
.hs-footer-links li, .hs-footer-company li { padding: 4px 0; font-size: 15px; line-height: 1.6; }
.hs-footer-links a, .hs-footer-company li, .hs-footer-company a { color: var(--meta-text-color); font-family: "Open Sans", sans-serif; text-decoration: none; transition: color .3s ease; }
.hs-footer-links a:hover, .hs-footer-company a:hover { color: #96D974; }
.hs-footer-company li.white-text { color: #fff; margin-bottom: 4px; }
.hs-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding: 22px 0 6px; margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .07); }
.hs-footer-bottom p { color: var(--meta-text-color); font-size: 14px; }
@media (max-width: 575px) { .hs-footer-bottom { flex-direction: column; align-items: flex-start; } }
/* footer: equal columns, short divider above copyright, right column aligned to the edge */
.footer-widget .copyright-text { max-width: 300px; }
@media (min-width: 992px) {
  footer .footer-top .row > div:nth-child(2) .footer-widget { padding-left: 40px; }
  footer .footer-top .row > div:nth-child(3) .footer-widget { padding-left: 80px; }
}

/* =====================================================================
   Mobile polish (phones, < 768px)
   ===================================================================== */
@media (max-width: 767px) {
  /* calmer vertical rhythm: template paddings were built for desktop */
  main .pt-150, main .pt-155, main .pt-120, main .pt-110 { padding-top: 80px !important; }
  main .pb-130, main .pb-120, main .pb-110, main .pb-90 { padding-bottom: 70px !important; }
  main .mt-155, main .mt-170 { margin-top: 70px !important; }
  main .mb-160 { margin-bottom: 0 !important; }
  #contact { padding-bottom: 80px; }
  main .mt-80 { margin-top: 40px !important; }
  main .mt-60 { margin-top: 36px !important; }
  .title h2 { font-size: 30px; line-height: 1.25; }

  /* cards: less padding so text gets the width */
  .single-intro-feature-content { padding: 32px 26px !important; }
  .when-card { padding: 30px 24px 28px !important; }
  .when-card h4 { font-size: 20px; }
  .row > [class*="col-"].mb-30 { margin-bottom: 18px !important; }
  .single-service { padding-left: 24px !important; padding-right: 24px !important; }

  /* "About" image: keep the decorations inside the screen */
  .about-shape2 { display: none !important; }
  .about-download-wrapper { left: 6px !important; transform: scale(.72); transform-origin: left bottom; }
  #about .row > [class*="col-"]:first-child { margin-bottom: 40px; }

  /* CVE rows: score + id on the left, "+" button on the right */
  .single-portfolio { display: grid !important; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; margin: 0 !important; padding: 22px 0 !important; }
  .single-portfolio > div { padding: 0 !important; max-width: 100% !important; flex: none !important; width: auto !important; }
  .single-portfolio > div:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
  .single-portfolio h3 { font-size: 24px; margin: 4px 0 0; }

  /* comparison table fits the screen instead of hiding the 3rd column */
  .hs-compare { min-width: 0; }
  .hs-compare th, .hs-compare td { padding: 13px 10px; font-size: 14px; line-height: 1.5; }
  .hs-compare thead th { font-size: 15px; }
  .hs-compare tbody th { width: 34%; }

  /* contact: e-mail and city stacked, no dangling separator */
  .hs-contact-direct { flex-direction: column; gap: 6px; }
  .hs-contact-direct .hs-sep { display: none; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; } /* no iOS zoom on focus */

  /* footer: comfortable tap targets, company details + copyright last */
  .hs-footer-links li { padding: 0; }
  .hs-footer-links a { display: inline-block; padding: 9px 0; }
  .footer-widget h4 { margin-bottom: 18px !important; }
  .footer-area .footer-widget { padding-bottom: 28px !important; }

  /* header: bigger hamburger tap area */
  a.mobile-menubar { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .mobile-m-bar { margin-left: 10px !important; }
  .side-mobile-menu .mean-nav ul li a { padding-top: 12px !important; padding-bottom: 12px !important; }
}

/* hero on phones: lighter label above the name */
@media (max-width: 575px) {
  #home .sub-heading { font-size: 14px; letter-spacing: 3px; margin-bottom: 6px !important; }
  /* two buttons side by side, equal width, centred with even margins */
  #home .slider-content > a.btn { width: calc(50% - 10px); margin: 0 !important; padding-left: 8px !important; padding-right: 8px !important; font-size: 13px; white-space: nowrap; }
  #home .slider-content > a.btn + a.btn { margin-left: 12px !important; }
}

/* former inline style attributes (moved out for a strict CSP) */
.hs-i-455468 { letter-spacing:3px !important; font-weight:700 !important; }
.hs-i-65f998 { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }
.hs-i-cc75be { color: #96D974 !important; font-size: 16px !important; }
