/* =============================================
   FONT: declared in inline critical CSS (index.php <head>)
   to avoid duplicate @font-face — do not re-declare here
   ============================================= */

/* Screen-reader only (SEO keyword in H1) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   RESET & BASE
   ============================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-orange: #f97316;
  --color-red: #ef4444;
  --color-pink: #ec4899;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --gradient-primary: linear-gradient(135deg, var(--color-orange), var(--color-red) 50%, var(--color-pink));
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   SECTION HEADER
   ============================================= */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

.section-header__subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-600);
  max-width: 40rem;
  margin: 0 auto;
}

.section-header--light .section-header__title {
  color: var(--color-white);
}

.section-header--light .section-header__subtitle {
  color: var(--color-gray-300);
}

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

.nav__logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.5px;
  transition: color var(--transition);
}

.nav__logo-accent {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  vertical-align: super;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 2px;
}

.nav--scrolled .nav__logo {
  color: var(--color-gray-900);
}

.nav--scrolled .nav__logo-accent {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  position: relative;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-white);
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-white);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav--scrolled .nav__link {
  color: var(--color-gray-700);
}

.nav--scrolled .nav__link::after {
  background: var(--gradient-primary);
}

.nav--scrolled .nav__link:hover {
  color: var(--color-gray-900);
}

.nav__cta {
  position: relative;
  padding: 0.65rem 1.75rem;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
  animation: cta-glow 3s ease-in-out infinite;
  will-change: opacity;
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  animation: none;
}

@keyframes cta-glow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.nav--scrolled .nav__cta {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-white);
  animation: none;
}

.nav--scrolled .nav__cta:hover {
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: background var(--transition), transform var(--transition);
}

.nav--scrolled .nav__toggle span {
  background: var(--color-gray-900);
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red) 50%, var(--color-pink));
  overflow: hidden;
  padding: 5rem 1.5rem 2rem;
  transform: translateZ(0);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero::after {
  display: none;
}

.hero__shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.15);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
  backface-visibility: hidden;
  contain: layout style paint;
  z-index: 0;
  animation: none;
}

