/* =========================================================================
   KAROL SKROBAN — STUDIO PORTFOLIO
   Design Language Inspired by eighteen.studio
   ========================================================================= */

/* ===== RESET & BOX SIZING ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg-main: #ffffff;
  --bg-alt: #f8f8f8;
  --bg-black: #0a0a0a;
  --text-main: #000000;
  --text-muted: #555555;
  --text-light: #888888;
  --border-light: #e5e5e5;
  --border-dark: #222222;
  --accent-blue: #011eff;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --pad-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max-w: 1480px;
}

/* ===== SELECTION ACCENT (eighteen.studio signature blue) ===== */
::-moz-selection {
  background: var(--accent-blue);
  color: #ffffff;
}

::selection {
  background: var(--accent-blue);
  color: #ffffff;
}

/* ===== BASE HTML & BODY ===== */
html {
  font-size: 16px;
  scroll-behavior: auto !important;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: clip;
  line-height: 1.5;
}

.page-wrap {
  overflow-x: clip;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-blue);
  z-index: 1000;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ===== CONTAINER SYSTEM ===== */
.container-fluid {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-gutter);
  padding-right: var(--pad-gutter);
}

/* ===== SIGNATURE GEOMETRIC DOT (.c) ===== */
.c {
  display: inline-block;
  background: #000000;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  margin-right: 12px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  flex-shrink: 0;
}

h1 .c {
  width: 24px;
  height: 24px;
  top: -3px;
}

h2 .c {
  width: 22px;
  height: 22px;
  top: -2px;
}

h3 .c {
  width: 16px;
  height: 16px;
}

/* White dot in dark sections */
.white .c,
.bg-black .c {
  background: #ffffff;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 700;
  font-size: clamp(1.85rem, 5.2vw, 4.8rem);
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 em, h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: normal;
  display: inline-block;
}

h2 {
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.15;
}

h3 {
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.5px;
}

h3 span {
  font-weight: 700;
}

h4 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
}

p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

p.lead-text {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: #333333;
  line-height: 1.65;
  font-weight: 400;
}

p.p-desc {
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.45;
  color: #222222;
  font-weight: 400;
}

.p-desc.white {
  color: #cccccc;
}

hr.studio-hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 3.5rem 0 1rem 0;
}

/* ===== BUTTONS (eighteen.studio style) ===== */
.btn-default {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-default:hover,
.btn-default.is-active {
  color: #ffffff;
  background-color: #000000;
  text-decoration: none;
}

.btn-arrow,
.btn-arrow2 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark pill button with white border */
.btn-arrow {
  color: #ffffff;
  background-color: #000000;
  border: 2px solid #ffffff;
}

.btn-arrow::after {
  content: '→';
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.btn-arrow:hover {
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Light pill button with black border */
.btn-arrow2 {
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #000000;
}

.btn-arrow2::after {
  content: '→';
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.btn-arrow2:hover {
  color: #ffffff;
  background-color: #000000;
}

.btn-arrow2:hover::after {
  transform: translateX(4px);
}

/* Minimalist link button with bottom border */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid #000000;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.65;
  text-decoration: none;
}

/* ===== HEADER & NAVIGATION ===== */
.studio-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-gutter);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #000000;
}

.logo-mark {
  width: 12px;
  height: 12px;
  background: #000000;
  border-radius: 50%;
  display: inline-block;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-text .tm {
  font-size: 0.65rem;
  vertical-align: super;
  margin-left: 2px;
  font-weight: 600;
}

.logo-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* Header Right Layout */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

/* Desktop Navigation */
.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.02);
}

.lang-switch .lang-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-switch .lang-link:hover {
  color: #000000;
}

.lang-switch .lang-divider {
  color: var(--border-light);
  font-weight: 400;
}

.lang-switch .lang-current {
  color: #000000;
  font-weight: 700;
}

.drawer-lang-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2rem;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  width: fit-content;
}

.drawer-lang-wrap .lang-link {
  color: var(--text-light);
  text-decoration: none;
}

.drawer-lang-wrap .lang-divider {
  color: var(--border-light);
}

.drawer-lang-wrap .lang-current {
  color: #000000;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.55;
  text-decoration: none;
}

.nav-link--contact {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid #000000;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.nav-link--contact:hover {
  background: #000000;
  color: #ffffff;
  opacity: 1;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 32px;
  height: 24px;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
  z-index: 600;
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.is-open .toggle-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.is-open .toggle-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-open .toggle-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000000;
  color: #ffffff;
  z-index: 550;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad-gutter);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  margin-bottom: 3rem;
}

