/* ==========================================================================
   ASTATIC - Modern Digital Studio (Strony WWW & Aplikacje)
   Design System & Styling
   ========================================================================== */

/* ==========================================================================
   Local Typography: Self-hosted WOFF2 Fonts (Zero External Latency)
   ========================================================================== */
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJuktqUYLkn8BJ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJuktqUYLkn8BJ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJuktqUYLkn8BJ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJuktqUYLkn8BJ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJuktqUYLkn8BJ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJuktqUYLkn8BJ.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(fonts/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yygg_vbd-E.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yygg_vb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Rich, vibrant modern palette - NOT black & white */
  --bg-darkest: #070b16;
  --bg-darker: #0c1324;
  --bg-dark: #111a33;
  --bg-surface: #172342;
  --bg-surface-hover: #1e2e57;
  
  --primary-blue: #2563eb;
  --primary-light: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.4) 0%, rgba(6, 182, 212, 0.2) 100%);
  --grad-accent: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #ec4899 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-card: linear-gradient(180deg, rgba(23, 35, 66, 0.75) 0%, rgba(12, 19, 36, 0.9) 100%);
  --grad-card-hover: linear-gradient(180deg, rgba(30, 46, 87, 0.85) 0%, rgba(17, 26, 51, 0.95) 100%);

  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(59, 130, 246, 0.4);
  --glass-bg: rgba(12, 19, 36, 0.72);
  --glass-blur: blur(16px);

  /* Typography */
  --font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-white: #ffffff;
  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-neon-blue: 0 0 35px rgba(37, 99, 235, 0.35);
  --shadow-neon-cyan: 0 0 35px rgba(6, 182, 212, 0.3);

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-darkest);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.10) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, textarea, select {
  font-family: inherit;
  outline: none;
  border: none;
}

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

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 11, 22, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 11, 22, 0.92);
  border-bottom-color: var(--border-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(6, 182, 212, 0.3));
  transition: var(--transition);
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.nav-badge {
  background: rgba(6, 182, 212, 0.18);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-phone:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--accent-cyan);
}

.nav-phone svg {
  color: var(--accent-cyan);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-white);
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--text-white);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-accent {
  background: var(--grad-accent);
  color: var(--text-white);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.5);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  width: fit-content;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

