/* ===================================================
   PixelCraftStudio.com – Premium White Business CSS
   Studio Gamedesign | Poland | 2026
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ──────────────── Reset & Base ──────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:      #ffffff;
  --off-white:  #f7f7f5;
  --light-gray: #f0efec;
  --mid-gray:   #c8c5be;
  --text-muted: #8a877f;
  --text-body:  #3d3b37;
  --text-dark:  #1a1916;
  --accent:     #0a0a0a;
  --accent-ink: #1c1c1c;
  --brand:      #2563eb;
  --brand-dark: #1d4ed8;
  --brand-lite: #eff6ff;
  --gold:       #d4a944;
  --gold-light: #fdf8ee;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,.09);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);
  --trans:      0.28s cubic-bezier(.4,0,.2,1);
  --font-main:  'DM Sans', sans-serif;
  --font-head:  'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* ──────────────── Typography ──────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-body); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* ──────────────── Buttons ──────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,99,235,.28);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,.36);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--mid-gray);
  color: var(--text-dark);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-lite);
}
.btn-dark {
  background: var(--text-dark);
  color: var(--white);
}
.btn-dark:hover {
  background: #2c2c2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* ──────────────── HEADER / NAV ──────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow var(--trans);
}
#site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo svg { flex-shrink: 0; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -.02em;
}
.logo-name span { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--trans);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  background: var(--brand-lite);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--light-gray);
  transition: var(--trans);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--light-gray);
  transition: color var(--trans);
}
.mobile-menu a:hover { color: var(--brand); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ──────────────── HERO ──────────────── */
#hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 140px;
  padding-bottom: 80px;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 100% 50%, var(--brand-lite) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-lite);
  color: var(--brand);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.hero-title { margin-bottom: 24px; }
.hero-title .accent { color: var(--brand); }
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}
.stat-item {}
.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -.04em;
}
.stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-img-main {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}
.hero-float-card {
  position: absolute;
  bottom: 10%;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}
.float-icon {
  width: 44px; height: 44px;
  background: var(--brand-lite);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-icon svg { color: var(--brand); }
.float-text p { font-size: .78rem; color: var(--text-muted); }
.float-text strong { font-size: .95rem; color: var(--text-dark); }

/* ──────────────── CLIENTS STRIP ──────────────── */
.clients-strip {
  background: var(--light-gray);
  padding: 28px 0;
  overflow: hidden;
}
.clients-strip .container {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.clients-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  white-space: nowrap;
}
.client-logos {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.client-logo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--mid-gray);
  letter-spacing: -.02em;
  white-space: nowrap;
  transition: color var(--trans);
}
.client-logo:hover { color: var(--text-muted); }

/* ──────────────── SECTION BASE ──────────────── */
section { padding: 96px 0; }
.section-header { max-width: 640px; margin-bottom: 64px; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); margin-top: 16px; line-height: 1.7; }
.section-header.centered { margin-inline: auto; text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-label::before { display: none; }
.section-header.centered .section-label::after {
  content: '';
  width: 24px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* ──────────────── SERVICES ──────────────── */
#services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 28px;
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--brand-lite);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 1.3rem;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .92rem; color: var(--text-muted); line-height: 1.65; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--brand);
  transition: gap var(--trans);
}
.service-link:hover { gap: 10px; }

/* ──────────────── ABOUT ──────────────── */
#about {}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-imgs {
  position: relative;
}
.about-img-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img-small {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 180px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  aspect-ratio: 1;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  top: 24px; left: -20px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
}
.about-badge .num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge .lbl {
  font-size: .7rem;
  font-weight: 500;
  opacity: .85;
  margin-top: 4px;
}

.about-content {}
.about-content h2 { margin-bottom: 20px; }
.about-content > p { margin-bottom: 32px; color: var(--text-muted); line-height: 1.75; }
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.value-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.value-dot {
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.value-item h4 { font-size: .9rem; margin-bottom: 3px; }
.value-item p { font-size: .82rem; color: var(--text-muted); }

/* ──────────────── PORTFOLIO ──────────────── */
#portfolio { background: var(--off-white); }

.portfolio-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.tab-btn {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 600;
  border: 1.5px solid var(--mid-gray);
  color: var(--text-muted);
  transition: var(--trans);
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.portfolio-item:nth-child(1) { grid-column: span 2; }
.portfolio-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.portfolio-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.portfolio-item:nth-child(1) .portfolio-img { height: 360px; }
.portfolio-item:hover .portfolio-img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--trans);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { color: var(--white); font-size: 1.1rem; }
.portfolio-overlay p { color: rgba(255,255,255,.7); font-size: .82rem; margin-top: 4px; }
.portfolio-overlay .tag {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ──────────────── PROCESS ──────────────── */
#process {  }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.process-step:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08), var(--shadow-md);
}
.process-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ──────────────── PRICING ──────────────── */
#pricing { background: var(--off-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1.5px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08), var(--shadow-md);
  background: var(--white);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand);
  color: var(--white);
  padding: 5px 18px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.pricing-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}
