/* Owned by T5 / T24a / fix / T25 — header. */
.fc-header { padding: 1rem 1.5rem; background:#fff; position:sticky; top:0; z-index:50; box-shadow:0 2px 4px rgba(0,0,0,.04); transition: padding .2s ease; }
.fc-header.is-scrolled { padding:.5rem 1.5rem; }
.fc-header__row { max-width:1280px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:1.5rem; position:relative; flex-wrap: nowrap; }
.fc-logo { display:inline-flex; align-items:center; text-decoration:none; }
.fc-logo img { display:block; height:64px; width:auto; max-width:200px; transition: height .2s ease; }
.fc-header.is-scrolled .fc-logo img { height:52px; }
.fc-nav__list { display:flex; gap:1.5rem; list-style:none; margin:0; padding:0; }
.fc-nav__item a { color:var(--fc-dark,#0E0E10); text-decoration:none; font-weight:500; padding:.5rem 0; border-bottom:2px solid transparent; display:inline-block; transition:color .15s ease, border-color .15s ease; }
.fc-nav__item.is-active a, .fc-nav__item a:hover { border-bottom-color:var(--fc-red,#E30613); color:var(--fc-red,#E30613); }
.fc-header__actions { display:flex; align-items:center; gap:1rem; }
.fc-phone { background:var(--fc-red,#E30613); color:#fff; padding:.55rem 1rem; border-radius:6px; text-decoration:none; font-weight:600; white-space:nowrap; transition: background .15s ease; }
.fc-phone:hover { background:var(--fc-red-hover,#B5050F); color:#fff; }

/* Language switcher — pill toggle (PT | EN side-by-side, no bullets, no stacking). */
.fc-langs { display: inline-block; }
.fc-langs ul, .fc-langs ol { display: inline-flex !important; flex-direction: row !important; align-items: stretch !important; list-style: none !important; margin: 0 !important; padding: 0 !important; font-size: .875rem; background: #f4f4f5; border-radius: 999px; overflow: hidden; border: 1px solid #e6e6e9; }
.fc-langs li { padding: 0 !important; margin: 0 !important; display: inline-flex !important; list-style: none !important; }
.fc-langs li::marker, .fc-langs li::before { content: '' !important; display: none !important; }
.fc-langs a { color: var(--fc-muted,#5A5A5F); text-transform: uppercase; text-decoration: none; padding: .35rem .85rem; font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: center; transition: background .15s ease, color .15s ease; white-space: nowrap; }
.fc-langs a:hover { color: var(--fc-dark,#0E0E10); background: #eaeaee; }
.fc-langs .current-lang > a, .fc-langs .lang-item.current-lang > a, .fc-langs .current-lang a { background: var(--fc-dark,#0E0E10); color: #fff; }

/* Mobile hamburger */
.fc-nav-toggle { display:none; background:none; border:0; padding:.5rem; cursor:pointer; margin-left:auto; }
.fc-nav-toggle span { display:block; width:24px; height:2px; background:var(--fc-dark,#0E0E10); margin:4px 0; transition: transform .2s ease, opacity .2s ease; }

/* Hide mobile-only lang slot on desktop */
.fc-nav__mobile-lang { display:none; }

@media (max-width: 900px) {
  .fc-header__row { gap:.75rem; }
  .fc-nav-toggle { display:flex; flex-direction:column; gap:0; order: 99; margin-left:auto; }
  .fc-nav { display:none; position:absolute; top:calc(100% + .5rem); left:0; right:0; background:#fff; padding:1rem 1.5rem; box-shadow:0 4px 8px rgba(0,0,0,.06); border-radius:0 0 8px 8px; z-index:10; }
  .fc-nav.is-open { display:block; }
  .fc-nav__list { flex-direction:column; gap:.75rem; }
  /* Hide desktop actions (lang + phone) on the top row — lang shown in nav drawer instead. */
  .fc-header__actions { display:none; }
  .fc-logo img { height:52px; }
  .fc-header.is-scrolled .fc-logo img { height:44px; }
  /* Language switcher inside mobile nav drawer */
  .fc-nav__mobile-lang { display:flex; align-items:center; padding-top:.75rem; margin-top:.25rem; border-top:1px solid #f0f0f2; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-header { transition:none; }
  .fc-nav-toggle span { transition:none; }
}