/* Section Common */
.section {
  padding: 100px 0;
  position: relative;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 18px;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent,
.text-gradient-pink {
  background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Hero Section (Centered High-End Agency Style, Subtle Glow, No Circle)
   ========================================================================== */
.hero-section {
  padding-top: 175px;
  padding-bottom: 95px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Ambient Diffuse Atmosphere (Soft wide glow, NO CIRCLE/SPHERE) */
.hero-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 560px;
  background: radial-gradient(ellipse 70% 50% at 50% 15%, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.10) 45%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Subtle Modern Engineering Grid Pattern */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-content-center {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-pill {
  margin-bottom: 24px;
}

.hero-title-center {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 880px;
}

.hero-subtitle-center {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-cta-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

/* Trust Proof Capsule Bar */
.hero-trust-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(12, 19, 36, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.trust-capsule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.trust-capsule-item strong {
  color: var(--text-white);
}

.trust-stars-mini {
  color: var(--accent-amber);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
}

.trust-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.trust-time-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capsule-divider {
  width: 1px;
  height: 22px;
  background: var(--border-subtle);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(12, 19, 36, 0.5);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Services Section (tworzenie stron oraz tworzenie aplikacji)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  background: var(--grad-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.2);
}

.service-card.featured {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(180deg, rgba(23, 35, 66, 0.9) 0%, rgba(12, 19, 36, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.service-featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--grad-primary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--grad-primary);
  color: var(--text-white);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.service-feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: auto;
}

.service-link:hover {
  color: var(--text-white);
  gap: 12px;
}

/* ==========================================================================
   Philosophy / Dlaczego Astatic
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-text-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.philosophy-highlight-card {
  background: rgba(37, 99, 235, 0.08);
  border-left: 4px solid var(--primary-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  font-size: 1.05rem;
  color: var(--text-main);
  font-style: italic;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pillar-card {
  background: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
  background: var(--grad-card-hover);
}

.pillar-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  opacity: 0.6;
  margin-bottom: 8px;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Collaboration Process (Jak przebiega współpraca)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-card {
  background: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  background: var(--grad-card-hover);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.process-card:hover .process-step-num {
  color: rgba(6, 182, 212, 0.25);
}

.process-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Portfolio Section (Realizacje - 6 on homepage, expandable to all)
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.portfolio-card {
  background: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.15);
  user-select: none;
  -webkit-user-select: none;
}

/* Ensure all interior elements pass clicks straight to the card */
.portfolio-card * {
  pointer-events: none;
}

/* Instant haptic-like visual feedback on tap */
.portfolio-card:active {
  transform: scale(0.985);
  transition: transform 0.1s ease;
}

.portfolio-img-box {
  position: relative;
  width: 100%;
  padding-top: 62%;
  overflow: hidden;
  background: radial-gradient(circle at center, #111a33 0%, #070c18 100%);
}

.portfolio-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  will-change: transform;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.1) 0%, rgba(7, 11, 22, 0.8) 100%);
  opacity: 0.6;
  transition: var(--transition);
  pointer-events: none;
}

.portfolio-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 11, 22, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
  pointer-events: none;
}

/* Only enable hover on desktop/pointer devices to avoid 2-tap gesture bug on iOS Safari */
@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.25);
  }

  .portfolio-card:hover .portfolio-img {
    transform: scale(1.06);
  }

  .portfolio-card:hover .portfolio-overlay {
    opacity: 0.2;
  }

  .portfolio-card:hover .portfolio-zoom-btn {
    opacity: 1;
    transform: scale(1);
  }
}

@media (hover: none) {
  .portfolio-overlay {
    display: none !important;
  }
  .portfolio-img {
    opacity: 1 !important;
  }
}

.portfolio-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.portfolio-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.portfolio-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Portfolio Integrated Action Strip (Full-Width, Blended With Cards Grid) */
.portfolio-action-strip {
  width: 100%;
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(20, 30, 55, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-action-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  width: 320px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.portfolio-action-strip:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), 0 0 30px rgba(37, 99, 235, 0.12);
}

.portfolio-strip-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.portfolio-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-strip-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
  margin: 0;
}

.portfolio-strip-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  max-width: 620px;
}

.portfolio-strip-right {
  flex-shrink: 0;
}

.portfolio-strip-right .btn {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .portfolio-action-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }
  .portfolio-strip-right {
    width: 100%;
  }
  .portfolio-strip-right .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Interactive Cost Calculator (Kalkulator Wyceny Projektu)
   ========================================================================== */
.calc-wrapper {
  background: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg), var(--shadow-neon-cyan);
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 44px;
  min-width: 0;
}

.calc-options-side,
.calc-summary-side {
  min-width: 0;
}

.calc-options-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  min-width: 0;
}

.calc-radio-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  word-break: break-word;
}

.calc-radio-card input {
  position: absolute;
  opacity: 0;
}

.calc-radio-card.active, .calc-radio-card:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--primary-light);
}

.calc-radio-card.active {
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.calc-radio-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-radio-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

.calc-radio-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.calc-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  min-width: 0;
}

.calc-check-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  word-break: break-word;
}

.calc-check-card.checked {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--accent-cyan);
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: var(--transition);
  user-select: none;
}

.calc-check-card:hover .custom-checkbox {
  border-color: rgba(6, 182, 212, 0.5);
}

.calc-check-card.checked .custom-checkbox {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #070c17;
}

.calc-check-label strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-white);
}

.calc-check-label span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* Calculator Summary Box */
.calc-summary-side {
  background: rgba(7, 11, 22, 0.75);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-head {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.summary-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.summary-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.summary-row strong {
  color: var(--text-white);
}

.summary-total-box {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: center;
}

.total-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.total-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
}

.total-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.calc-other-btn {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.35;
  text-align: center;
}

.calc-other-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}