.pricing-amount {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.pricing-period {
  font-size: .82rem;
  color: var(--text-muted);
}
.pricing-desc {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.pricing-divider {
  height: 1px;
  background: var(--light-gray);
  margin-bottom: 24px;
}
.pricing-features { margin-bottom: 32px; }
.pricing-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .88rem;
  color: var(--text-body);
}
.feat-check {
  width: 18px; height: 18px;
  background: var(--brand-lite);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--brand);
}
.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: .88rem;
  color: var(--text-muted);
}
.pricing-note a {
  color: var(--brand);
  font-weight: 600;
}

/* ──────────────── TESTIMONIALS ──────────────── */
#testimonials {  }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 1rem;
}
.review-text {
  font-size: .94rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-lite);
  border: 2px solid var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand);
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: .9rem; color: var(--text-dark); }
.author-role { font-size: .78rem; color: var(--text-muted); }

/* ──────────────── CTA BANNER ──────────────── */
#cta-banner {
  background: var(--text-dark);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-text p { color: rgba(255,255,255,.6); font-size: 1.05rem; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  font-weight: 600;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
}

/* ──────────────── FOOTER ──────────────── */
#site-footer {
  background: #0f0f0f;
  color: rgba(255,255,255,.6);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-logo-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-name span { color: var(--brand); }
.footer-desc {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 28px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--trans);
}
.social-btn:hover {
  background: var(--brand);
  color: var(--white);
}
.footer-col h4 {
  color: var(--white);
  font-size: .88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--brand); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  color: rgba(255,255,255,.4);
  transition: color var(--trans);
}
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* ──────────────── PAGE HERO (inner pages) ──────────────── */
.page-hero {
  padding-top: 72px;
  background: var(--off-white);
  padding-bottom: 64px;
}
.page-hero-inner {
  padding-top: 64px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--trans); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--mid-gray); }

/* ──────────────── CONTACT PAGE ──────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 36px;
}
.contact-icon {
  width: 52px; height: 52px;
  background: var(--brand-lite);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
  font-size: 1.2rem;
}
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { font-size: .9rem; color: var(--text-muted); }

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid rgba(0,0,0,.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: .92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ──────────────── LEGAL PAGES ──────────────── */
.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding: 80px 24px;
}
.legal-content h1 { margin-bottom: 8px; }
.legal-content .meta {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--light-gray);
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 10px;
}
.legal-content p,
.legal-content li { font-size: .94rem; color: var(--text-body); line-height: 1.75; }
.legal-content ul,
.legal-content ol { margin-left: 24px; margin-bottom: 16px; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content a { color: var(--brand); }
.legal-content a:hover { text-decoration: underline; }

/* ──────────────── COOKIE BANNER ──────────────── */
#cookie-banner {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: #1a1916;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 760px;
  width: calc(100% - 48px);
  z-index: 9999;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  backdrop-filter: blur(8px);
  font-size: .88rem;
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { line-height: 1.6; flex: 1; }
#cookie-banner a { color: var(--brand); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
  transition: var(--trans);
}
.btn-cookie-accept:hover { background: var(--brand-dark); }
.btn-cookie-decline {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
  transition: var(--trans);
}
.btn-cookie-decline:hover { background: rgba(255,255,255,.15); }

/* ──────────────── SCROLL TO TOP ──────────────── */
#scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,99,235,.3);
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: var(--trans);
  z-index: 800;
}
#scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#scroll-top:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ──────────────── ANIMATIONS ──────────────── */
[data-animate] {
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="1"] { transition-delay: .1s; }
[data-animate-delay="2"] { transition-delay: .2s; }
[data-animate-delay="3"] { transition-delay: .3s; }
[data-animate-delay="4"] { transition-delay: .4s; }

/* ──────────────── RESPONSIVE ──────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  #hero { }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; padding-bottom: 60px; text-align: center; gap: 0; }
  #hero::before { display: none; }
  .hero-subtitle { max-width: 100%; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-imgs { max-width: 500px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:nth-child(1) { grid-column: span 1; }
  .reviews-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 28px; justify-content: center; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .btn-cookie-accept, .btn-cookie-decline { flex: 1; text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
