
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

/* Definicja czcionki głównej */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-web.ttf') format('truetype-variations');
  font-weight: 100 900; /* To pozwala używać dowolnej grubości */
  font-style: normal;
  font-display: swap; /* To sprawia, że tekst pojawia się od razu */
}

/* Definicja kursywy */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-italic-web.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   CONTAINER
============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  text-decoration: none;
}
.btn--sky          { background: #0EA5E9; color: #fff; }
.btn--sky:hover    { background: #0284C7; }
.btn--white        { background: #fff; color: #0f172a; }
.btn--white:hover  { background: rgba(255,255,255,0.9); }
.btn--outline-white {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #0f172a;
  background: #fff;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.8); }
.btn--pill   { border-radius: 9999px; padding: 0.5rem 1.25rem; }
.btn--lg     { padding: 0.875rem 2rem; font-size: 1rem; }
.btn--full   { width: 100%; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 768px) { .navbar__inner { height: 5rem; } }

.navbar__brand   { display: flex; align-items: center; gap: 0.75rem; }
.navbar__logo    { height: 2.5rem; width: auto; }
@media (min-width: 768px) { .navbar__logo { height: 3rem; } }

.navbar__name {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  transition: color 0.3s;
}
.navbar--scrolled .navbar__name,
.navbar__name--dark { color: #1e293b; }

.navbar__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .navbar__links { display: flex; } }

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.navbar__links a:hover { color: #38BDF8; }
.navbar--scrolled .navbar__links a,
.nav-link--dark { color: #475569; }
.navbar--scrolled .navbar__links a:hover,
.nav-link--dark:hover { color: #0EA5E9; }



.navbar__links-p {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .navbar__links-p { display: flex; } }

.navbar__links-p a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
}
.navbar__links-p a:hover { color: #38BDF8; }
.navbar--scrolled .navbar__links-p a,
.nav-link--dark { color: #475569; }
.navbar--scrolled .navbar__links-p a:hover,
.nav-link--dark:hover { color: #0EA5E9; }

.navbar__toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (min-width: 768px) { .navbar__toggle { display: none; } }

.navbar__mobile {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-link {
  display: block;
  color: #334155;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.mobile-link:hover { color: #0EA5E9; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.80), rgba(7,89,133,0.70), rgba(15,23,42,0.80));
}
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero__title {
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero__gradient {
  background: linear-gradient(to right, #7DD3FC, #67E8F9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.7);
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}
@media (min-width: 640px) {
  .hero__cta { flex-direction: row; justify-content: center; }
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: #fff;
}
@media (min-width: 640px) { .hero__stats { gap: 3rem; } }

.hero__stat { text-align: center; }
.hero__stat-icon { font-size: 1.75rem; }
.hero__stat-num  { font-size: 1.5rem; font-weight: 700; }
.hero__stat-row  { display: flex; align-items: center; justify-content: center; gap: 0.25rem; }
.hero__stat-label{ font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }
@media (min-width: 640px) { .hero__stat-num { font-size: 1.875rem; } }
.hero__divider {
  width: 1px; height: 2.5rem;
  background: rgba(255,255,255,0.2);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: bounce 1.5s infinite;
  transition: color 0.2s;
}
.hero__scroll:hover { color: rgba(255,255,255,0.7); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 5rem 0; }
@media (min-width: 640px) { .section { padding: 7rem 0; } }
.section--white { background: #fff; }
.section--gray  { background: #f8fafc; }

.section__header { text-align: center; margin-bottom: 4rem; }
.section__label {
  color: #0EA5E9;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.section__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 900;
  color: #0f172a;
}
.section__sub {
  color: #64748b;
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 1rem auto 0;
}

/* ============================================================
   SERVICES
============================================================ */
.services__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: #f8fafc;
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.4s;
}
.service-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.12); }

.service-card__img-wrap {
  position: relative;
  height: 13rem;
  overflow: hidden;
}
.service-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.service-card:hover .service-card__img { transform: scale(1.08); }
.service-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.6), transparent);
}
.service-card__icon-wrap {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: #0EA5E9;
  border-radius: 0.75rem;
  padding: 0.625rem;
  display: inline-flex;
}

.service-card__body { padding: 1.5rem; }
.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.service-card__desc {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
}

/* ============================================================
   PRICING
============================================================ */
.pricing__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }

.pricing-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.pricing-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to right, #0EA5E9, #0284C7);
}
.pricing-card__header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.pricing-card__table-head {
  display: none;
  padding: 0.75rem 1.5rem;
  background: #f8fafc;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
@media (min-width: 640px) {
  .pricing-card__table-head {
    display: grid;
    grid-template-columns: 5fr 3fr 4fr;
  }
  .col-price { text-align: center; }
}

.pricing-row {
  border-top: 1px solid #f1f5f9;
  transition: background 0.2s;
}
.pricing-row:hover { background: rgba(14,165,233,0.04); }

/* Mobile */
.pricing-row {
  padding: 0.875rem 1rem;
}
.pricing-row__service {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
}
.pricing-row__price {
  display: inline-block;
  margin-top: 0.25rem;
  background: #EFF6FF;
  color: #0369A1;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}
.pricing-row__note {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
/* Desktop */
@media (min-width: 640px) {
  .pricing-row {
    display: grid;
    grid-template-columns: 5fr 3fr 4fr;
    align-items: center;
    padding: 1rem 1.5rem;
  }
  .pricing-row__price {
    text-align: center;
    margin-top: 0;
  }
  .pricing-row__note { margin-top: 0; }
}

/* ============================================================
   WHY US
============================================================ */
.why__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: #f8fafc;
  transition: background 0.3s;
}
.why-card:hover { background: #EFF6FF; }
.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  background: #E0F2FE;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}
.why-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.why-card__desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
}

/* ============================================================
   CONTACT
============================================================ */
.contact__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; } }

.contact__info-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact__item-icon {
  background: #E0F2FE;
  border-radius: 0.75rem;
  padding: 0.75rem;
  flex-shrink: 0;
  display: flex;
}
.contact__item-label { font-size: 0.875rem; color: #94a3b8; }
.contact__item-val   { font-weight: 600; color: #1e293b; transition: color 0.2s; }
a.contact__item-val:hover { color: #0EA5E9; }

.hours-box {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.hours-box__header {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.hours-box__title { font-weight: 700; color: #0f172a; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #475569;
  padding: 0.25rem 0;
}
.hours-row span:last-child { font-weight: 500; color: #1e293b; }

/* Form */
.contact__form-wrap {}
.contact__form {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  padding: 1.5rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 640px) { .contact__form { padding: 2rem; } }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: #374151; }
.form-group input,
.form-group textarea {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #0EA5E9;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
.form-group textarea { resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-check input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem; height: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: #0EA5E9;
}
.form-check label { font-size: 0.875rem; color: #475569; cursor: pointer; }
.form-check a { color: #0EA5E9; font-weight: 500; }
.form-check a:hover { text-decoration: underline; }
.required { color: #ef4444; }

.form-status {
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.form-status--success {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}
.form-status--error {
  background: #FFF1F2;
  color: #BE123C;
  border: 1px solid #FECDD3;
}

.form-rodo {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}
.form-rodo a { text-decoration: underline; }
.form-rodo a:hover { color: #64748b; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0f172a;
  color: #fff;
}
.footer__inner {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: repeat(3, 1fr); } }

.footer__brand-row {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer__logo {
  height: 2.5rem; width: auto;
  filter: brightness(0) invert(1);
}
.footer__name { font-size: 1.25rem; font-weight: 700; }
.footer__tagline { color: #94a3b8; font-size: 0.875rem; line-height: 1.6; }

.footer__links h4,
.footer__contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cbd5e1;
  margin-bottom: 1rem;
}
.footer__links ul,
.footer__contact ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { color: #94a3b8; font-size: 0.875rem; transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: center; gap: 0.5rem; }
.footer__contact a,
.footer__contact span { color: #94a3b8; font-size: 0.875rem; transition: color 0.2s; }
.footer__contact a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 1.5rem 0;
  text-align: center;
}
.footer__bottom p { color: #64748b; font-size: 0.875rem; }
.footer__bottom a { transition: color 0.2s; }
.footer__bottom a:hover { color: #cbd5e1; }

/* ============================================================
   FLOATING CONTACT (Mobile)
============================================================ */
.floating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  position: fixed;
  bottom: 1.5rem; right: 1.25rem;
  z-index: 50;
}
@media (min-width: 1024px) { .floating { display: none; } }

.floating__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.floating__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.floating__action--green { background: #22C55E; }
.floating__action--green:hover { background: #16A34A; }
.floating__action--sky { background: #0EA5E9; }
.floating__action--sky:hover { background: #0284C7; }

.floating__btn {
  width: 3.5rem; height: 3.5rem;
  background: #0EA5E9;
  color: #fff;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(14,165,233,0.4);
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.floating__btn:hover { background: #0284C7; }
.floating__btn:active { transform: scale(0.92); }

/* ============================================================
   PRIVACY POLICY PAGE
============================================================ */
.policy-page { min-height: 100vh; padding-top: 8rem; }
.policy-page__inner { max-width: 56rem; margin: 0 auto; }
.policy-page__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.policy-page__subtitle { color: #94a3b8; margin-bottom: 2.5rem; }
.policy-page__body { display: flex; flex-direction: column; gap: 2.5rem; color: #475569; }

.policy-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.policy-section p + p { margin-top: 0.75rem; }
.policy-list {
  list-style: disc;
  margin-left: 1.5rem;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.policy-list--plain { list-style: none; margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; color: #334155; }
.policy-section a { color: #0EA5E9; }
.policy-section a:hover { text-decoration: underline; }

.policy-page__update {
  font-size: 0.875rem;
  color: #94a3b8;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}
