/* ==========================================================================
   ADEX Biuroserwis Wrocław — Styles
   Brand: Navy blue (od logo)
   ========================================================================== */

:root {
  --navy: #0f2f5c;
  --navy-dark: #082041;
  --navy-light: #1d4d8a;
  --accent: #f5a623;
  --accent-dark: #d98e10;
  --bg: #ffffff;
  --bg-light: #f6f8fb;
  --bg-section: #f0f4f9;
  --text: #1a2332;
  --text-muted: #5a6478;
  --border: #e1e7ee;
  --shadow-sm: 0 2px 8px rgba(15, 47, 92, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 47, 92, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 47, 92, 0.12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1200px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { color: var(--text); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-header {
  padding: 10px 18px;
  font-size: 0.95rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 78px;
}

.logo-link { display: block; flex-shrink: 0; }
.logo { height: 52px; width: auto; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 60%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 47, 92, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(15, 47, 92, 0.08);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

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

.hero .lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.65;
}

.hero-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero visual card */
.hero-visual { position: relative; }

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1deg);
  transition: transform var(--transition);
}
.hero-card:hover { transform: rotate(0deg) translateY(-4px); }

.hero-card-header {
  display: flex;
  gap: 6px;
  padding: 16px 20px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.hero-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
}
.hero-card-dot:first-child { background: #ef4444; }
.hero-card-dot:nth-child(2) { background: #f59e0b; }
.hero-card-dot:nth-child(3) { background: #22c55e; }

.hero-card-body { padding: 28px; }

.hero-card-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.hero-card-row:last-child { border-bottom: none; }

.hero-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.hero-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section-light {
  background: var(--bg-section);
}

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

.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(15, 47, 92, 0.08);
  color: var(--navy);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.7;
}

.section-footnote {
  text-align: center;
  max-width: 720px;
  margin: 40px auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-footnote-large {
  font-size: 1.1rem;
  margin-top: 60px;
}

/* ==========================================================================
   Steps (Jak działamy)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   Offer grid
   ========================================================================== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light);
}

.offer-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
  width: 64px;
  height: 64px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
}

.offer-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Audience grid
   ========================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.audience-item {
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.audience-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--navy);
}

/* ==========================================================================
   Why ADEX
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  padding: 28px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.why-item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.why-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA section (Stała obsługa)
   ========================================================================== */
.section-cta {
  background: var(--bg);
  padding: 60px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 24px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.cta-content .btn {
  margin-top: 16px;
}

/* ==========================================================================
   Contact section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid var(--border);
  transition: all var(--transition);
  color: var(--text);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
  color: var(--text);
}

.contact-card-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.contact-card-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(15, 47, 92, 0.08);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-primary .contact-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-card-primary .contact-label {
  color: rgba(255, 255, 255, 0.7);
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.contact-card-primary .contact-value {
  color: #fff;
}

.contact-action {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-card-primary .contact-action {
  color: rgba(255, 255, 255, 0.85);
}

.company-details {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.company-details strong { color: var(--navy); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 56px;
  margin-bottom: 20px;
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}
.footer-list a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ==========================================================================
   Floating call button
   ========================================================================== */
.floating-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  transition: all var(--transition);
  animation: pulse 2s infinite;
}
.floating-call:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(15, 47, 92, 0.4), var(--shadow-lg); }
  50% { box-shadow: 0 0 0 16px rgba(15, 47, 92, 0), var(--shadow-lg); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .btn-header { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.active {
    display: block;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.active ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }
  .main-nav.active a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 48px 0 64px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-number { font-size: 1.5rem; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }

  .cta-box { padding: 48px 24px; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }

  .floating-call { display: flex; }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .logo { height: 40px; }
  .header-inner { height: 64px; }
  .main-nav.active { top: 64px; }
  .steps { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
}