.hero__shape--circle {
  top: 5rem;
  left: 5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero__shape--square {
  bottom: 8rem;
  right: 8rem;
  width: 6rem;
  height: 6rem;
  border-color: rgba(255, 255, 255, 0.15);
}

.hero__shape--dot {
  top: 33%;
  right: 5rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
}

.hero__shape--diamond {
  top: 20%;
  left: 25%;
  width: 5rem;
  height: 5rem;
  border-color: rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.hero__shape--ring {
  bottom: 25%;
  left: 10%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.1);
}

.hero__shape--square2 {
  top: 15%;
  right: 20%;
  width: 3rem;
  height: 3rem;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero__shape--dot2 {
  bottom: 35%;
  right: 25%;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.hero__shape--circle2 {
  bottom: 15%;
  left: 30%;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Animations start only after page load (body.loaded) to avoid blocking LCP */
body.loaded .hero__shape--circle { animation: spin-scale 20s infinite; }
body.loaded .hero__shape--square { animation: spin-scale-reverse 15s infinite; }
body.loaded .hero__shape--dot { animation: float 5s ease-in-out infinite; }
body.loaded .hero__shape--diamond { animation: float 7s ease-in-out infinite; }
body.loaded .hero__shape--ring { animation: spin-scale 25s infinite; }
body.loaded .hero__shape--square2 { animation: spin-scale-reverse 12s infinite; }
body.loaded .hero__shape--dot2 { animation: float 6s ease-in-out 1s infinite; }
body.loaded .hero__shape--circle2 { animation: spin-scale 18s infinite reverse; }

@keyframes spin-scale {
  0%   { transform: rotate(0deg) translate3d(0, 0, 0); }
  25%  { transform: rotate(90deg) translate3d(25px, -20px, 0); }
  50%  { transform: rotate(180deg) translate3d(0, 15px, 0); }
  75%  { transform: rotate(270deg) translate3d(-25px, -20px, 0); }
  100% { transform: rotate(360deg) translate3d(0, 0, 0); }
}

@keyframes spin-scale-reverse {
  0%   { transform: rotate(0deg) translate3d(0, 0, 0); }
  25%  { transform: rotate(-90deg) translate3d(-25px, -20px, 0); }
  50%  { transform: rotate(-180deg) translate3d(0, 15px, 0); }
  75%  { transform: rotate(-270deg) translate3d(25px, -20px, 0); }
  100% { transform: rotate(-360deg) translate3d(0, 0, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(40px); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 60rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero__badge-line {
  display: block;
  width: 3rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.hero__tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 0.95;
  margin-bottom: 2rem;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__title em {
  font-style: italic;
  color: var(--color-white);
}

body.loaded .hero__title em {
  background: linear-gradient(90deg, #fff 0%, #fff 40%, #fde68a 50%, #fff 60%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}


.hero__subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__underline {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  background: var(--color-white);
  color: var(--color-gray-900);
  border-radius: 9999px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__button:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.hero__arrow {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform var(--transition);
}

.hero__button:hover .hero__arrow {
  transform: translateX(8px);
}

.hero__stats {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  padding: 2rem 3rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero__stat {
  position: relative;
}

.hero__stat + .hero__stat::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero__stat-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.5rem;
  color: var(--color-white);
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.hero__stat-icon svg {
  width: 100%;
  height: 100%;
}

.hero__stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  animation: scroll-bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hero__scroll svg {
  width: 2rem;
  height: 2rem;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   FLOATING SHAPES (reusable)
   ============================================= */

.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border: 2px solid;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
  backface-visibility: hidden;
  contain: layout style paint;
}

/* Light variant — white shapes for dark/gradient backgrounds */
.floating-shapes--light .floating-shape {
  border-color: rgba(255, 255, 255, 0.12);
}

.floating-shapes--light .floating-shape--dot {
  border: none;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

/* Gradient variant — colored shapes for white backgrounds */
.floating-shapes--gradient .floating-shape {
  border-color: rgba(249, 115, 22, 0.1);
}

.floating-shapes--gradient .floating-shape--dot {
  border: none;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
}

/* Shape types */
.floating-shape--circle {
  border-radius: 50%;
}

.floating-shape--diamond {
  transform: rotate(45deg);
}

/* Positions — each section uses different placement via data attributes */
.floating-shape--a { top: 10%; left: 5%; width: 6rem; height: 6rem; animation: spin-scale 22s infinite; }
.floating-shape--b { top: 15%; right: 8%; width: 4rem; height: 4rem; animation: spin-scale-reverse 14s infinite; }
.floating-shape--c { bottom: 20%; left: 12%; width: 3rem; height: 3rem; animation: float 6s ease-in-out infinite; }
.floating-shape--d { bottom: 10%; right: 15%; width: 7rem; height: 7rem; border-radius: 50%; animation: spin-scale 26s infinite reverse; }
.floating-shape--e { top: 40%; right: 4%; width: 3.5rem; height: 3.5rem; animation: float 5s ease-in-out 1s infinite; }
.floating-shape--f { top: 60%; left: 3%; width: 5rem; height: 5rem; animation: spin-scale-reverse 18s infinite; }

/* =============================================
   SERVICES
   ============================================= */

.services {
  position: relative;
  padding: 6rem 0;
  background: var(--color-white);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: linear-gradient(135deg, var(--color-gray-50), var(--color-gray-100));
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gradient-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-white);
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card__text {
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* =============================================
   PORTFOLIO
   ============================================= */

.portfolio {
  padding: 6rem 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.portfolio::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(0,0,0,0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* Grid + arrows wrapper */
.portfolio__wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  flex: 1;
  transition: opacity 0.35s ease;
}

.portfolio__arrow {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.portfolio__arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.1);
}

.portfolio__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* --- Glass tile --- */
.portfolio-tile {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.4s cubic-bezier(.22,.68,0,.98), box-shadow 0.4s ease, background 0.4s ease;
}

.portfolio-tile:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.18);
  box-shadow:
    0 24px 48px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Screenshot preview */
.portfolio-tile__preview {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  margin: 0.75rem 0.75rem 0;
  border-radius: 0.75rem;
  cursor: zoom-in;
}

.portfolio-tile__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(.22,.68,0,.98);
}

.portfolio-tile:hover .portfolio-tile__preview img {
  transform: scale(1.05);
}

/* Info */
.portfolio-tile__info {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tile__category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}

.portfolio-tile__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.portfolio-tile__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.portfolio-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
  transition: gap 0.3s ease;
  margin-top: auto;
}

.portfolio-tile:hover .portfolio-tile__link {
  gap: 10px;
}

.portfolio-tile__link--soon {
  opacity: 0.4;
  font-weight: 600;
  cursor: default;
}

/* Soon / greyed-out tiles */
.portfolio-tile--soon {
  cursor: default;
}

.portfolio-tile--soon .portfolio-tile__preview {
  cursor: default;
}

.portfolio-tile--soon .portfolio-tile__preview img {
  filter: grayscale(1) brightness(0.4);
  opacity: 0.3;
}

.portfolio-tile--soon:hover {
  transform: none;
  background: rgba(255,255,255,0.12);
  box-shadow: none;
}

.portfolio-tile--soon:hover .portfolio-tile__preview img {
  transform: none;
}

.portfolio-tile__soon-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

/* --- Featured tile (single project) --- */
.portfolio-tile--featured {
  flex-direction: row;
}

.portfolio-tile--featured .portfolio-tile__preview {
  flex: 0 0 55%;
  aspect-ratio: 16 / 10;
  margin: 0.75rem 0 0.75rem 0.75rem;
}

.portfolio-tile--featured .portfolio-tile__info {
  padding: 1.5rem 1.75rem;
  justify-content: center;
}

.portfolio-tile--featured .portfolio-tile__title {
  font-size: 1.4rem;
}

.portfolio-tile--featured .portfolio-tile__desc {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .portfolio-tile--featured {
    flex-direction: column;
  }

  .portfolio-tile--featured .portfolio-tile__preview {
    flex: none;
    margin: 0.75rem 0.75rem 0;
  }

  .portfolio-tile--featured .portfolio-tile__info {
    padding: 1rem 1.25rem 1.25rem;
  }
}

/* =============================================
   LIGHTBOX
   ============================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.lightbox__caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Syne', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

/* =============================================
   CTA BANNER
   ============================================= */

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  text-align: center;
}

.cta-banner__text {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.cta-banner__button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 0.75rem;
  white-space: nowrap;
  transition: box-shadow var(--transition), transform var(--transition);
}

.cta-banner__button:hover {
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  transform: scale(1.03);
  color: var(--color-white);
}

@media (max-width: 600px) {
  .cta-banner {
    flex-direction: column;
    gap: 1rem;
  }
}

/* =============================================
   FAQ
   ============================================= */

.faq {
  position: relative;
  padding: 6rem 0;
  background: var(--color-white);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.faq__list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__item {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.faq__item--open {
  box-shadow: var(--shadow-md);
  border-color: var(--color-gray-300);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-900);
  text-align: left;
  gap: 1rem;
}

.faq__question:hover {
  color: var(--color-red);
}

.faq__icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-gray-400);
}

.faq__item--open .faq__icon {
  transform: rotate(180deg);
  color: var(--color-red);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__item--open .faq__answer {
  max-height: 20rem;
}

.faq__answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  font-size: 1rem;
}

/* =============================================
   PRICING
   ============================================= */

.pricing {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-800));
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  max-width: 64rem;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--popular {
  border: 2px solid var(--color-red);
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.3);
}

.pricing-card__badge {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card__header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.pricing-card__price-from {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.6;
}

.pricing-card__amount {
  font-size: 3rem;
  font-weight: 800;
}

.pricing-card__currency {
  color: var(--color-gray-600);
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-top: 0.5rem;
}

.pricing-card__subscription {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200);
  text-align: center;
}

.pricing-card__sub-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.pricing-card__sub-period {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.pricing-card__features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-gray-700);
}

.pricing-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  margin-top: 0.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}

.pricing-card__button {
  display: block;
  width: 100%;
  padding: 0.875rem;
  text-align: center;
  border-radius: 0.75rem;
  font-weight: 600;
  background: var(--color-gray-100);
  color: var(--color-gray-900);
  transition: background var(--transition);
}

.pricing-card__button:hover {
  background: var(--color-gray-200);
}

.pricing-card__button--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.pricing-card__button--primary:hover {
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

.pricing__footer {
  text-align: center;
  color: var(--color-gray-300);
  font-size: 1.125rem;
  margin-top: 3rem;
}

.pricing__footer a {
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: underline;
}

.pricing__footer a:hover {
  color: var(--color-pink);
}

/* =============================================
   CONTACT
   ============================================= */

.contact {
  position: relative;
  padding: 6rem 0;
  background: #f8f9fa;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact__text {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f0f4ff, #eef2ff);
  border-radius: 0.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact__method:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.contact__method-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__method-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-white);
}

.contact__method-label {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.contact__method-value {
  font-size: 1.125rem;
  font-weight: 600;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group--hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group select {
  width: 100%;
  padding: 0.875rem 2.5rem 0.875rem 1rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  min-height: 3.25rem;
  background-color: var(--color-white);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
@media (max-width: 768px) {
  .form-group select {
    -webkit-appearance: menulist;
    appearance: auto;
    background-image: none;
    padding-right: 1rem;
  }
}

.form-group select:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.contact__submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact__submit:hover {
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
  transform: scale(1.02);
}

.contact__submit:active {
  transform: scale(0.98);
}

.contact__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-message--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =============================================
   RODO CHECKBOX
   ============================================= */

.form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  cursor: pointer;
}

.form-group--checkbox input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  accent-color: var(--color-red);
  flex-shrink: 0;
  cursor: pointer;
}

.form-group--checkbox a {
  color: #dc2626;
  text-decoration: underline;
}

.form-group--checkbox a:hover {
  color: var(--color-pink);
}

.form-group__rodo-info {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

.form-group__rodo-info a {
  color: #dc2626;
  text-decoration: underline;
}

.form-group__rodo-info a:hover {
  color: var(--color-pink);
}

/* =============================================
   COOKIE BANNER
   ============================================= */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: auto;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 2rem 1.5rem;
  max-width: 340px;
  background: var(--color-gray-900);
  color: var(--color-gray-300);
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 1rem;
  border: 1px solid var(--color-gray-700);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.cookie-banner__text {
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.cookie-banner__accept {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}

.cookie-banner__accept:hover {
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
  transform: scale(1.03);
}

.cookie-banner__reject {
  flex: 1;
  padding: 0.75rem 1rem;
  background: transparent;
  color: var(--color-gray-300);
  border: 1px solid var(--color-gray-600);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.cookie-banner__reject:hover {
  border-color: var(--color-gray-400);
  color: var(--color-white);
  transform: scale(1.03);
}

.cookie-banner__more {
  color: var(--color-gray-400);
  font-size: 0.8rem;
  text-decoration: underline;
}

.cookie-banner__more:hover {
  color: var(--color-white);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--color-gray-900);
  color: var(--color-white);
  padding: 2rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer__logo-img {
  height: auto;
  width: 10rem;
  margin-bottom: 1rem;
}

.footer__text {
  color: var(--color-gray-400);
}

.footer__heading {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--color-gray-400);
}

.footer__links a {
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-gray-400);
  font: inherit;
  cursor: pointer;
  transition: color var(--transition);
}

.footer__cookie-btn:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-gray-400);
  font-size: 0.875rem;
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--gradient-primary);
  z-index: 150;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* =============================================
   WAVE DIVIDERS
   ============================================= */

.wave-divider {
  position: relative;
  z-index: 2;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

.wave-divider--hero {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red) 50%, var(--color-pink));
}

.wave-divider--services {
  background: var(--color-white);
}

.wave-divider--portfolio {
  background: var(--gradient-primary);
}

.wave-divider--faq {
  background: var(--color-white);
}

.wave-divider--pricing {
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-800));
}


.hero__stat:nth-child(2) .hero__stat-icon {
  animation-delay: 0.3s;
}

.hero__stat:nth-child(3) .hero__stat-icon {
  animation-delay: 0.6s;
}

@keyframes stat-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.portfolio__grid--fading {
  opacity: 0;
}

/* =============================================
   SKIP LINK
   ============================================= */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 190;
  padding: 0.75rem 1.5rem;
  background: var(--color-white);
  color: var(--color-gray-900);
  font-weight: 700;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* =============================================
   FOCUS STYLES
   ============================================= */

.nav__link:focus-visible,
.nav__cta:focus-visible,
.hero__button:focus-visible,
.pricing-card__button:focus-visible,
.contact__submit:focus-visible,
.faq__question:focus-visible,
.portfolio__arrow:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

/* =============================================
   PREFERS REDUCED MOTION
   ============================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__shape,
  .floating-shape,
  .hero__stat-icon {
    animation: none !important;
  }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   PRIVACY PAGE
   ============================================= */

.privacy {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
}

.privacy h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy__updated {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.privacy h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-gray-900);
}

.privacy p,
.privacy li {
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.privacy ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy a:not(.privacy__back) {
  color: var(--color-red);
  text-decoration: underline;
}

.privacy a:not(.privacy__back):hover {
  color: var(--color-pink);
}

.privacy__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
}

.privacy__back:hover {
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
  transform: scale(1.02);
  color: var(--color-white);
}

/* =============================================
   WHATSAPP
   ============================================= */

/* Email – niebieski */
.contact__method--email {
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
}

.contact__method--email .contact__method-icon {
  background: #3b82f6;
}

/* Telefon – fioletowy */
.contact__method--phone {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
}

.contact__method--phone .contact__method-icon {
  background: #8b5cf6;
}

/* WhatsApp – zielony */
.contact__method--whatsapp {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.contact__method--whatsapp .contact__method-icon {
  background: #25D366;
}

/* Odpowiedź – pomarańczowy */
.contact__method--response {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.contact__method--response .contact__method-icon {
  background: #f59e0b;
}

.whatsapp-float {
  position: fixed !important;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  background: #25D366;
  color: #fff !important;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, bottom 0.4s ease;
  animation: whatsappFadeIn 0.4s ease 2s both;
  opacity: 0;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

.cookie-banner--visible ~ .whatsapp-float {
  bottom: 6rem;
}

@keyframes whatsappFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .cookie-banner--visible ~ .whatsapp-float {
    bottom: 10rem;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  .pricing__grid .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

}

@media (max-width: 768px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing__grid .pricing-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: flex;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-white);
    padding: 0 1rem;
    border-radius: 0 0 1rem 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, visibility 0.35s ease, padding 0.35s ease;
  }

  .nav__links--open {
    visibility: visible;
    max-height: 30rem;
    padding: 1rem;
  }

  .nav__link {
    color: var(--color-gray-700);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover {
    background: var(--color-gray-50);
  }

  .nav__cta {
    text-align: center;
    margin: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-white);
    animation: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle--open span:nth-child(1) {
    transform: rotate(45deg) translateY(5px);
  }

  .nav__toggle--open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle--open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px);
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 1.5rem;
  }

  .hero__stat-icon {
    width: 2rem;
    height: 2rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__arrow {
    display: none;
  }

  .portfolio-tile {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .faq__question {
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-height: 800px) {
  .hero {
    padding: 4.5rem 1.5rem 1.5rem;
  }

  .hero__badge {
    margin-bottom: 1rem;
  }

  .hero__tagline {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .hero__stats {
    margin-top: 2rem;
    padding: 1.5rem 2.5rem;
  }

  .hero__stat-icon {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 480px) {
  .hero__br {
    display: none;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .hero__stats {
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
  }

  .hero__stat-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .hero__stat-label {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .hero__stat + .hero__stat::before {
    left: -0.25rem;
  }
}


/* =============================================
   CITY LANDING PAGES
   ============================================= */

/* City Hero (shorter than main hero) */
.city-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red) 50%, var(--color-pink));
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
  min-height: 40vh;
  transform: translateZ(0);
}

.city-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.city-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 50rem;
}

.city-hero__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.city-hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.city-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--color-white);
  color: var(--color-gray-900);
  border-radius: 9999px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.city-hero__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb bar (above hero) */
.breadcrumb-bar {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red) 50%, var(--color-pink));
  padding: 6rem 0 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

/* City Content (why local) */
.city-content {
  position: relative;
  background: var(--gradient-primary);
  padding: 5rem 0;
  color: var(--color-white);
}

.city-content .section-header__title {
  color: var(--color-white);
}

.city-content__body {
  max-width: 48rem;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.city-content__body p {
  margin-bottom: 1.25rem;
}

.city-content__body p:last-child {
  margin-bottom: 0;
}

.city-content__local {
  max-width: 48rem;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.city-content__local-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.city-content__local p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.city-content__local p:last-child {
  margin-bottom: 0;
}

/* City Map */
.city-map {
  max-width: 48rem;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.city-map__title {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.city-map__wrapper {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.city-map__wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* City Pricing Summary */
.city-pricing {
  padding: 5rem 0;
  background: var(--color-white);
}

.city-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 54rem;
  margin: 0 auto 2rem;
}

.city-pricing__card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.city-pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.city-pricing__card--popular {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-md);
}

.city-pricing__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.city-pricing__name {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.city-pricing__price {
  margin-bottom: 0.25rem;
}

.city-pricing__amount {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.city-pricing__currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-500);
}

.city-pricing__price-from {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.city-pricing__period {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
}

.city-pricing__features {
  text-align: left;
  margin-bottom: 1.5rem;
}

.city-pricing__features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--color-gray-700);
}

.city-pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.7;
}

.city-pricing__button {
  display: block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-gray-200);
  border-radius: 9999px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-gray-700);
  text-align: center;
  transition: all var(--transition);
}

.city-pricing__button:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.city-pricing__card--popular .city-pricing__button {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-white);
}

.city-pricing__card--popular .city-pricing__button:hover {
  opacity: 0.9;
  color: var(--color-white);
}

.city-pricing__footer {
  text-align: center;
  color: var(--color-gray-500);
  font-size: 0.9rem;
}

.city-pricing__footer a {
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Wave modifiers for city pages */
.wave-divider--city-hero {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red) 50%, var(--color-pink));
}

.wave-divider--city-content {
  background: var(--gradient-primary);
}

/* City page responsive */
@media (max-width: 768px) {
  .city-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }

  .city-content {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .city-hero {
    padding: 6rem 1.5rem 3rem;
  }

  .city-hero__title {
    font-size: 1.75rem;
  }

  .city-hero__subtitle {
    font-size: 1rem;
  }

  .city-hero__button {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }
}