body {
  font-family: var(--font-sans);
  color: var(--color-dark);
}

.container {
  /* box-sizing jest tu KONIECZNE: `width:100%` razem z dopelnieniem bocznym daje
     przy domyslnym content-box szerokosc ekranu + 2x dopelnienie, czyli strona
     przewija sie w poziomie na telefonie. Zlapane pomiarem 10.09.2026 na /o-mnie/
     (scrollWidth 415 przy viewporcie 375). Strony, ktore maja wlasny reset
     `*{box-sizing:border-box}`, nic na tej regule nie traca. */
  box-sizing: border-box;
  width: 100%;
  max-width: var(--shell-container);
  margin-right: auto;
  margin-left: auto;
  padding: 0 24px;
}

section {
  padding: var(--space-section) 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--type-section);
  color: var(--color-ultraviolet);
  line-height: 1.12;
}

.section-subtitle,
.section-text {
  font-size: var(--type-body);
  line-height: 1.75;
  color: #61596f;
}

body > header {
  padding: 12px 0;
  background-color: rgba(248, 244, 239, 0.97);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(100, 83, 148, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-img {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo .logo-text {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.logo-flow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2em;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--color-gold);
}

.logo-text sup {
  font-size: 0.35em;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.95;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease;
  font-family: var(--font-sans);
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-ultraviolet));
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.nav-link:hover {
  color: var(--color-ultraviolet);
}

.nav-link:hover:after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-ultraviolet), #7b68c9);
  color: #fff !important;
  padding: 11px 26px !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(100, 83, 148, 0.25);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin-left: 10px;
  display: inline-block;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-gold), #e6c158);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
  color: var(--color-dark) !important;
}

.nav-cta::after,
.nav-home-icon::after {
  display: none !important;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--color-ultraviolet);
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(100, 83, 148, 0.1);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
  backdrop-filter: blur(3px);
}

.menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-beige);
  padding: 100px 30px 40px;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu .nav-link {
  font-size: 1.1rem;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid rgba(100, 83, 148, 0.1);
}

.mobile-menu .nav-cta {
  margin: 20px 0 0;
  display: inline-block;
  text-align: center;
}

.nav-has-dropdown {
  position: relative;
}

.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  border: 1px solid rgba(100, 83, 148, 0.12);
  list-style: none;
  padding: 8px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s ease;
  z-index: 200;
}

.nav-has-dropdown:hover .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-sub-link {
  display: block;
  padding: 10px 14px;
  color: #2f2940 !important;
  font-size: 0.91rem;
  font-weight: 600;
  border-radius: 9px;
  transition: background 0.15s;
  text-decoration: none;
}

.nav-sub-link:hover {
  background: rgba(100, 83, 148, 0.08);
  color: #645394 !important;
}

.nav-chevron {
  font-size: 0.63em;
  margin-left: 3px;
  transition: transform 0.2s;
  vertical-align: middle;
  opacity: 0.6;
}

.nav-has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

footer {
  background: linear-gradient(135deg, var(--color-deep-purple) 0%, #2a1e40 100%);
  color: white;
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* 3 px, bylo 5. Olimpia 22.09 o pasku na gorze stopki: "jest kolorowa,
     zmienia kolory i jest moim zdaniem spoko, moze moglaby byc ciensza tylko".
     Regula jest WSPOLNA dla calego serwisu, wiec zmiana wchodzi na wszystkie
     podstrony naraz — o to chodzi, pasek ma wygladac tak samo wszedzie.
     Uwaga: index.html, starter i sklep maja wlasne kopie tej reguly w swoim
     CSS, ale `shell.css` laduje sie PO nich i wygrywa, wiec ta wartosc jest
     ta obowiazujaca. */
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), #645394, var(--color-gold));
  background-size: 200% 100%;
  animation: footer-shimmer 4s linear infinite;
}

@keyframes footer-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-brand,
.footer-col {
  display: flex;
  flex-direction: column;
  align-self: start;
}

/* Logo w stopce zamiast napisu zlozonego czcionka (18.09.2026).
   Wersja SVG na ciemne tlo z _marka/INTUflow-logo-na-ciemnym.svg. */
.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  line-height: 0;
}

.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .footer-logo img { height: 36px; }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Naglowek kolumny: krotka zlota kreska zamiast linii przez cala szerokosc
   (kreska przez kolumne dokladala szumu w i tak gestej stopce) — 17.09.2026 */
.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(219, 169, 75, 0.75) 0%, rgba(219, 169, 75, 0) 100%);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  margin: 0;
}

.footer-links li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

/* Ikonki przy kazdej pozycji listy zdjete 17.09.2026 — kilkanascie roznych ksztaltow
   robilo ze stopki liste zakupow. Regula zostaje na wypadek starszych podstron,
   ktore maja jeszcze <i> w kodzie: wtedy ikona jest dyskretna, nie zlota plama. */
.footer-links li > i,
.footer-links a > i {
  width: 16px;
  min-width: 16px;
  margin-top: 0.18rem;
  color: rgba(219, 169, 75, 0.45);
  font-size: 0.78rem;
  text-align: center;
  flex-shrink: 0;
}

.footer-links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--color-gold);
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--color-gold);
  color: #2f2940;
  transform: translateY(-2px);
}

/* Kreska nad dolnym paskiem tez gasnie po bokach — zamiast twardej linii
   przez cala szerokosc stopki (17.09.2026) */
.footer-bottom {
  position: relative;
  margin-top: 30px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  text-align: center;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, 86%);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
}

.footer-bottom-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Dane rejestrowe: sa na stronie, ale nie zajmuja kolumny kontaktu — 17.09.2026 */
.footer-legal {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.30);
}

.footer-bottom a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .nav-has-dropdown:hover .nav-sub,
  .nav-has-dropdown:focus-within .nav-sub {
    display: none;
  }
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