.calc-other-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  transition: var(--transition);
}

.calc-other-action svg {
  transition: transform 0.25s ease;
}

.calc-other-btn:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--accent-cyan);
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
}

.calc-other-btn:hover .calc-other-sub {
  color: var(--text-secondary);
}

.calc-other-btn:hover .calc-other-action {
  color: #fff;
}

.calc-other-btn:hover .calc-other-action svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Testimonials (Opinie z Google)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-5px);
  background: var(--grad-card-hover);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--accent-amber);
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.9rem;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-white);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   Contact Section (Unified All-in-One Master Cockpit Card)
   ========================================================================== */
.contact-master-card {
  background: linear-gradient(135deg, rgba(13, 20, 38, 0.88) 0%, rgba(20, 30, 56, 0.70) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(37, 99, 235, 0.08);
  overflow: hidden;
  position: relative;
}

.contact-master-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  pointer-events: none;
}

.contact-master-sidebar {
  padding: 38px 36px;
  background: rgba(8, 13, 26, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.contact-channels-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 14px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.contact-channel-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-channel-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.contact-channel-item:hover .contact-icon-box {
  background: rgba(37, 99, 235, 0.25);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: scale(1.05);
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-text-box {
  flex: 1;
}

.contact-text-box strong {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-text-box a, .contact-text-box span {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-white);
  transition: var(--transition);
}

.contact-text-box a:hover {
  color: var(--accent-cyan);
}

.contact-phone-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.contact-phone-secondary {
  font-size: 0.92rem !important;
  color: var(--text-secondary) !important;
  font-weight: 600 !important;
}

.contact-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}

/* Contact Sidebar Top Header */
.contact-sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.contact-sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
  margin: 0;
}

.contact-sidebar-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* Contact Sidebar Bottom Bar */
.contact-sidebar-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-sidebar-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-guarantee-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.contact-guarantee-tag svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  color: #34d399;
  width: fit-content;
}

/* Master Form Pane */
.contact-master-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(7, 11, 22, 0.65);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-white);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
  background-color: rgba(7, 11, 22, 0.85);
  outline: none;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(7, 11, 22, 0.65);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) center;
  background-size: 15px 15px;
  padding-right: 48px;
  cursor: pointer;
}

select.form-control:focus {
  background-color: rgba(7, 11, 22, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2306b6d4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) center;
  background-size: 15px 15px;
}

select.form-control option {
  background: #0d1527;
  color: #fff;
  padding: 12px;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success-banner {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.92rem;
  text-align: center;
}



/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #050811;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modal for Full HD Portfolio Mockup Zoom
   ========================================================================== */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content-wrapper {
  background: var(--bg-darker);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content-wrapper::-webkit-scrollbar {
  width: 6px;
}
.modal-content-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.modal-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.modal-content-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

@keyframes modalPop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 16, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 20;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.35);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fff;
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  flex-direction: column;
}

.modal-image-side {
  background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.15), rgba(6, 11, 22, 0.95) 85%), #060b16;
  padding: 36px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.modal-image-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}

.modal-img-preview {
  position: relative;
  z-index: 1;
  max-height: 440px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}

.modal-img-preview:hover {
  transform: scale(1.015);
}

.modal-info-side {
  padding: 34px 38px 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.modal-header-info {
  display: flex;
  flex-direction: column;
}

.modal-project-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-project-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.modal-project-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.modal-details-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  background: transparent;
}

.modal-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: var(--transition);
}

.modal-detail-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-card);
}

.modal-detail-item span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.modal-detail-item strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

