/* Tymczasowa strona "w przebudowie" - samodzielny arkusz, bez zależności od css/main.css. */
:root {
  --blush: #fff6f7;
  --ink: #15181e;
  --ink-soft: #21252e;
  --slate: #333b4a;
  --muted: #5b6372;
  --brand: #a2424e;
  --brand-deep: #7d2f39;
  --brand-soft: #f5dfe2;
  --sky: #c4e2fd;
  --sage: #e2e8c8;
  --bone: #f0f0e8;
  --radius: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  background: var(--blush);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.hero ::selection {
  background: #fff;
  color: var(--brand);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

/* Header */
.site-header {
  padding-block: 20px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header .logo img {
  width: 160px;
  height: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-dark {
  background: var(--ink-soft);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--brand-soft);
}

.btn-outline-light {
  border: 1px solid rgb(255 255 255 / 55%);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgb(255 255 255 / 12%);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  margin: 0 12px;
  border-radius: 32px;
  background: var(--brand);
  color: #fff;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 32px;
  padding-block: 56px 64px;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
    padding-block: 96px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero .lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 21px);
  color: rgb(255 255 255 / 92%);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  font-size: 15px;
  font-weight: 500;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2s ease-in-out infinite;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  display: none;
  justify-self: center;
}

.hero-visual img {
  width: 150px;
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 900px) {
  .hero-visual {
    display: block;
  }
}

.hero-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring--a {
  top: -240px;
  left: -200px;
}

.hero-ring--b {
  right: -220px;
  bottom: -300px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual img,
  .status-dot {
    animation: none;
  }
}

/* Sekcje */
.section {
  padding-block: 64px 0;
}

@media (min-width: 768px) {
  .section {
    padding-block: 96px 0;
  }
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-lead {
  max-width: 640px;
  margin: 0 0 32px;
  font-size: 18px;
  color: var(--muted);
}

.section .eyebrow {
  color: var(--brand);
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
}

.card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
}

.card--sky {
  background: var(--sky);
}

.card--sage {
  background: var(--sage);
}

.card--bone {
  background: var(--bone);
}

.contact-big {
  display: block;
  margin: 4px 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.contact-link {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.contact-big:hover,
.contact-link:hover {
  color: var(--brand);
}

.person {
  padding-block: 12px;
  border-top: 1px solid #ecdfe1;
}

.person:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.person-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.person-name {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.person a {
  font-weight: 500;
  color: var(--brand-deep);
  text-decoration: none;
}

.app-card {
  display: grid;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--sky);
}

@media (min-width: 900px) {
  .app-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 48px;
  }
}

.app-card p {
  max-width: 720px;
  margin: 0;
  color: var(--slate);
}

.muted {
  color: var(--muted);
}

/* Stopka */
.site-footer {
  margin-top: 96px;
  padding-block: 40px;
  background: var(--brand);
  color: rgb(255 255 255 / 90%);
  font-size: 15px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer img {
  width: 150px;
  height: auto;
}

.site-footer a {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
