/* sLogic Group - main stylesheet */

:root {
  --color-dark: #2b2b2d;
  --color-gray: #4d4d4f;
  --color-gray-light: #6e6e72;
  --color-border: #e6e6e8;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f8;
  --color-accent: #f2811d;
  --color-accent-dark: #d66c0f;
  --color-accent-light: #fdecda;
  --color-slate: #3d4451;
  --font-heading: 'Poppins', Arial, Helvetica, sans-serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(43, 43, 45, 0.06);
  --shadow-hover: 0 12px 32px rgba(43, 43, 45, 0.12);
  --container-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.2em; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-dark); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand { flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}
.main-nav > a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-gray);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav > a:hover,
.main-nav > a.active { color: var(--color-dark); border-color: var(--color-accent); }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-gray);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.active .nav-dropdown-trigger { color: var(--color-dark); border-color: var(--color-accent); }
.nav-caret { font-size: 0.6rem; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-caret,
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }

/* .nav-dropdown-panel is an invisible hit-area that starts flush against the
   trigger (no gap) so hover isn't lost while moving the pointer down into it;
   the visible card is the nested .nav-dropdown-panel-inner. */
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 150;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown-panel-inner {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  padding: 10px;
  min-width: 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
}
.nav-dropdown-items {
  display: flex;
  flex-direction: column;
  max-height: 340px;
  overflow-y: auto;
}
.nav-dropdown-panel a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (hover: hover) {
  .nav-dropdown-panel a:hover { background: var(--color-bg-alt); color: var(--color-dark); }
}

/* Zagnieżdżone podpozycje (np. usługi pod inną usługą) - flyout w prawo na desktopie.
   Etykieta to zwykły link (nawiguje od razu), osobny mały przycisk ze strzałką
   tylko rozwija listę dzieci - unika "przycisku, który robi dwie rzeczy naraz". */
.nav-dropdown-subitem { position: relative; }
.nav-dropdown-sub-row {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-dropdown-sub-link {
  flex: 1;
  min-width: 0;
}
.nav-dropdown-sub-toggle {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  color: var(--color-gray);
}
@media (hover: hover) {
  .nav-dropdown-sub-toggle:hover { background: var(--color-bg-alt); color: var(--color-dark); }
}
.nav-caret-sub { font-size: 0.6rem; transition: transform 0.2s ease; }
.nav-dropdown-subitem.open .nav-caret-sub,
.nav-dropdown-subitem:hover .nav-caret-sub { transform: rotate(180deg); }
.nav-dropdown-sub-panel {
  position: absolute;
  top: 0;
  left: 100%;
  padding-left: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 160;
}
.nav-dropdown-subitem:hover .nav-dropdown-sub-panel,
.nav-dropdown-subitem.open .nav-dropdown-sub-panel {
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown-viewall {
  margin-top: 4px;
  border-top: 1px solid var(--color-border);
  padding-top: 12px !important;
  font-weight: 700 !important;
  color: var(--color-accent) !important;
}
.lang-switch { display: flex; gap: 6px; font-size: 0.8rem; font-weight: 600; }
.lang-switch a {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--color-gray-light);
}
.lang-switch a.active { background: var(--color-accent-light); color: var(--color-accent-dark); }
.nav-cta { padding: 10px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-dark); border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--color-accent-light) 0%, rgba(253, 236, 218, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy { max-width: 800px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
.hero .lead { font-size: 1.15rem; color: var(--color-gray-light); max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }

/* Pasek pokazujący zakres kompetencji - wizualny separator między hero a "Co robimy" */
.scope-strip {
  padding: 22px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.scope-strip p {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--color-gray);
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head .lead { color: var(--color-gray-light); font-size: 1.05rem; }
.section-foot { text-align: center; margin-top: 40px; }

/* Services grid - bold colored tiles */
.grid-service-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}
.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 36px 32px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  background-color: var(--color-dark);
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 38%),
    radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1.6px);
  background-size: auto, auto, 16px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(43, 43, 45, 0.22); }
.service-tile--orange { background-color: var(--color-accent); }
.service-tile--slate { background-color: var(--color-slate); }
.service-tile-body { position: relative; z-index: 1; max-width: 85%; }
.service-tile-body h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0; }
.service-tile-underline { display: block; width: 44px; height: 3px; background: rgba(255, 255, 255, 0.85); border-radius: 2px; margin: 14px 0 16px; }
.service-tile-body p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-bottom: 0; }
.service-tile-icon {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
}
.service-tile-icon svg { width: 100%; height: 100%; }
.tech-tile-badge {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.tech-tile-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tech-tile-badge-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; color: var(--color-dark); }
.tech-tile-badge svg { width: 28px; height: 28px; color: var(--color-dark); }
.service-tile-link {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }

/* Why us */
.grid-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.why-item .why-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-accent-light);
  -webkit-text-stroke: 1.5px var(--color-accent);
  display: block;
  margin-bottom: 10px;
}
.why-item h3 { font-size: 1.1rem; }
.why-item p { color: var(--color-gray-light); font-size: 0.95rem; }

/* Technology marquee */
.tech-section .section-head { margin-bottom: 32px; }
.tech-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tech-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: tech-scroll 32s linear infinite;
}
.tech-marquee:hover .tech-marquee-track { animation-play-state: paused; }
.tech-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tech-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tech-logo img { height: 100%; max-width: 180px; width: auto; object-fit: contain; }
.tech-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-gray);
  white-space: nowrap;
}
@keyframes tech-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tech-marquee-track { animation: none; }
  .tech-marquee { overflow-x: auto; }
}

/* CTA banner */
.cta-banner {
  background: var(--color-dark);
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #c7c7ca; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { margin-top: 8px; }

/* Page header (inner pages) */
.page-header {
  padding: 56px 0 40px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 6px; }
.page-header .lead { color: var(--color-gray-light); max-width: 640px; }

.page-header--service {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-bottom: none;
  padding: 72px 0 60px;
  background-color: var(--color-dark);
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.16) 0%, transparent 45%),
    radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1.6px);
  background-size: auto, 18px 18px;
}
.page-header--service.page-header--orange { background-color: var(--color-accent); }
.page-header--service.page-header--slate { background-color: var(--color-slate); }
.page-header--service h1 { color: #fff; }
.page-header--service .lead { color: rgba(255, 255, 255, 0.85); }
.page-header--service .back-link { color: rgba(255, 255, 255, 0.75); }
.page-header--service .back-link:hover { color: #fff; }
.service-parent-link { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; margin: 6px 0 0; }
.service-parent-link a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.service-hero-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
}
.service-hero-icon svg { width: 32px; height: 32px; }
.tech-hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 14px 24px;
  margin-bottom: 24px;
}
.tech-hero-logo img { max-height: 44px; max-width: 220px; width: auto; display: block; }
.service-hero-trust {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.service-hero-trust li {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  padding: 8px 16px;
  border-radius: 999px;
}

/* Service detail */
.service-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.service-detail .service-icon { width: 64px; height: 64px; margin-bottom: 24px; }
.service-detail .service-icon svg { width: 32px; height: 32px; }
.service-body h2 { font-size: 1.3rem; margin-top: 1.4em; }
.service-body ul { list-style: none; padding-left: 0; color: var(--color-gray-light); }
.service-body li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.service-body li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: 50%;
}
/* Content authoring helpers - classes usable inside any rich-text "content" field (usługi, technologie, branże, blog, strony) */
.content-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
@media (min-width: 700px) {
  .content-cards--2 { grid-template-columns: repeat(2, 1fr); }
  .content-cards--3 { grid-template-columns: repeat(3, 1fr); }
  .content-cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.content-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.content-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.content-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.content-card h3,
.content-card h4 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--color-dark);
}
.content-card p:last-child { margin-bottom: 0; }
.content-card p,
.content-card ul { color: var(--color-gray-light); font-size: 0.95rem; }
.content-card--orange,
.content-card--dark,
.content-card--slate { color: #fff; }
.content-card--orange { background: var(--color-accent); }
.content-card--dark { background: var(--color-dark); }
.content-card--slate { background: var(--color-slate); }
.content-card--orange h3, .content-card--orange h4,
.content-card--dark h3, .content-card--dark h4,
.content-card--slate h3, .content-card--slate h4 { color: #fff; }
.content-card--orange p, .content-card--orange ul,
.content-card--dark p, .content-card--dark ul,
.content-card--slate p, .content-card--slate ul { color: rgba(255, 255, 255, 0.85); }
.content-card--orange .content-card-icon,
.content-card--dark .content-card-icon,
.content-card--slate .content-card-icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.content-card ul { list-style: none; padding-left: 0; margin: 0; }
.content-card li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.content-card li::before { content: '\2713'; position: absolute; left: 0; font-weight: 700; }

.content-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  margin: 32px 0;
}
.content-cta h3 { color: #fff; margin: 0 0 4px; font-size: 1.2rem; }
.content-cta p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.content-cta a.btn { background: #fff; color: var(--color-accent-dark); flex-shrink: 0; }
.content-cta a.btn:hover { background: rgba(255, 255, 255, 0.9); }

.content-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}

.content-quote {
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 28px;
  margin: 28px 0;
  font-size: 1.05rem;
  color: var(--color-dark);
}
.content-quote p:last-child { margin-bottom: 0; }

.service-side { position: sticky; top: 100px; }
.side-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.side-card h3 { font-size: 1.05rem; }
.side-card p { color: var(--color-gray-light); font-size: 0.92rem; }
.other-services { display: flex; flex-direction: column; gap: 4px; }
.other-services a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--color-gray);
}
.other-services a:hover { background: var(--color-bg); color: var(--color-accent); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-gray-light);
  margin-bottom: 20px;
}
.back-link:hover { color: var(--color-accent); }

