@import url('assets/fonts/fonts.css');

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #fbfbfd;
  --color-bg-dark: #000;
  --color-text: #1d1d1f;
  --color-text-dim: #6e6e73;
  --color-text-on-dark: #f5f5f7;
  --color-accent: #f6921d;
  --color-accent-hover: #ff9f2e;
  --color-line: #d2d2d7;
  --nav-h: 60px;
  --max-w: 1280px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'N27', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 9999;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background .4s var(--ease);
}
.nav-inner { max-width: var(--max-w); height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 20px; letter-spacing: -0.015em; color: var(--color-text); }
.nav-logo svg { height: 24px; width: auto; fill: currentColor; }
.nav-logo b { color: var(--color-accent); font-weight: 500; letter-spacing: -0.015em; }
.nav-links { display: flex; gap: 36px; list-style: none; font-size: 15px; font-weight: 400; letter-spacing: -0.01em; }
.nav-links a { padding: 6px 0; color: var(--color-text); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--color-accent); }
.nav-cta { font-size: 15px; color: var(--color-accent); font-weight: 500; letter-spacing: -0.01em; transition: opacity .2s var(--ease); }
.nav-cta:hover { opacity: .75; }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 833px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; width: 28px; height: 28px; position: relative; }
  .mobile-menu { display: block; }
  .nav-toggle span { position: absolute; left: 4px; right: 4px; height: 1px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
  .nav-toggle span:nth-child(1) { top: 11px; }
  .nav-toggle span:nth-child(2) { top: 17px; }
  .nav.open .nav-toggle span:nth-child(1) { top: 14px; transform: rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { top: 14px; transform: rotate(-45deg); }
  .mobile-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: rgba(251,251,253,.98); backdrop-filter: blur(20px); transform: translateY(-100%); transition: transform .4s var(--ease); z-index: 9998; padding: 32px 22px; }
  .nav.open + .mobile-menu { transform: translateY(0); }
  .mobile-menu ul { list-style: none; }
  .mobile-menu li { border-bottom: 1px solid rgba(0,0,0,.08); }
  .mobile-menu a { display: block; padding: 18px 0; font-size: 17px; font-weight: 500; }
  .mobile-menu .mobile-contact { margin-top: 28px; font-size: 14px; color: var(--color-text-dim); line-height: 1.8; }
  .mobile-menu .mobile-contact a { color: var(--color-accent); font-weight: 500; }
}

