/* ============================================================
   NAVIGATION
   ============================================================ */

:root {
  --nav-bg:       transparent;
  --nav-text:     #ffffff;
  --nav-btn-bg:   #ffffff;
  --nav-btn-text: #000000;
}

.site-header {
  width: 100%;
  max-width: var(--max-viewport);
  margin: 0 auto;
  padding-top: 30px;
  background-color: var(--nav-bg);
}

.nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── LEFT ── */
.nav__left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__logo {
  display: block;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.nav__logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav__brand {
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  color: var(--nav-text);
  white-space: nowrap;
}

/* ── RIGHT ── */
.nav__right {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ── NAV LINKS ──
   display: inline-flex so dropdown icon sits inline with text.
   Underline ::after spans full width including icon.
   Enter: origin left  → draws left→right
   Exit:  origin right → disappears left→right
*/
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: var(--nav-text);
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: var(--nav-text);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Dropdown icon — white, 10×6px, vertically centred */
.dropdown-icon {
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 6px;
  filter: brightness(0) invert(1);
}

/* ── NAV CTA BUTTON — vertical text slide (same as hero solid) ──
   Two identical labels stacked. On hover, track slides up:
   first label exits top, second slides in from bottom.
   Button width never changes — nav stays put.
*/
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #000000;
  background: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 12px 25px;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  line-height: 1.2;
}

.nav__cta .btn-track {
  position: relative;
  display: block;
  height: 1.2em;
  overflow: hidden;
}

.nav__cta .btn-track__inner {
  display: block;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.nav__cta .btn-track__inner > span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
}

.nav__cta:hover .btn-track__inner {
  transform: translateY(-1.2em);
}






/* ══════════════════════════════════════════════════
   DROPDOWN MENU — Devolfs-inspired
   ══════════════════════════════════════════════════ */

.nav__dropdown-wrap {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: none;
  z-index: 1000;
  margin-top: -6px;
  padding: 10px;
  background-clip: padding-box;
}

.nav__dropdown-wrap:hover .nav__dropdown,
.nav__dropdown-wrap.is-open .nav__dropdown {
  display: flex;
}

.nav__dropdown-inner {
  display: flex;
  width: 100%;
}

/* Left promo panel */
.nav__dd-promo {
  width: 220px;
  flex-shrink: 0;
  background: #111111;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__dd-promo-badge {
  display: inline-block;
  font-family: var(--font-mont);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: #ffffff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 5px 12px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  white-space: nowrap;
}

.nav__dd-promo-title {
  font-family: var(--font-mont);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.nav__dd-promo-title em {
  font-family: var(--font-dutch);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
}

.nav__dd-promo-desc {
  font-family: var(--font-mont);
  font-size: 11.5px;
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0 0 24px 0;
  flex: 1;
}

.nav__dd-promo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #111111;
  background: #d9ceea;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  text-decoration: none;
  overflow: hidden;
  line-height: 1.2;
  cursor: pointer;
  width: 100%;
  overflow: hidden;
}

.nav__dd-promo-btn .btn-track { position: relative; display: block; height: 1.2em; overflow: hidden; width: 100%; text-align: center; }
.nav__dd-promo-btn .btn-track__inner { display: block; transition: transform 0.4s cubic-bezier(0.7,0,0.2,1); }
.nav__dd-promo-btn .btn-track__inner > span { display: block; height: 1.2em; line-height: 1.2; }
.nav__dd-promo-btn:hover .btn-track__inner { transform: translateY(-1.2em); }

/* Right service grid */
.nav__dd-services {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Category header row */
.nav__dd-cat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.nav__dd-cat-label {
  font-family: var(--font-mont);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
  text-transform: none;
  color: #111111;
  padding: 6px 6px 10px;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__dd-cat-label svg {
  display: none;
}

/* Service items grid */
.nav__dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.nav__dd-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
  align-items: center;
}

.nav__dd-item:hover { background: #f8f8f8; }

.nav__dd-item-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__dd-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  grid-row: 1;
}

.nav__dd-item-icon svg { display: none; }

.nav__dd-item-icon svg {
  width: 13px;
  height: 13px;
  stroke: #695887;
}

.nav__dd-item-weeks {
  display: none;
}

.nav__dd-item-title {
  font-family: var(--font-mont);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  color: #111111;
}

.nav__dd-item-desc {
  font-family: var(--font-mont);
  font-size: 11px;
  font-weight: var(--fw-regular);
  color: #888888;
  line-height: 1.4;
  margin: 0;
}

/* ── Dropdown trigger — no underline, arrow rotates on hover ── */
.nav__dropdown-wrap > .nav__link::after {
  display: none;
}

.nav__dropdown-wrap > .nav__link .dropdown-icon {
  transition: transform 0.3s ease;
}

.nav__dropdown-wrap.is-open > .nav__link .dropdown-icon {
  transform: rotate(90deg);
}

/* ── Dropdown adjustments ── */
.nav__dropdown {
  top: calc(100% + 28px);
}

.nav__dd-item-icon {
  width: 44px;
  height: 60px;
}

.nav__dd-services {
  
}

.nav__dd-promo {
  
}

/* ── Larger hover bridge + more height ── */
.nav__dropdown {
  top: calc(100% + 28px);
  margin-top: -14px;
  padding-top: 14px;
}



.nav__dropdown { width: 820px; }


.nav__dropdown { width: 860px; }
.nav__dd-promo { width: 260px; }

/* ── Promo panel updates ── */
.nav__dd-promo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__dd-promo-top { flex: 1; }

.nav__dd-promo-stars {
  font-size: 14px;
  color: #f5c842;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}

.nav__dd-promo-rec {
  font-family: var(--font-mont);
  font-size: 11px;
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.nav__dd-promo-title {
  font-size: calc(22px * 1.1);
}

.nav__dd-promo-title em {
  font-size: calc(24px * 1.1);
}

.nav__dd-promo-desc {
  font-size: calc(11.5px * 1.1);
}

.nav__dd-promo-btn {
  margin-top: auto;
  flex-shrink: 0;
}

/* ── Stars badge — restored ── */
.nav__dd-promo-badge {
  display: inline-block;
  font-size: 13px;
  color: #f5c842;
  letter-spacing: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 10px;
}

/* ── Pin button to bottom ── */
.nav__dd-promo {
  display: flex;
  flex-direction: column;
}

.nav__dd-promo-top {
  flex: 1;
}

.nav__dd-promo-btn {
  margin-top: auto;
  width: 100%;
}

/* ── Category labels +10% ── */
.nav__dd-cat-label { font-size: calc(14px * 1.1); }

/* ── Icon placeholder larger ── */
.nav__dd-item-icon { width: 64px; height: 80px; }

/* ── Fix icon/text overlap — align grid columns ── */
.nav__dd-item {
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 12px;
}

/* ── Pin button to bottom — fix promo height ── */
.nav__dd-promo-top {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nav__dd-promo {
  min-height: 100%;
  justify-content: space-between;
}

.nav__dd-promo-btn {
  flex-shrink: 0;
  margin-top: 0;
}

.nav__dropdown-inner {
  align-items: stretch;
}

/* ── Bigger gap inside service items ── */
.nav__dd-item-top {
  gap: 5px;
}

.nav__dd-item {
  padding: 14px 10px;
}

.nav__dd-grid {
  gap: 4px 0;
}

.nav__dd-item { gap: 6px; }

/* ── Tighter item gaps, fill promo height ── */
.nav__dd-item { padding: 6px 8px; }
.nav__dd-item--nopb { padding-bottom: 0; }

.nav__dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-content: stretch;
}

.nav__dd-services {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__dropdown-inner { align-items: stretch; }

/* ── Remove blank space, match heights ── */
.nav__dd-promo {
  padding: 16px !important;
  padding-bottom: 16px !important;
  height: auto;
  flex-shrink: 0;
}

.nav__dd-services {
  padding: 12px 12px 12px 12px !important;
}

.nav__dropdown-inner {
  align-items: stretch;
}

/* ── Move dropdown 20px lower ── */
.nav__dropdown { top: calc(100% + 48px); }

/* ── Black box 40px wider ── */
.nav__dd-promo { width: 300px; }
.nav__dropdown { width: 900px; }

/* ── Badge fit-content ── */
.nav__dd-promo-badge {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
}

/* ── Title +10% ── */
.nav__dd-promo-title { font-size: calc(22px * 1.1 * 1.1); }
.nav__dd-promo-title em { font-size: calc(24px * 1.1 * 1.1); }

/* ── Last row solid bg items ── */
.nav__dd-item--solid-left {
  background: #eeeeee;
  border-radius: 8px;
}

.nav__dd-item--solid-right {
  background: #dddddd;
  border-radius: 8px;
}

.nav__dd-item--solid-left:hover { background: #e4e4e4; }
.nav__dd-item--solid-right:hover { background: #d0d0d0; }

.nav__dd-item--solid-left .nav__dd-item-title,
.nav__dd-item--solid-right .nav__dd-item-title {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: #333333;
}

/* ── 4th item solid full-width image block ── */
.nav__dd-item--solid-left,
.nav__dd-item--solid-right {
  background: none;
  border-radius: 0;
}

.nav__dd-item--solid-left:hover,
.nav__dd-item--solid-right:hover { background: none; }

.nav__dd-item-icon--full {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  background: #e0e0e0;
  flex-shrink: 0;
}

.nav__dd-item-icon--darker {
  background: #cccccc;
}

/* Keep full-width icon in same grid but span vertically */
.nav__dd-item--solid-left,
.nav__dd-item--solid-right {
  grid-template-columns: 1fr;
  align-items: start;
}

/* ── CTA label inside solid box ── */
.nav__dd-item-icon--full {
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  box-sizing: border-box;
}

.nav__dd-cta-label {
  font-family: var(--font-mont);
  font-size: calc(13px * 1.15);
  font-weight: var(--fw-semibold);
  color: #111111;
  letter-spacing: var(--ls-default);
  line-height: 1.3;
  text-align: left;
}

.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  grid-template-columns: 1fr;
  padding: 6px 8px;
}

/* ── CTA box — text top-left, no gap below ── */
.nav__dd-item-icon--full {
  align-items: flex-start;
  padding: 10px 12px;
}

.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  padding: 6px 8px 0 8px;
  margin-bottom: 0;
}

.nav__dd-grid {
  padding-bottom: 0;
}

/* Remove any gap after last row */
.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  align-self: stretch;
}

.nav__dd-item-icon--full {
  height: 100%;
  min-height: 80px;
}

/* ── Kompanija dropdown — compact, no promo panel ── */
.nav__dropdown--compact {
  width: 280px;
  left: auto;
  right: 0;
  transform: none;
}

.nav__dd-services--full {
  width: 100%;
  padding: 12px;
}

.nav__dd-grid--1col {
  grid-template-columns: 1fr;
  gap: 0;
}

.nav__dd-item-icon--sm {
  width: 44px;
  height: 44px;
}

/* ── Kompanija items — tight gap, vertically centered ── */
.nav__dd-grid--1col .nav__dd-item {
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: center;
}

.nav__dropdown--compact { width: 220px; }
.nav__dd-grid--1col .nav__dd-item-title { font-size: calc(13px * 1.1); }

/* ── Fix CTA items — no left gap, vertically centered text ── */
.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  grid-template-columns: 1fr;
  padding: 6px 8px 0 8px;
}

.nav__dd-item--cta-left .nav__dd-item-icon--full,
.nav__dd-item--cta-right .nav__dd-item-icon--full {
  align-items: center;
  justify-content: flex-start;
  padding-left: 12px;
}
