/* ============================================================
   WIRUS Biuro Rachunkowe — style.css
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --navy:       #1B2B5E;
  --navy-dark:  #0F1A3E;
  --navy-mid:   #243470;
  --gold:       #C9A96E;
  --gold-light: #DFC090;
  --gold-pale:  #F5EDD8;
  --white:      #FFFFFF;
  --gray-bg:    #F4F6FB;
  --gray-light: #E8EBF5;
  --text-dark:  #0F1A3E;
  --text-body:  #374162;
  --text-muted: #6B7399;
  --border:     rgba(27,43,94,0.12);
  --shadow-sm:  0 2px 12px rgba(27,43,94,0.07);
  --shadow-md:  0 8px 32px rgba(27,43,94,0.12);
  --shadow-lg:  0 24px 64px rgba(27,43,94,0.16);
  --shadow-gold:0 8px 32px rgba(201,169,110,0.25);
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --radius:     12px;
  --radius-lg:  20px;
  --font-h:     'Cormorant Garamond', Georgia, serif;
  --font-b:     'DM Sans', -apple-system, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Layout --- */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--navy); }
.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.78;
}
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-desc  { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold    { background: var(--gold);  color: var(--white); border: 2px solid var(--gold); }
.btn-gold:hover    { background: #b8924e; border-color: #b8924e; transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.45); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }

/* ============================
   NAVBAR
   ============================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.35s var(--ease),
              padding 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
#navbar.scrolled,
#navbar.solid {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(27,43,94,0.09);
}

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

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 0; cursor: pointer; }
.nav-logo img {
  width: auto;
  /* Default: dark logo for solid/scrolled white navbar */
  transition: filter 0.35s var(--ease);
}
/* Hero mode: make logo white */
#navbar:not(.scrolled):not(.solid) .nav-logo img {
  filter: brightness(0) invert(1);
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 0.87rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  position: relative;
  color: var(--white);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: #fff; }

/* Hero (transparent) nav text */
#navbar:not(.scrolled):not(.solid) .nav-link { color:var(--white); }
#navbar:not(.scrolled):not(.solid) .nav-link:hover,
#navbar:not(.scrolled):not(.solid) .nav-link.active { color: var(--gold);; }
#navbar:not(.scrolled):not(.solid) .nav-phone { color: var(--white); }

/* Phone */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--gold); }

/* Phone SVG symbol */
.sym-phone {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 4px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(27,43,94,0.07); }
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
#navbar:not(.scrolled):not(.solid) .hamburger span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 20px 24px 28px;
  border-top: 3px solid var(--gold);
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--gray-light);
  color: #333;
}
.mobile-menu .nav-link::after { display: none; }
.mobile-menu .nav-link.active { color: var(--gold); font-weight: 600; }
.mobile-menu .nav-link:last-of-type { border-bottom: none; }
.mobile-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.mobile-cta .btn { width: 100%; justify-content: center; }

/* Mobile call button (fixed) */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 20px; right: 18px;
  z-index: 998;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 6px 24px rgba(201,169,110,0.55);
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mobile-call:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(201,169,110,0.7); }
.mobile-call svg { width: 24px; height: 24px; color: var(--white); }

/* ============================
   PAGE HERO (inner pages)
   ============================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 130px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { font-size: 1.02rem; color: rgba(255,255,255,0.64); max-width: 520px; line-height: 1.75; }

/* ============================
   HERO (homepage)
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 58px 58px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 100px;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(201,169,110,0.13);
  border: 1px solid rgba(201,169,110,0.28);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%,100%  { opacity:1;  transform: scale(1); }
  50%      { opacity:.4; transform: scale(.8); }
}
.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.14;
  margin-bottom: 22px;
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 64px;
  animation: fadeUp 0.7s 0.45s ease both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.6s ease both;
}
.hero-stat-num {
  font-family: var(--font-h);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-top: 5px;
  display: block;
}
.hero-div { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.1s both;
}
.hero-scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollLine 1.9s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1) translateY(0);  opacity:.9; }
  50%      { transform: scaleY(.55) translateY(8px); opacity:.4; }
}

/* ============================
   TRUST BAR
   ============================ */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.83rem; font-weight: 500; color: var(--text-muted); }
