/* ==========================================================================
   sections.css — style poszczególnych sekcji + breakpointy
   ========================================================================== */

/* --------------------------------------------------------------------------
   HEADER / NAV
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(13, 26, 58, 0);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-mid) var(--ease-out),
              height var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}

.site-header.is-scrolled {
  height: var(--header-h-sm);
  background: rgba(7, 16, 34, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line-on-dark);
  box-shadow: 0 10px 30px rgba(3, 8, 18, 0.28);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-on-dark);
  flex: none;
  transition: width var(--dur-mid) var(--ease-out), height var(--dur-mid) var(--ease-out);
}

.is-scrolled .brand__mark { width: 34px; height: 34px; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--cream-50);
  letter-spacing: 0.005em;
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: var(--ls-mono-wide);
  text-transform: uppercase;
  color: var(--gold-400);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-4), 1.4vw, var(--sp-6));
  margin-left: auto;
}

.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  color: rgba(238, 231, 216, 0.82);
  padding-block: var(--sp-2);
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
}

.nav__link:hover { color: var(--cream-50); }
.nav__link:hover::after { transform: scaleX(1); }

.header-cta { flex: none; }

.burger {
  display: none;
  width: 46px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: transparent;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-sm);
  cursor: pointer;
  flex: none;
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream-50);
  transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-900);
  padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) var(--sp-7);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out),
              visibility var(--dur-mid);
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-on-dark-soft);
}

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line-on-dark-soft);
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--cream-50);
}

.mobile-menu__link span {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--gold-500);
  letter-spacing: var(--ls-mono);
}

.mobile-menu__foot {
  margin-top: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.mobile-menu__phone {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold-300);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(96vh, 940px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + var(--sp-8));
  padding-bottom: var(--sp-8);
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: -2;
  will-change: transform;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(5, 12, 28, 0.9) 0%, rgba(5, 12, 28, 0.72) 38%, rgba(5, 12, 28, 0.3) 66%, rgba(5, 12, 28, 0.45) 100%),
    linear-gradient(to top, rgba(5, 12, 28, 0.86) 0%, rgba(5, 12, 28, 0) 45%);
}

.hero__inner { width: 100%; }

.hero__eyebrow {
  color: var(--gold-400);
  margin-bottom: var(--sp-5);
}

.hero h1 {
  color: var(--cream-50);
  max-width: 22ch;
  margin-bottom: var(--sp-5);
}

.hero h1 .accent {
  display: block;
  color: var(--gold-400);
  font-style: italic;
  font-size: 0.84em;
  margin-top: 0.06em;
}

.hero__lead {
  max-width: 52ch;
  font-size: var(--fs-md);
  color: rgba(238, 231, 216, 0.86);
  margin-bottom: var(--sp-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.hero__ticker {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-on-dark);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: rgba(238, 231, 216, 0.66);
}

.hero__ticker li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hero__ticker li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold-500);
  transform: rotate(45deg);
  flex: none;
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(var(--sp-6), 4vw, var(--sp-9));
  align-items: start;
}

.about__body p { font-size: var(--fs-md); }

.about__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.about__photo {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.facts {
  background: var(--navy-800);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.facts__title {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-mono-wide);
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--sp-5);
}

.facts dl {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}

.facts dt,
.facts dd {
  padding: var(--sp-3) 0;
  border-bottom: 1px dashed var(--line-on-dark-soft);
  margin: 0;
  font-size: var(--fs-sm);
}

.facts dt {
  color: rgba(238, 231, 216, 0.62);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
}

.facts dd {
  text-align: right;
  color: var(--cream-50);
  font-weight: 500;
}

.facts dt:last-of-type,
.facts dd:last-of-type { border-bottom: 0; }

/* --------------------------------------------------------------------------
   AUDIENCE
   -------------------------------------------------------------------------- */

.audience__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.audience__card {
  padding-top: var(--sp-5);
  border-top: 2px solid var(--ink-900);
}

.audience__card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-3);
}

.audience__card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SERVICES
   -------------------------------------------------------------------------- */

.services__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-8);
  align-items: end;
}

.services__note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  border-left: 2px solid var(--gold-500);
  padding-left: var(--sp-4);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
}