.mobile-nav-link {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.5;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.mobile-nav-link:hover {
  opacity: 0.6;
}

.drawer-footer .drawer-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #888888;
  display: block;
  margin-bottom: 0.5rem;
}

.drawer-footer h6 {
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.drawer-footer h6 a {
  color: #ffffff;
  text-decoration: none;
}

.drawer-footer h6 a:hover {
  text-decoration: underline;
}

.drawer-location {
  font-size: 0.85rem;
  color: #777777;
}

/* ===== HERO SECTION ===== */
.home-hero {
  padding-top: clamp(8rem, 15vw, 12rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-title-wrap {
  margin-bottom: 3.5rem;
}

.hero-sub-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3rem;
  align-items: end;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-scroll-col {
  display: flex;
  justify-content: flex-end;
}

.scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #000000;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.scroll-indicator:hover {
  opacity: 0.6;
}

.scroll-text {
  font-size: 1.05rem;
  font-weight: 700;
}

.scroll-sub {
  font-size: 0.85rem;
  color: #777777;
  font-weight: 400;
}

.scroll-arrow {
  margin-top: 6px;
  font-size: 1.25rem;
  animation: floatDown 2s infinite ease-in-out;
}

@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== WORK / PROJEKTY SECTION ===== */
.section-work {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.work-header-row,
.services-header-row,
.contact-header-row,
.dark-header-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.work-header-row .col-desc,
.services-header-row .col-desc,
.contact-header-row .col-desc,
.dark-header-row .col-desc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Filter pills (eighteen.studio signature) */
.work-filter-wrap,
.filter-row {
  margin-bottom: 2.5rem;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #888888;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

/* Single Portfolio Card */
.portfolio-card {
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-card.is-hidden {
  display: none;
}

.card-media-wrap {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f0f0f0;
  text-decoration: none;
  aspect-ratio: 16 / 10;
  border: 1px solid #ebebeb;
}

.img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.card-media-wrap:hover .portfolio-img {
  transform: scale(1.04);
}

/* Custom B2B Mock styling */
.b2b-mock-container {
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.5rem;
}

.b2b-visual-mock {
  width: 100%;
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 1.5rem;
  color: #ffffff;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #282828;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.mock-logo {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.mock-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  background: #252525;
  border-radius: 4px;
  color: #999;
}

.mock-row {
  height: 10px;
  background: #252525;
  border-radius: 4px;
  margin-bottom: 8px;
  width: 80%;
}

.mock-row--short {
  width: 50%;
  margin-bottom: 1.25rem;
}

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-c {
  background: #222;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.mock-c span {
  font-size: 0.65rem;
  color: #888;
  font-family: var(--font-mono);
}

.mock-c strong {
  font-size: 0.8rem;
  color: #00e676;
}

/* Card Info typography */
.card-info {
  padding-top: 1.25rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #777777;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.card-num {
  font-weight: 700;
  color: #000000;
}

.card-title {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.card-title a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.card-title a:hover {
  opacity: 0.6;
}

.card-summary {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555555;
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.card-client {
  font-weight: 600;
  color: #333333;
}

.card-external-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-external-link:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* ===== SERVICES / KOMPETENCJE SECTION ===== */
.section-services {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background-color: var(--bg-alt);
}

.services-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.service-item {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.25rem 2.5rem;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: background 0.25s ease;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-color: #111111;
}

.service-item:hover::before {
  background: #000000;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-title-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.service-idx {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #777777;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.service-item:hover .service-idx {
  color: #000000;
}

.service-name {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #000000;
}

.service-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-arrow-icon {
  font-size: 1.2rem;
  line-height: 1;
  color: #555555;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.28s ease;
}

.service-item:hover .service-arrow-btn {
  background: #000000;
  border-color: #000000;
}

.service-item:hover .service-arrow-icon {
  color: #ffffff;
  transform: rotate(45deg) scale(1.08);
}

.service-body {
  width: 100%;
}

.service-text {
  font-size: 0.98rem;
  line-height: 1.68;
  color: #444444;
  max-width: 920px;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: 6px;
  background: var(--bg-alt);
  color: #444444;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-item:hover .service-tag {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.14);
  color: #111111;
}

/* ===== PHILOSOPHY / STATEMENT BOX (eighteen.studio quote style) ===== */
.section-statement {
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.statement-box {
  max-width: 1080px;
}

.statement-headline {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 2.5rem;
  letter-spacing: -0.015em;
}

.statement-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ===== DARK CONTRAST SECTION: TECHNOLOGIE (eighteen.studio .bg-black) ===== */
.section-dark.bg-black {
  background-color: var(--bg-black);
  color: #ffffff;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section-dark .white {
  color: #ffffff;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.tech-card {
  background: #141414;
  border: 1px solid #242424;
  border-radius: 8px;
  padding: 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.tech-card:hover {
  border-color: #444444;
  transform: translateY(-4px);
}

.tech-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #777777;
  display: block;
  margin-bottom: 0.75rem;
}

.tech-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.tech-text {
  color: #aaaaaa;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  background: #202020;
  border-radius: 4px;
  color: #cccccc;
}

/* Metrics Row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid #222222;
  padding-top: 4rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.metric-label {
  font-size: 0.9rem;
  color: #777777;
  line-height: 1.4;
}

/* ===== KONTAKT SECTION ===== */
.section-contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

/* ===== DEC-VISUALS.PL STYLE CONTACT FORM ===== */
.contact-form-wrap,
.dec-form-container {
  margin-top: 1.5rem;
  margin-bottom: 4.5rem;
}

.form-tagline {
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 500;
  color: #333333;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.form-divider {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin-bottom: 3.5rem;
}

.form-headline {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #000000;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.dec-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 2.75rem;
  margin-bottom: 2.5rem;
}

.dec-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dec-field .field-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #666666;
  text-transform: uppercase;
}

.dec-field input,
.dec-field textarea {
  border: none;
  border-bottom: 1px solid #d0d0d0;
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  color: #000000;
  width: 100%;
  outline: none;
  transition: border-color 0.25s ease;
}

.dec-field input::placeholder,
.dec-field textarea::placeholder {
  color: #bbbbbb;
  font-size: 0.95rem;
  font-weight: 400;
}

.dec-field input:focus,
.dec-field textarea:focus {
  border-bottom-color: #000000;
}

.dec-field--phone {
  grid-column: 1 / 2;
}

.dec-field--full {
  grid-column: 1 / -1;
}

.dec-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.dec-submit-btn {
  background-color: #0a0a0a;
  color: #ffffff;
  border: none;
  border-radius: 0;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.dec-submit-btn:hover {
  background-color: #2b2b2b;
}

.dec-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-status.is-success {
  color: #00c853;
}

.form-status.is-error {
  color: #d50000;
}

.contact-sub-title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  margin-bottom: 2rem;
}

.contact-banner {
  margin: 3rem 0 3.5rem 0;
}

.contact-giant-heading {
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.contact-box {
  border: 2px solid #000000;
  border-radius: 12px;
  padding: 2.25rem;
  text-decoration: none;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact-box:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-4px);
}

.contact-box-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #777777;
  transition: color 0.25s ease;
}

.contact-box:hover .contact-box-label {
  color: #aaaaaa;
}

.contact-box-val {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.25rem 0;
  word-break: break-all;
}

.contact-box-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1rem;
}

.contact-box:hover .contact-box-action {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.action-arrow {
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-box--info {
  background: var(--bg-alt);
  border-color: var(--border-light);
}

.contact-box--info:hover {
  background: var(--bg-alt);
  color: #000000;
  transform: none;
}

.contact-box--info:hover .contact-box-label {
  color: #777777;
}

.contact-box--info:hover .contact-box-action {
  border-top-color: rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
.studio-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 2.5rem 0;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand .f-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: block;
}

.footer-brand .f-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #777777;
}

.footer-nav-links {
  display: flex;
  gap: 2rem;
}

.footer-nav-links a {
  color: #000000;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-nav-links a:hover {
  opacity: 0.5;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #777777;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-back-top {
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-back-top:hover {
  opacity: 0.5;
}

/* ===== RESPONSIVENESS & MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .work-header-row,
  .services-header-row,
  .contact-header-row,
  .dark-header-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-right .lang-switch {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-sub-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-scroll-col {
    justify-content: flex-start;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    padding: 1.5rem 1.25rem;
  }

  .service-top {
    gap: 1rem;
  }

  .service-arrow-btn {
    width: 36px;
    height: 36px;
  }

  .service-arrow-icon {
    font-size: 1rem;
  }

  .service-tags {
    gap: 0.4rem;
  }

  .service-tag {
    font-size: 0.72rem;
    padding: 0.28rem 0.6rem;
  }

  .dec-form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dec-field--phone {
    grid-column: 1 / -1;
  }

  .showcase-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: 260px;
  }

  .metrics-row {
    grid-template-columns: 1fr;
  }

  .footer-top-row,
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