/* About page */
.about-content { max-width: 760px; }
.about-content p { font-size: 1.05rem; color: var(--color-gray); }
.about-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.about-stats .stat strong { font-family: var(--font-heading); font-size: 1.8rem; display: block; color: var(--color-accent); }
.about-stats .stat span { color: var(--color-gray-light); font-size: 0.9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.contact-form-box { background: var(--color-bg-alt); border-radius: var(--radius); padding: 36px; }
.side-card .contact-form .btn-block { margin-top: 4px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--color-accent); }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-row .consent-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 0;
  text-transform: none;
}
.consent-label input { margin: 3px 0 0; flex-shrink: 0; width: auto; }
.consent-label span { font-size: 0.85rem; color: var(--color-gray-light); line-height: 1.5; }
.consent-label a { color: var(--color-accent); text-decoration: underline; }
.form-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 24px; font-size: 0.92rem; }
.form-alert.success { background: #e6f6ec; color: #1c7a3c; }
.form-alert.error { background: #fdeceb; color: #b3311a; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon-badge {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--color-accent-light); color: var(--color-accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .icon-badge svg { width: 20px; height: 20px; }
.contact-info-item h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-gray-light); margin-bottom: 2px; }
.contact-info-item p { margin: 0; font-weight: 500; }

/* Blog */
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.category-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-gray);
}
.category-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.category-pill.active { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

.grid-blog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.blog-card:hover { box-shadow: 0 20px 48px rgba(43, 43, 45, 0.14); transform: translateY(-4px); }
.blog-cover { aspect-ratio: 16 / 9; background: var(--color-bg-alt); overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-cover-placeholder { display: flex; align-items: center; justify-content: center; color: var(--color-accent); }
.blog-cover-placeholder svg { width: 40px; height: 40px; opacity: 0.5; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.blog-category {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0; }
.blog-card-body p { color: var(--color-gray-light); font-size: 0.92rem; flex-grow: 1; }
.blog-date { font-size: 0.82rem; color: var(--color-gray-light); }
.blog-post-cover { width: 100%; border-radius: var(--radius); margin-bottom: 28px; aspect-ratio: 16/9; object-fit: cover; }

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--color-dark);
  color: #e8e8ea;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  z-index: 200;
}
.cookie-banner.hidden { display: none; }
.cookie-banner-main { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-banner-main p { margin: 0; font-size: 0.88rem; flex: 1 1 320px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn-outline { border-color: rgba(255,255,255,0.35); color: #e8e8ea; }
.cookie-banner .btn-outline:hover { border-color: #fff; color: #fff; }
.cookie-banner-details {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-banner-details.hidden { display: none; }
.cookie-option { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; cursor: pointer; }
.cookie-option input { margin-top: 3px; flex-shrink: 0; }
.cookie-option input:disabled { opacity: 0.6; }
.cookie-option span { color: #cfcfd2; }
.cookie-option strong { color: #fff; }

/* Footer */
.site-footer { background: var(--color-dark); color: #c7c7ca; padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 32px; margin-bottom: 14px; }
.footer-col p { color: #a9a9ad; font-size: 0.92rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: #a9a9ad; font-size: 0.92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #8b8b8f;
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-cta { width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; }
  .nav-dropdown-panel {
    position: static;
    transform: none;
    padding-top: 0;
    max-height: 0;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .nav-dropdown.open .nav-dropdown-panel { max-height: 640px; }
  .nav-dropdown-panel-inner {
    background: var(--color-bg-alt);
    box-shadow: none;
    margin-top: 8px;
    width: 100%;
    max-width: none;
  }
  .nav-dropdown-sub-toggle { width: 40px; height: 40px; }
  .nav-dropdown-sub-panel {
    position: static;
    padding-left: 0;
    max-height: 0;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .nav-dropdown-subitem.open .nav-dropdown-sub-panel { max-height: 320px; }
  .nav-dropdown-sub-panel .nav-dropdown-panel-inner {
    background: transparent;
    box-shadow: none;
    padding: 2px 0 2px 14px;
    margin: 0 0 2px;
    border-left: 2px solid var(--color-border);
    width: auto;
    max-width: none;
  }
  .nav-dropdown-sub-panel .nav-dropdown-panel-inner a { font-size: 0.85rem; }
  .service-detail, .contact-grid { grid-template-columns: 1fr; }
  .service-side { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 100%; }
  .hero-blob { width: 360px; height: 360px; top: -80px; right: -80px; }
  .cta-banner { padding: 40px 24px; }
}