.svc::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 3px;
  background: var(--gold-500);
  border-radius: var(--r-md) 0 0 0;
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}

.svc h3 { margin-bottom: var(--sp-3); font-size: var(--fs-lg); }

.svc p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: auto;
}

.svc__tags li {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
  background: rgba(201, 162, 74, 0.12);
  border-radius: var(--r-pill);
  padding: 0.28rem 0.6rem;
}

/* --------------------------------------------------------------------------
   IP BOX
   -------------------------------------------------------------------------- */

.ipbox {
  position: relative;
  background: var(--navy-800);
  color: var(--text-on-dark);
  overflow: hidden;
}

.ipbox__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(var(--sp-6), 4vw, var(--sp-9));
  align-items: center;
}

.ipbox__media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.ipbox__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.ipbox__badge {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  background: rgba(7, 16, 34, 0.86);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--gold-300);
  backdrop-filter: blur(4px);
}

.ipbox__lead {
  font-size: var(--fs-md);
  color: rgba(238, 231, 216, 0.82);
  margin-bottom: var(--sp-6);
  max-width: 54ch;
}

.ipbox__list {
  display: grid;
  gap: var(--sp-5);
  counter-reset: ipbox;
}

.ipbox__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-on-dark-soft);
}

.ipbox__item::before {
  counter-increment: ipbox;
  content: counter(ipbox, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--gold-500);
  letter-spacing: 0.08em;
  padding-top: 0.35rem;
}

.ipbox__item h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2);
  color: var(--cream-50);
}

.ipbox__item p {
  font-size: var(--fs-sm);
  color: rgba(238, 231, 216, 0.7);
}

/* --------------------------------------------------------------------------
   PROCESS — full bleed, zdjęcie ze scrimem
   -------------------------------------------------------------------------- */

.process {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--text-on-dark);
}

.process__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.process__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.process__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 12, 28, 0.88) 0%, rgba(5, 12, 28, 0.62) 52%, rgba(5, 12, 28, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 12, 28, 0.5) 0%, rgba(5, 12, 28, 0.3) 45%, rgba(5, 12, 28, 0.66) 100%);
}

.process .container { position: relative; z-index: 1; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.step {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-on-dark);
}

.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-mono);
  color: var(--gold-400);
  margin-bottom: var(--sp-4);
}

.step h3 {
  font-size: var(--fs-lg);
  color: var(--cream-50);
  margin-bottom: var(--sp-3);
}

.step p {
  font-size: var(--fs-sm);
  color: rgba(238, 231, 216, 0.78);
}

/* --------------------------------------------------------------------------
   STATS
   -------------------------------------------------------------------------- */

.stats {
  position: relative;
  background: var(--cream-200);
  overflow: hidden;
}

.stats .ledger-grid {
  --ledger-line: rgba(16, 26, 46, 0.07);
  --ledger-line-soft: rgba(16, 26, 46, 0.045);
}

.stats .container { position: relative; z-index: 1; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}

.stat-ledger {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-strong);
}

.stat-ledger__value {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  line-height: 1;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.stat-ledger__value .unit {
  font-family: var(--font-mono);
  font-size: 0.34em;
  letter-spacing: 0.04em;
  color: var(--gold-600);
  vertical-align: super;
}

.stat-ledger__value .prefix {
  font-family: var(--font-mono);
  font-size: 0.28em;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-right: 0.35em;
  vertical-align: 0.9em;
}

.stat-ledger__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: lowercase;
}

/* --------------------------------------------------------------------------
   WHY — full bleed, zdjęcie ze scrimem
   -------------------------------------------------------------------------- */

.why {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--text-on-dark);
}

.why__bg { position: absolute; inset: 0; z-index: 0; }

.why__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.why__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(5, 12, 28, 0.74) 0%, rgba(5, 12, 28, 0.5) 45%, rgba(5, 12, 28, 0.7) 100%);
}

.why .container { position: relative; z-index: 1; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6) clamp(var(--sp-6), 5vw, var(--sp-9));
  margin-top: var(--sp-8);
}

.why__item {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-on-dark);
}