/* ========== HERO ========== */
.hero {
  padding-top: var(--nav-h);
  background: #0b0b0d;
  color: var(--color-text-on-dark);
  position: relative; overflow: hidden;
  display: block;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/img/hero-wroclaw.jpg');
  background-size: cover; background-position: center top; background-repeat: no-repeat;
  background-color: #0b0b0d;
  z-index: 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.85) 100%);
}
.hero-accent {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246,146,29,.3) 0%, transparent 60%);
  filter: blur(70px); top: -120px; right: -180px; pointer-events: none;
  z-index: 2; mix-blend-mode: screen;
}
.hero-content {
  position: relative; z-index: 3;
  padding: 120px 22px 80px; max-width: 1000px; margin: 0 auto;
  text-align: center;
}
.hero-offer {
  position: relative; z-index: 3;
  padding: 40px 22px 120px;
  max-width: var(--max-w); margin: 0 auto;
}
.hero-offer .section-title { color: #fff; }
.hero-offer .section-subtitle { color: rgba(255,255,255,.78); }
.hero-offer .section-subtitle a { color: var(--color-accent); }

/* Glass tiles over photo — more see-through */
.hero-offer .tile {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--color-text-on-dark);
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.hero-offer .tile p { color: rgba(255,255,255,.85); }
.hero-offer .tile .tile-footer { color: var(--color-accent); }
.hero-offer .tile.dark {
  background: rgba(0,0,0,.3);
  border-color: rgba(255,255,255,.1);
}
.hero-offer .tile.accent {
  background: rgba(246,146,29,.55);
  border-color: rgba(255,255,255,.25);
}
.hero-offer .tile.accent p { color: rgba(255,255,255,.95); }
.hero-offer .tile.accent .tile-kicker { opacity: .9; }
.hero-eyebrow {
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: var(--color-accent); text-transform: uppercase; margin-bottom: 18px;
  opacity: 0; animation: fadeUp .8s var(--ease) .1s forwards;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 88px); font-weight: 600; line-height: 1.05;
  letter-spacing: -0.015em; margin-bottom: 22px;
  opacity: 0; animation: fadeUp .9s var(--ease) .25s forwards;
}
.hero h1 em { font-style: normal; color: var(--color-accent); }
.hero p.lead {
  font-size: clamp(19px, 2vw, 24px); font-weight: 300; line-height: 1.38;
  max-width: 720px; margin: 0 auto 36px; color: rgba(255,255,255,.8);
  opacity: 0; animation: fadeUp .9s var(--ease) .4s forwards;
}
.hero-cta {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s var(--ease) .55s forwards;
}
.btn { font-size: 17px; font-weight: 400; padding: 12px 22px; border-radius: 980px; transition: all .25s var(--ease); display: inline-flex; align-items: center; gap: 4px; }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.btn-link { color: var(--color-accent); padding: 12px 0; }
.btn-link:hover { color: var(--color-accent-hover); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ========== SECTIONS COMMON ========== */
section { padding: 120px 22px; }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-title { font-size: clamp(36px, 5vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; text-align: center; margin-bottom: 18px; }
.section-subtitle { font-size: clamp(18px, 2vw, 21px); font-weight: 300; color: var(--color-text-dim); text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-subtitle a { color: var(--color-accent); }

/* ========== OFERTA GRID ========== */
.offer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile {
  background: #fff; border-radius: 28px; padding: 48px; overflow: hidden;
  position: relative; min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.tile.dark { background: #111; color: var(--color-text-on-dark); }
.tile.accent { background: var(--color-accent); color: #fff; }
.tile h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 12px; }
.tile .tile-kicker { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .55; margin-bottom: 14px; }
.tile p { font-size: 17px; line-height: 1.47; color: var(--color-text-dim); max-width: 90%; }
.tile.dark p { color: rgba(255,255,255,.75); }
.tile.accent p { color: rgba(255,255,255,.92); }
.tile .tile-icon { width: 56px; height: 56px; stroke: currentColor; stroke-width: 1.25; fill: none; opacity: .9; }
.tile-footer { margin-top: 24px; font-size: 14px; font-weight: 500; color: var(--color-accent); }
.tile.dark .tile-footer, .tile.accent .tile-footer { color: inherit; opacity: .9; }
.tile-wide  { grid-column: span 12; min-height: 360px; }
.tile-half  { grid-column: span 6; }
.tile-third { grid-column: span 4; }

@media (max-width: 833px) {
  .tile { padding: 34px; min-height: 340px; }
  .tile-wide, .tile-half, .tile-third { grid-column: span 12; }
}

/* ========== BAND ========== */
.band { background: #000; color: var(--color-text-on-dark); padding: 140px 22px; text-align: center; position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(246,146,29,.18) 0%, transparent 60%); pointer-events: none; }
.band .container { position: relative; z-index: 1; }
.band h2 { font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; margin-bottom: 20px; }
.band h2 em { font-style: normal; color: var(--color-accent); }
.band p { font-size: clamp(18px, 2vw, 22px); font-weight: 300; color: rgba(255,255,255,.78); max-width: 720px; margin: 0 auto; }

/* ========== STATS ========== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 72px; text-align: center; }
.stat-num { font-size: clamp(48px, 6vw, 80px); font-weight: 600; color: var(--color-accent); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 15px; color: rgba(255,255,255,.65); margin-top: 10px; letter-spacing: .01em; }
@media (max-width: 833px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* ========== ABOUT ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { aspect-ratio: 1 / 1; border-radius: 28px; background: linear-gradient(135deg, #2a2a2c, #0b0b0d); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.about-visual svg { width: 60%; fill: var(--color-accent); }
.about-visual::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; }
.about-text h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; margin-bottom: 22px; }
.about-text p { font-size: 19px; font-weight: 300; line-height: 1.5; color: var(--color-text-dim); margin-bottom: 18px; }
.about-text .btn-link { padding-left: 0; margin-top: 8px; }
@media (max-width: 833px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ========== KONTAKT ========== */
.contact-wrap { background: #fff; border-radius: 28px; padding: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-accent); margin-bottom: 10px; font-weight: 500; }
.contact-info .contact-value { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; display: block; }
.contact-info a.contact-value:hover { color: var(--color-accent); }
.contact-info .contact-sub { font-size: 15px; color: var(--color-text-dim); margin-bottom: 40px; }
.contact-info .contact-sub:last-child { margin-bottom: 0; }
.contact-details { background: var(--color-bg); border-radius: 20px; padding: 32px; }
.contact-details .block { padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.contact-details .block:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-details .block:first-child { padding-top: 0; }
.contact-details .block-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--color-text-dim); margin-bottom: 6px; }
.contact-details .block-value { font-size: 17px; font-weight: 500; }

@media (max-width: 833px) { .contact-wrap { padding: 40px; grid-template-columns: 1fr; gap: 40px; } }

/* ========== FOOTER ========== */
footer { background: #f5f5f7; color: var(--color-text-dim); padding: 40px 22px 28px; font-size: 12px; line-height: 1.6; }
footer .container { border-top: 1px solid var(--color-line); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .foot-legal a:hover { color: var(--color-accent); }
footer .foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
