@font-face {
  font-family: KamilOlczyk;
  src: url('/fonts/font-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: KamilOlczyk;
  src: url('/fonts/font-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: KamilOlczyk;
  src: url('/fonts/font-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --c-bg: #090909;
  --c-text: #f0ede8;
  --c-text-dim: #7e7e7e;
  --c-accent: #f62525;
  --c-accent-light: #ff4d4d;
  --c-green: #10b981;
  --c-border: color-mix(in srgb, var(--c-text) 7%, transparent);
  --c-bg-80: color-mix(in srgb, var(--c-bg) 80%, transparent);
  --c-accent-50: color-mix(in srgb, var(--c-accent) 50%, transparent);
  --c-green-40: color-mix(in srgb, var(--c-green) 40%, transparent);
  --c-green-50: color-mix(in srgb, var(--c-green) 50%, transparent);
  --c-text-20: color-mix(in srgb, var(--c-text) 20%, transparent);
  --c-text-10: color-mix(in srgb, var(--c-text) 10%, transparent);
  --c-text-03: color-mix(in srgb, var(--c-text) 3%, transparent);
  --ff-base: 'KamilOlczyk', system-ui, -apple-system, sans-serif;
  --sp-x: clamp(1.5rem, 4vw, 3.5rem);
  --sp-y: clamp(2rem, 5vw, 4rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-base: 0.3s;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px dashed var(--c-accent);
  outline-offset: 4px;
}

html {
  scrollbar-color: var(--c-accent) var(--c-bg);
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--c-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--c-accent);
  border-radius: 2px;
}

::selection {
  background: var(--c-accent);
  color: #fff;
}

body,
.col-left,
.col-right,
.hero-name,
.bio,
.contact-nav,
.services-block,
.footer-line,
.signature-wrap {
  display: flex;
  flex-direction: column;
}

body {
  font-family: var(--ff-base);
  background: var(--c-bg);
  color: var(--c-text);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-body {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1;
}

.col-left,
.col-right {
  justify-content: flex-start;
  padding: var(--sp-y) var(--sp-x);
}

.col-left,
.topbar,
.stat-row,
.service-item {
  border-bottom: 1px solid var(--c-border);
}

.stat-row,
.footer-line {
  border-top: 1px solid var(--c-border);
}

.col-left {
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.col-right {
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (width >= 768px) {
  .page-body {
    grid-template-columns: 1fr 1fr;
  }

  .col-left {
    border-bottom: none;
    border-right: 1px solid var(--c-border);
    padding-top: clamp(3rem, 6vh, 5rem);
  }

  .col-right {
    padding-top: clamp(3rem, 6vh, 5rem);
  }
}

.location-tag,
.status-badge,
.tagline,
.stat-label,
.btn-arrow,
.services-label,
.copyright-box {
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.bio,
.footer-text {
  color: var(--c-text-dim);
}

.location-tag,
.status-badge {
  font-size: 0.65rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--c-accent);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--sp-x);
  background: var(--c-bg-80);
  backdrop-filter: saturate(100%) blur(5px);
}

.logo-wrap img {
  width: clamp(52px, 8vw, 80px);
  height: auto;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.location-tag {
  letter-spacing: 0.15em;
  display: none;
}

@media (width >= 500px) {
  .location-tag {
    display: block;
  }
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.status-dot {
  width: 5px;
  height: 5px;
  background: var(--c-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--c-green-40);
  animation: pulse 2.4s ease-in-out infinite;
}


.name-line {
  font-size: clamp(3rem, 7vw + 1rem, 9.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.name-first {
  background: linear-gradient(135deg, var(--c-text) 0%, var(--c-text) 60%, var(--c-accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 30%));
}

.name-last {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-accent-light);
  transition: -webkit-text-stroke-color var(--t-base), color var(--t-base), filter var(--t-base);
}

@media (hover: hover) {
  .name-last:hover {
    color: var(--c-accent-light);
    -webkit-text-stroke-color: transparent;
    filter: drop-shadow(0 4px 16px var(--c-accent-50));
  }
}

.tagline {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.25em;
  margin-top: 1.5rem;
}

.bio-row,
.footer-line {
  gap: 2rem;
}

.bio-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.bio {
  font-size: clamp(0.82rem, 0.9vw, 0.95rem);
  line-height: 1.7;
  max-width: 55ch;
  gap: 0.75rem;
}

.bio-line:last-child {
  text-wrap: pretty;
}

.bio strong {
  color: var(--c-text);
  font-weight: 700;
}

.avatar-wrap {
  flex-shrink: 0;
  width: clamp(80px, 15vw, 120px);
  height: clamp(80px, 15vw, 120px);
  border-radius: 50%;
  overflow: hidden;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--c-accent);
  position: relative;
  transition: text-shadow var(--t-base), filter var(--t-base);
}

@media (hover: hover) {
  .stat-number:hover {
    text-shadow: 0 0 12px var(--c-accent-50), 0 0 24px var(--c-accent-50);
    filter: brightness(1.2);
  }
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--c-accent);
  opacity: 0.4;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.contact-nav {
  gap: 1.25rem;
}

.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  letter-spacing: 0.03em;
  background: var(--c-text-03);
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base);
}

.btn-at {
  opacity: 0.5;
  font-size: 1.1em;
  margin-right: 0.5em;
  display: inline-block;
  transition: color var(--t-base), opacity var(--t-base);
}

.btn-arrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (hover: hover) {
  .btn:hover {
    border-color: var(--c-accent);
    color: #fff;
    background: var(--c-accent);
    box-shadow: 0 0 12px var(--c-accent-50), 0 0 6px var(--c-accent);
  }

  .btn.btn-whatsapp:hover {
    border-color: var(--c-green);
    background: var(--c-green);
    box-shadow: 0 0 12px var(--c-green-50), 0 0 6px var(--c-green);
  }

  .btn:hover .btn-at {
    opacity: 1;
    color: #fff;
  }

  .btn:hover .btn-arrow {
    color: #fff;
  }
}

.services-block {
  flex: 1;
  justify-content: center;
}

.services-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  margin-bottom: 1.5rem;
}

.services-list {
  counter-reset: service-counter;
}

.service-item {
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  padding: 0.6rem 0 0.6rem 3.5rem;
  border-left: 3px solid transparent;
  position: relative;
  overflow: hidden;
  transition: color var(--t-base), border-color var(--t-base);
  counter-increment: service-counter;
}

.service-item:first-of-type {
  border-top: 1px solid var(--c-border);
}

.service-item::before {
  content: counter(service-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.6rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--c-accent);
  opacity: 0.5;
  transition: opacity var(--t-base);
}


.service-item::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--c-accent);
  z-index: -1;
  transition: width 0.35s var(--ease);
}

@media (hover: hover) {
  .service-item:hover {
    color: #fff;
    border-left-color: var(--c-accent);
  }

  .service-item:hover::before {
    opacity: 1;
  }

  .service-item:hover::after {
    width: 100%;
  }
}

.footer-line {
  align-items: center;
  text-align: center;
  padding-top: 1.5rem;
}

@media (width >= 500px) and (width <= 767px) {
  .footer-line {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

@media (width >= 1360px) {
  .footer-line {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
  }
}

.footer-text {
  font-size: 0.72rem;
  line-height: 1.7;
}

.footer-text strong {
  color: var(--c-text);
  font-weight: 700;
}

.footer-domain {
  font-weight: 400;
}

.footer-text .status-dot {
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  margin: 0 0.3rem;
}

.copy-badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  background: var(--c-accent);
  color: var(--c-bg);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  font-weight: 400;
  margin-right: 0.35rem;
  margin-top: 0.4rem;
}

.signature-wrap {
  text-align: center;
  align-items: center;
}

.signature-wrap img {
  width: clamp(80px, 14vw, 120px);
  height: auto;
  animation: signature-glow 2s ease-in-out infinite;
  will-change: filter;
}

.signature-wrap .footer-text {
  margin-top: 0.75rem;
}

.copyright-box {
  margin-top: 0.75rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--c-accent);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  background: var(--c-accent);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  border: 1.5px solid var(--c-accent-50);
  transition: opacity 0.2s ease, border-color 0.3s ease, width 0.3s ease, height 0.3s ease;
}

body.has-mouse .cursor-dot,
body.has-mouse .cursor-ring {
  opacity: 1;
}

body.is-outside .cursor-dot,
body.is-outside .cursor-ring {
  opacity: 0;
}


@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

body.has-mouse,
body.has-mouse a,
body.has-mouse button,
body.has-mouse .service-item {
  cursor: none;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--c-green-40);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
    box-shadow: 0 0 0 4px transparent;
  }
}

@keyframes signature-glow {
  0%, 60%, 100% {
    filter: brightness(0.3) drop-shadow(0 0 4px transparent);
  }

  30% {
    filter: brightness(1) drop-shadow(0 0 6px var(--c-text-20)) drop-shadow(0 0 12px var(--c-text-10));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .status-dot {
    animation: none !important;
  }
}