.why__item h3 {
  font-size: var(--fs-lg);
  color: var(--cream-50);
  margin-bottom: var(--sp-3);
}

.why__item p {
  font-size: var(--fs-sm);
  color: rgba(238, 231, 216, 0.8);
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   TEAM
   -------------------------------------------------------------------------- */

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.member {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.member__initials {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--navy-800);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-2);
}

.member__name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--ink-900);
}

.member__role {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--gold-700);
  text-transform: uppercase;
  margin-top: calc(var(--sp-2) * -1);
}

.member p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.team__partner {
  margin-top: var(--sp-7);
  padding: var(--sp-5) var(--sp-6);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.team__partner::before {
  content: "§";
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-600);
  line-height: 1;
  flex: none;
}

/* --------------------------------------------------------------------------
   GALLERY
   -------------------------------------------------------------------------- */

.gallery { background: var(--navy-800); color: var(--text-on-dark); position: relative; overflow: hidden; }
.gallery .container { position: relative; z-index: 1; }

.gallery__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-6);
  align-items: end;
}

.gallery__note {
  max-width: 34ch;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: rgba(238, 231, 216, 0.62);
  border-left: 2px solid var(--gold-500);
  padding-left: var(--sp-4);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line-on-dark);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery__item:hover img { transform: scale(1.05); }

.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

.gallery__item::after {
  content: attr(data-badge);
  position: absolute;
  left: var(--sp-3);
  bottom: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(5, 12, 28, 0.74);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-pill);
  padding: 0.22rem 0.6rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}

.gallery__item:hover::after,
.gallery__item:focus-within::after { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   REVIEWS — stan oczekujący, bez wymyślonych cytatów
   -------------------------------------------------------------------------- */

.reviews__panel {
  margin-top: var(--sp-7);
  padding: clamp(var(--sp-6), 5vw, var(--sp-9)) var(--gutter);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(to bottom, rgba(16, 26, 46, 0.045) 0 1px, transparent 1px 30px);
  text-align: center;
}

.reviews__quote {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--ink-900);
  max-width: 24ch;
  margin: 0 auto var(--sp-4);
  line-height: 1.35;
}

.reviews__hint {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  max-width: 46ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq__list {
  margin-top: var(--sp-7);
  border-top: 1px solid var(--line);
}

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--ink-900);
  transition: color var(--dur-fast) var(--ease-out);
}

.faq__q:hover { color: var(--gold-700); }

.faq__sign {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.45rem;
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--gold-600);
  transition: transform var(--dur-mid) var(--ease-out);
}

.faq__sign::before { top: 8px; left: 0; width: 18px; height: 1.5px; }
.faq__sign::after { left: 8px; top: 0; width: 1.5px; height: 18px; }

.faq__item.is-open .faq__sign::after { transform: scaleY(0); }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-mid) var(--ease-inout);
}

.faq__a-inner {
  padding: 0 0 var(--sp-5);
  max-width: 68ch;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  background: var(--navy-800);
  color: var(--text-on-dark);
  overflow: hidden;
}

.contact .container { position: relative; z-index: 1; }

.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(var(--sp-6), 4.5vw, var(--sp-9));
  align-items: start;
}

.contact__lead {
  font-size: var(--fs-md);
  color: rgba(238, 231, 216, 0.82);
  max-width: 44ch;
}

.contact__details {
  margin-top: var(--sp-7);
  display: grid;
  gap: var(--sp-5);
}

.detail {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-on-dark-soft);
}

.detail__label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-mono-wide);
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--sp-3);
}

.detail__value {
  font-size: var(--fs-md);
  color: var(--cream-50);
}

.detail__value a:hover { color: var(--gold-300); }

.detail__note {
  font-size: var(--fs-sm);
  color: rgba(238, 231, 216, 0.6);
  margin-top: var(--sp-2);
}

.hours { display: grid; gap: var(--sp-2); }

.hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  padding-bottom: var(--sp-2);
  border-bottom: 1px dashed var(--line-on-dark-soft);
}

.hours li:last-child { border-bottom: 0; }

.hours span:first-child { color: rgba(238, 231, 216, 0.7); }

.hours span:last-child {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--cream-50);
  white-space: nowrap;
}