.modal-cta-btn {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
  font-size: 1.05rem;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.modal-cta-btn:hover {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

/* ==========================================================================
   Filter Bar (for realizacje.html)
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: var(--border-card);
}

.filter-btn.active {
  background: var(--grad-primary);
  color: var(--text-white);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

/* Portfolio Page Hero (realizacje.html) */
.portfolio-hero-section {
  padding-top: 155px;
  padding-bottom: 30px;
}

.portfolio-hero-badge {
  margin-bottom: 16px;
}

.portfolio-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  max-width: 920px;
  margin: 0 auto 18px;
}

.portfolio-hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.portfolio-grid-section {
  padding-bottom: 80px;
}

/* Portfolio CTA Bottom Banner */
.portfolio-cta-banner {
  background: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.portfolio-cta-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.portfolio-cta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 26px;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-links {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .brand-logo-img {
    height: 42px;
  }
  .nav-actions {
    gap: 10px;
  }
  .nav-phone {
    padding: 6px 11px;
    font-size: 0.84rem;
  }
  .nav-actions .btn-sm {
    padding: 8px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-container {
    height: 72px;
  }
  .brand-logo-img {
    height: 42px;
  }
  .nav-actions {
    gap: 12px;
  }
  .nav-phone {
    padding: 7px 12px;
    font-size: 0.86rem;
  }
  .hero-title-center {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item {
    background: rgba(16, 24, 45, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
  }
  .stat-item:nth-child(2),
  .stat-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .contact-master-card {
    grid-template-columns: 1fr;
  }
  .contact-master-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 24px;
  }
  .contact-master-form {
    padding: 32px 24px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin: 0 auto 36px;
  }
  #realizacje {
    padding-bottom: 24px;
  }
  .portfolio-action-strip {
    margin-top: 24px;
  }
  #kalkulator {
    padding-top: 36px;
  }
  .brand-logo-img {
    height: 38px;
  }
  .nav-container {
    height: 68px;
  }
  .nav-phone {
    display: none;
  }
  .modal-content-wrapper {
    max-width: 100%;
    border-radius: var(--radius-lg);
  }
  .contact-master-card {
    border-radius: var(--radius-lg);
  }
  .modal-image-side {
    padding: 24px 16px 20px;
  }
  .modal-img-preview {
    max-height: 280px;
  }
  .modal-info-side {
    padding: 24px 20px 28px;
    gap: 18px;
  }
  .modal-project-title {
    font-size: 1.6rem;
  }
  .modal-details-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .hero-section {
    padding-top: 135px;
    padding-bottom: 60px;
  }
  .hero-title-center {
    font-size: 2.2rem;
  }
  .hero-cta-center {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-center .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-capsule {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    width: 100%;
    align-items: flex-start;
  }
  .capsule-divider {
    display: none;
  }
  .section-title {
    font-size: 2.1rem;
  }
  /* Realizacje.html & Portfolio Cards Mobile Optimization */
  .portfolio-hero-section {
    padding-top: 105px;
    padding-bottom: 22px;
  }
  .portfolio-hero-title {
    font-size: 1.85rem !important;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .portfolio-hero-desc {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .portfolio-hero-badge {
    margin-bottom: 12px;
    font-size: 0.76rem;
    padding: 5px 12px;
  }
  /* Hide filter badges on mobile devices as requested */
  .filter-bar {
    display: none !important;
  }
  .portfolio-grid-section {
    padding-top: 12px;
    padding-bottom: 48px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
  }
  .portfolio-card {
    border-radius: var(--radius-lg);
  }
  .portfolio-overlay {
    display: none !important;
  }
  .portfolio-img {
    opacity: 1 !important;
    filter: none !important;
  }
  .portfolio-body {
    padding: 18px 16px;
  }
  .portfolio-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  .portfolio-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .portfolio-zoom-btn {
    opacity: 0.9;
    transform: scale(0.9);
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }
  .portfolio-cta-banner {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
    margin-top: 28px;
  }
  .portfolio-cta-title {
    font-size: 1.35rem;
  }
  .portfolio-cta-desc {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }
  .portfolio-cta-banner .btn {
    width: 100%;
    justify-content: center;
  }
  .portfolio-action-strip {
    padding: 16px;
    margin-top: 24px;
    justify-content: center;
  }
  .portfolio-strip-left {
    display: none !important;
  }
  .portfolio-strip-right {
    width: 100%;
  }
  .portfolio-strip-right .btn {
    width: 100%;
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 30px 22px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .process-card {
    padding: 28px 22px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .calc-radio-grid {
    grid-template-columns: 1fr;
  }
  .calc-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .btn {
    white-space: normal;
  }
  .calc-wrapper {
    padding: 24px 18px;
  }
  .calc-summary-side {
    padding: 24px 18px;
  }
  #calcSendToFormBtn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .total-price {
    font-size: 1.85rem;
  }
  .stats-section {
    padding: 30px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 12px;
    background: rgba(16, 24, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  }
  .stat-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .stat-icon-wrap svg {
    width: 20px;
    height: 20px;
  }
  .stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3px;
  }
  .stat-label {
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text-secondary);
  }
  .contact-sidebar-bottom {
    display: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 44px 0;
  }
  .section-header {
    margin: 0 auto 24px;
  }
  #realizacje {
    padding-bottom: 14px;
  }
  .portfolio-action-strip {
    margin-top: 16px;
    padding: 14px 12px;
  }
  #kalkulator {
    padding-top: 26px;
  }
  .container {
    padding: 0 16px;
  }
  .stats-section {
    padding: 22px 0;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-item {
    padding: 15px 8px;
    border-radius: 14px;
    gap: 8px;
  }
  .stat-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .stat-icon-wrap svg {
    width: 19px;
    height: 19px;
  }
  .stat-number {
    font-size: 1.55rem;
  }
  .stat-label {
    font-size: 0.74rem;
    line-height: 1.3;
  }
  .portfolio-hero-section {
    padding-top: 92px;
    padding-bottom: 18px;
  }
  .portfolio-hero-title {
    font-size: 1.6rem !important;
    line-height: 1.25;
  }
  .portfolio-hero-desc {
    font-size: 0.88rem;
  }
  .portfolio-body {
    padding: 16px 14px;
  }
  .portfolio-title {
    font-size: 1.12rem;
  }
  .portfolio-desc {
    font-size: 0.82rem;
  }
  .calc-wrapper {
    padding: 18px 12px;
    border-radius: var(--radius-lg);
  }
  .calc-summary-side {
    padding: 18px 12px;
  }
  .calc-radio-card {
    padding: 14px 12px;
  }
  .calc-check-card {
    padding: 12px 10px;
  }
  .calc-radio-name {
    font-size: 0.9rem;
  }
  .calc-radio-sub {
    font-size: 0.76rem;
  }
  .calc-check-label strong {
    font-size: 0.84rem;
  }
  .calc-check-label span {
    font-size: 0.74rem;
  }
  .total-price {
    font-size: 1.65rem;
  }
  .summary-row {
    font-size: 0.8rem;
    gap: 8px;
  }
  .summary-title {
    font-size: 1.15rem;
  }
  .contact-master-sidebar {
    padding: 24px 16px;
  }
  .contact-master-form {
    padding: 24px 16px;
  }
  .service-card {
    padding: 24px 18px;
  }
  .service-title {
    font-size: 1.22rem;
  }
  .service-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .service-feature-item {
    font-size: 0.84rem;
  }
  .process-card {
    padding: 22px 18px;
  }
  .process-title {
    font-size: 1.15rem;
  }
  .process-desc {
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .contact-perk-card {
    padding: 12px 14px;
    gap: 12px;
  }
  .brand-logo-img {
    height: 34px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-sm {
    padding: 7px 11px;
    font-size: 0.8rem;
  }
  .mobile-toggle {
    width: 36px;
    height: 36px;
    padding: 6px;
  }
}

/* Mobile Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 11, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  gap: 24px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-drawer {
    top: 68px;
  }
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile: service and process cards stacked one under another */
@media (max-width: 768px) {
  .services-grid,
  .process-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .service-card,
  .process-card {
    min-width: 0;
    width: 100%;
  }
}

/* Mobile: tighter vertical spacing between sections and headings */
@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  .section-header {
    margin: 0 auto 24px;
  }
  #realizacje {
    padding-bottom: 8px;
  }
  #kalkulator {
    padding-top: 20px;
  }
  .portfolio-action-strip {
    margin-top: 16px;
  }
}