.trust-sep  { width: 1px; height: 26px; background: var(--border); }
/* Cert icon only — user allowed */
.trust-cert-badge {
  width: 30px; height: 30px;
  background: var(--navy);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-cert-badge svg { width: 17px; height: 17px; color: var(--gold); }

/* Graphic decorative symbols */
.sym-box {
  width: 32px; height: 32px;
  background: var(--gray-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sym-box svg { width: 16px; height: 16px; color: var(--navy); }

/* ============================
   ABOUT (HOME)
   ============================ */
.about-home { background: var(--gray-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
/* Visual side */
.about-visual { position: relative; }
.about-visual-box {
  width: 100%;
  aspect-ratio: 4/3.5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:url("../biuro-rachunkowe-skierniewice.jpg");
}
.about-visual-box::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 32px
  );
}
.about-geo {
  position: relative;
  width: 160px; height: 160px;
  opacity: 0.18;
}
.about-badge-float {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
  text-align: center;
  min-width: 136px;
}
.about-badge-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.about-badge-text { font-size: 0.75rem; font-weight: 500; opacity: .9; margin-top: 4px; display: block; }

.about-cert-float {
  position: absolute;
  top: -16px; left: -16px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 210px;
}
.about-cert-icon {
  width: 34px; height: 34px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-cert-icon svg { width: 18px; height: 18px; color: var(--gold); }
.about-cert-label { font-size: 0.74rem; color: var(--text-muted); line-height: 1.4; }
.about-cert-label strong { font-weight: 700; color: var(--navy); display: block; margin-bottom: 1px; }

/* Features */
.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.about-feature { display: flex; gap: 16px; }
.about-feature-sym {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-sym svg { width: 22px; height: 22px; color: var(--gold); }
.about-feature h4 { font-family: var(--font-h); font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.about-feature p { font-size: 0.86rem; color: var(--text-muted); }

/* ============================
   SERVICES (home cards)
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.card-sym {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s var(--ease);
}
.card-sym svg { width: 28px; height: 28px; color: var(--gold); }
.service-card:hover .card-sym { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.service-card:hover .card-sym svg { color: var(--white); }

.service-card h3 { font-family: var(--font-h); font-size: 1.22rem; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.service-card p  { font-size: 0.86rem; color: var(--text-muted); line-height: 1.68; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 16px;
  transition: gap 0.2s;
  cursor: pointer;
}
.service-card:hover .card-more { gap: 10px; }

/* ============================
   WHY US
   ============================ */
.why-us { background: var(--navy-dark); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 2px;
  margin-top: 56px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-item { background: rgba(255,255,255,0.02); padding: 34px 26px; transition: background 0.3s; }
.why-item:hover { background: rgba(255,255,255,0.06); }
.why-sym {
  width: 48px; height: 48px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-sym svg { width: 24px; height: 24px; color: var(--gold); }
.why-item h3 { font-family: var(--font-h); font-size: 1.18rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.why-item p  { font-size: 0.84rem; color: rgba(255,255,255,0.52); line-height: 1.72; }

/* ============================
   CTA BAND
   ============================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(201,169,110,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-family: var(--font-h); font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 600; color: var(--white); line-height: 1.25; margin-bottom: 10px; }
.cta-inner h2 em { font-style: italic; color: var(--gold-light); }
.cta-inner p  { color: rgba(255,255,255,0.62); font-size: 1rem; }
.cta-actions  { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================
   TESTIMONIALS
   ============================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-q {
  font-family: var(--font-h);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: .5;
  margin-bottom: 18px;
  display: block;
}
.testi-text { font-size: 0.93rem; color: var(--text-body); line-height: 1.78; font-style: italic; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 1rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.testi-role { font-size: 0.77rem; color: var(--text-muted); }
.testi-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1px; letter-spacing: 1px; }

/* ============================
   FAQ
   ============================ */
.faq-list { max-width: 700px; margin: 52px auto 0; }
.faq-item  { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-h);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--navy); }
.faq-icon {
  width: 27px; height: 27px;
  background: var(--gray-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--navy);
  flex-shrink: 0;
  transition: background 0.25s, transform 0.3s var(--ease);
  line-height: 1;
}
.faq-item.open .faq-icon { background: var(--navy); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.82;
}
.faq-item.open .faq-answer { display: block; }

/* ============================
   FOOTER
   ============================ */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); }
.footer-top { padding: 68px 0 44px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 56px;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 18px; }
.footer-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { font-size: 0.83rem; line-height: 1.78; color: rgba(255,255,255,0.47); margin-bottom: 22px; }
.footer-cert-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.24);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 0.76rem;
  color: var(--gold-light);
}
.footer-cert-tag svg { width: 14px; height: 14px; color: var(--gold); }
.footer-h { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link { font-size: 0.83rem; color: rgba(255,255,255,0.47); transition: color 0.2s, padding-left 0.2s; cursor: pointer; }
.footer-link:hover { color: var(--gold); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 15px; }
.footer-c-row { display: flex; gap: 11px; align-items: flex-start; }
.footer-c-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.footer-c-val { font-size: 0.83rem; color: rgba(255,255,255,0.47); line-height: 1.55; }
.footer-c-val a { color: rgba(255,255,255,0.47); transition: color 0.2s; }
.footer-c-val a:hover { color: var(--gold); }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
}
.footer-bottom a { color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ============================
   O NAS PAGE
   ============================ */
.onas-story { background: var(--white); }
.onas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.onas-text p { font-size: 0.98rem; color: var(--text-muted); line-height: 1.82; margin-bottom: 14px; }
.onas-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--white);
  margin-top: 8px;
}
.onas-highlight h3 { font-family: var(--font-h); font-size: 1.25rem; font-weight: 600; color: var(--gold-light); margin-bottom: 10px; }
.onas-highlight p  { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.75; }
.cert-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.28);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 18px;
}
.cert-row svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.cert-row-text { font-size: 0.86rem; color: var(--gold-light); line-height: 1.5; }
.cert-row-text strong { display: block; color: var(--white); margin-bottom: 2px; }

.stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-box {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.stat-box-num { font-family: var(--font-h); font-size: 2.1rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-box-label { font-size: 0.77rem; color: var(--text-muted); margin-top: 5px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 52px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-sym {
  width: 56px; height: 56px;
  background: var(--gray-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: background 0.3s;
}
.value-sym svg { width: 26px; height: 26px; color: var(--navy); transition: color 0.3s; }
.value-card:hover .value-sym { background: var(--navy); }
.value-card:hover .value-sym svg { color: var(--gold); }
.value-card h3 { font-family: var(--font-h); font-size: 1.12rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.value-card p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }

/* ============================
   OFERTA PAGE
   ============================ */
.oferta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 52px;
}
.oferta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.oferta-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--navy-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.oferta-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.oferta-card:hover::after { transform: scaleX(1); }
.oferta-sym {
  width: 62px; height: 62px;
  background: var(--gray-bg);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.oferta-sym svg { width: 30px; height: 30px; color: var(--navy); transition: color 0.3s; }
.oferta-card:hover .oferta-sym { background: var(--navy); }
.oferta-card:hover .oferta-sym svg { color: var(--gold); }
.oferta-card h3 { font-family: var(--font-h); font-size: 1.28rem; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.oferta-card p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--text-body); }
.check-mark {
  width: 17px; height: 17px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-mark svg { width: 9px; height: 9px; color: var(--gold); }

.pricing-note {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.pricing-note h3 { font-family: var(--font-h); font-size: 1.75rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.pricing-note p  { color: rgba(255,255,255,0.62); font-size: 0.98rem; }

/* ============================
   KONTAKT PAGE
   ============================ */
.kontakt-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 56px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.contact-card-title {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.contact-card-sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; }

.contact-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row-sym {
  width: 46px; height: 46px;
  background: var(--navy);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-row-sym svg { width: 20px; height: 20px; color: var(--gold); }
.contact-row-label { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.contact-row-val { font-size: 1.02rem; font-weight: 600; color: var(--text-dark); }
.contact-row-val a { color: var(--text-dark); transition: color 0.2s; }
.contact-row-val a:hover { color: var(--gold); }
.contact-row-val.small { font-size: 0.88rem; font-weight: 400; color: var(--text-body); }
.contact-row-val.small a { color: var(--text-body); }

.hours-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 20px;
}
.hours-card h4 { font-family: var(--font-h); font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 14px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.84rem; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-body); }
.hours-row:last-child { border-bottom: none; }
.hours-open   { color: #16a34a; font-weight: 600; }
.hours-closed { color: #dc2626; }

.consult-box {
  background: linear-gradient(135deg, var(--gold) 0%, #b8924e 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-gold);
  margin-top: 24px;
}
.consult-box h3 { font-family: var(--font-h); font-size: 1.38rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.consult-box p  { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin-bottom: 20px; }
.consult-box .btn {
  background: var(--white);
  color: var(--gold);
  border: 2px solid var(--white);
  width: 100%;
  justify-content: center;
  font-weight: 700;
}
.consult-box .btn:hover { background: transparent; color: var(--white); }

.map-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ============================
   SCROLL REVEAL
   ============================ */
/* Permanent state — once visible, stays visible forever */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
/* Once visible, transitions are removed to prevent re-triggering on scroll */
.reveal.visible {
  opacity: 1;
  transform: none;
  /* Nullify transition after reveal so mobile scroll never un-reveals */
  transition: none;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid  { gap: 48px; }
  .onas-grid   { gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Navbar */
  .nav-links, .nav-cta { display: none; }
  .hamburger, .mobile-call { display: flex; }

  /* Hero */
  .hero { min-height: 88vh; }
  .hero-content { padding: 120px 0 80px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats  { gap: 22px; }
  .hero-div    { display: none; }

  /* About */
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .about-cert-float { display: none; }
  .about-badge-float { bottom: -10px; right: -10px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Trust */
  .trust-sep { display: none; }
  .trust-bar-inner { gap: 18px; }

  /* CTA */
  .cta-inner { flex-direction: column; }
  .cta-actions .btn { flex: 1; justify-content: center; }

  /* Inner pages */
  .onas-grid   { grid-template-columns: 1fr; gap: 36px; }
  .kontakt-info-grid { grid-template-columns: 1fr; }
  .pricing-note { flex-direction: column; padding: 28px; }
  .pricing-note .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .oferta-grid   { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
  .stats-mini    { grid-template-columns: 1fr 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
}