/* Form */
.contact-form {
  background: var(--cream-50);
  border-radius: var(--r-lg);
  padding: clamp(var(--sp-5), 3vw, var(--sp-7));
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: var(--sp-4);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--ink-900);
  margin-bottom: var(--sp-1);
}

.form-row { display: grid; gap: var(--sp-2); }

.form-row label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--ink-600);
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.9rem;
  font-size: var(--fs-base);
  color: var(--ink-900);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.form-row textarea { resize: vertical; min-height: 120px; }

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--ink-400); }

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.2);
}

.contact-form .btn-primary { justify-self: start; }

.form-consent {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-muted);
}

.form-status {
  display: none;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.6;
  letter-spacing: 0.03em;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  border: 1px solid;
}

.form-status.is-visible { display: block; }
.form-status.is-ok { color: #1e5f3a; border-color: #1e5f3a; background: rgba(30, 95, 58, 0.08); }
.form-status.is-err { color: #8a2a25; border-color: #8a2a25; background: rgba(138, 42, 37, 0.08); }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  background: var(--navy-950);
  color: rgba(238, 231, 216, 0.72);
  padding-block: var(--sp-8) var(--sp-6);
  overflow: hidden;
}

.site-footer .container { position: relative; z-index: 1; }

.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr auto;
  gap: var(--sp-7);
  align-items: start;
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--line-on-dark-soft);
}

.footer__logo { width: 100%; max-width: 300px; height: auto; }

.footer__tagline {
  font-size: var(--fs-sm);
  max-width: 40ch;
  margin-top: var(--sp-4);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 150px));
  gap: var(--sp-2) var(--sp-5);
}

.footer__nav a {
  font-size: var(--fs-sm);
  color: rgba(238, 231, 216, 0.72);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__nav a:hover { color: var(--gold-400); }

.footer__contact {
  display: grid;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: rgba(238, 231, 216, 0.72);
  text-align: right;
}

.footer__contact a:hover { color: var(--gold-400); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(238, 231, 216, 0.48);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }

  .services__grid,
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-5); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 1024px) {
  .about__grid,
  .ipbox__grid,
  .contact__grid,
  .services__head,
  .gallery__head { grid-template-columns: 1fr; }

  .services__head,
  .gallery__head { gap: var(--sp-5); }

  .ipbox__media { order: -1; max-width: 560px; }
  .ipbox__media img { aspect-ratio: 16 / 10; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-5); }
  .about__aside { flex-direction: row; flex-wrap: wrap; }
  .about__photo, .facts { flex: 1 1 300px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --header-h-sm: 58px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + var(--sp-7)); }
  .hero h1 { max-width: 20ch; }
  .hero__actions { gap: var(--sp-3); }
  .hero__actions .btn { flex: 1 1 100%; }

  .services__grid,
  .team__grid,
  .audience__grid,
  .why__grid,
  .process__steps { grid-template-columns: 1fr; }

  .why__grid { gap: var(--sp-5); }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--wide:last-child { grid-column: span 1; }

  .about__aside { flex-direction: column; }
  .about__photo,
  .facts { flex: 0 1 auto; }

  .process__bg::after {
    background:
      linear-gradient(180deg, rgba(5, 12, 28, 0.78) 0%, rgba(5, 12, 28, 0.5) 34%, rgba(5, 12, 28, 0.62) 100%);
  }

  .why__bg img { object-position: 42% 68%; }

  .why__bg::after {
    background:
      linear-gradient(180deg, rgba(5, 12, 28, 0.72) 0%, rgba(5, 12, 28, 0.4) 42%, rgba(5, 12, 28, 0.6) 100%);
  }

  .footer__top { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; }

  .team__partner { align-items: flex-start; }
  .faq__q { font-size: var(--fs-md); }
  .brand__sub { display: none; }
}

@media (max-width: 440px) {
  .hero__ticker { gap: var(--sp-2) var(--sp-4); }
  .facts dl { grid-template-columns: 1fr; }
  .facts dd { text-align: left; padding-top: 0; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .contact-form { padding: var(--sp-5) var(--sp-4); }
  .mobile-menu__link { font-size: 1.25rem; }
}
