.topbar-inner {
  justify-content: space-between;
}

.topbar-address,
.topbar-phones,
.topbar-phone,
.header-social,
.nav-social {
  display: flex;
  align-items: center;
}

.topbar-address {
  min-width: 0;
  gap: 12px;
}

@media (min-width: 768px) {
  .topbar-address p {
    overflow: hidden;
    font-size: 12.96px;
    line-height: 17.28px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar-address-icon {
    flex: none;
    width: 17px;
    height: 17px;
    color: var(--gold-soft);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

.topbar-phones {
  flex: none;
  gap: 18px;
}

.topbar-phone {
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  transition: color 0.2s;
}

.topbar-phone:hover,
.topbar-phone:focus-visible {
  color: var(--gold-soft);
}

.topbar-phone strong {
  color: #fff;
  font-weight: 700;
}

.topbar-icon {
  width: 14px;
  height: 14px;
  color: var(--gold-soft);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  grid-template-columns: 260px 1fr minmax(276px, auto);
}

.header-social {
  justify-content: center;
  justify-self: end;
  width: max-content;
  gap: 7px;
  min-height: 44px;
  padding: 11px;
  border: 1px solid var(--primary-container);
  border-radius: 4px;
  background: var(--primary-container);
  color: #fff;
  font-size: 15.68px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.header-social:hover,
.header-social:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--primary);
  transform: translateY(-2px);
}

.instagram-icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-social {
  display: none;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.footer-credit {
  justify-self: center;
}

.footer-bottom > a:last-child {
  justify-self: end;
}

@media (max-width: 1199px) {
  .site-header {
    grid-template-columns: 220px 1fr minmax(250px, auto);
  }

  .header-social {
    font-size: 14.56px;
  }

  .topbar-phones {
    gap: 13px;
  }
}

@media (max-width: 900px) {
  .topbar-address {
    display: none;
  }

  .topbar-inner,
  .topbar-phones {
    justify-content: center;
  }

  .topbar-phones {
    width: 100%;
    gap: 28px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-social {
    display: none;
  }

  .nav-social {
    display: flex;
    gap: 9px;
    color: var(--primary-container);
  }
}

@media (max-width: 767px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-block: 18px;
  }

  .footer-credit {
    width: 100%;
    text-align: center;
  }

  .footer-bottom > a:last-child {
    justify-self: center;
  }

  .hero-content,
  .page-hero-content {
    padding-top: 142px;
  }
}

/* Shared compact header without the former decorative top line. */
.topbar {
  display: none;
  height: 0;
  border: 0;
  background: transparent;
}

.topbar-inner,
.header-social,
.nav-social {
  display: none;
}

.site-header {
  top: 0;
  grid-template-columns: 1fr auto;
}

.menu-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--primary-container);
  border-radius: 4px;
  background: transparent;
  place-content: center;
  gap: 6px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--primary-container);
}

.nav {
  position: absolute;
  top: 80px;
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 12px max(64px, calc((100% - 1280px) / 2)) 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 18px 40px rgba(26, 34, 43, 0.08);
}

.nav.is-open {
  display: flex;
}

.nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav a::after {
  display: none;
}

.contact-instagram {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 10px;
}

.contact-instagram .instagram-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

@media (min-width: 768px) {
  .hero-content,
  .page-hero-content {
    padding-top: 130px;
  }
}

@media (max-width: 1199px) {
  .nav {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (max-width: 900px) {
  .nav {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 767px) {
  .nav {
    top: 72px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (min-width: 768px) {
  .nav {
    right: 28px;
    left: auto;
    width: 280px;
    padding: 12px 20px 20px;
  }

  .nav a {
    text-align: right;
  }
}

@media (min-width: 901px) {
  .nav {
    right: 40px;
  }
}

@media (min-width: 1200px) {
  .nav {
    right: max(64px, calc((100% - 1280px) / 2));
  }
}

.footer {
  border-top: 1px solid #b88313;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -5px 18px rgba(7, 22, 37, 0.07);
  color: var(--primary);
}

.footer-top > p {
  color: var(--on-surface-variant);
}

.footer-bottom {
  border-top-color: var(--border);
  color: var(--outline);
}

/* Larger matched logos and restored full-width dropdown. */
.brand,
.footer-brand {
  width: 283px;
}

.site-header {
  height: 104px;
}

.nav {
  top: 104px;
  right: 0;
  left: 0;
  width: auto;
  padding: 12px max(64px, calc((100% - 1280px) / 2)) 20px;
}

.nav a {
  border-bottom-color: #b88313;
  text-align: right;
}

.nav.is-open a:hover,
.nav.is-open a:focus-visible {
  color: #b88313;
}

.hero-content,
.page-hero-content {
  padding-top: 154px;
}

@media (max-width: 1199px) {
  .brand,
  .footer-brand {
    width: 247px;
  }

  .site-header {
    height: 96px;
  }

  .nav {
    top: 96px;
    padding-right: 40px;
    padding-left: 40px;
  }

  .hero-content,
  .page-hero-content {
    padding-top: 146px;
  }
}

@media (max-width: 900px) {
  .nav {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 767px) {
  .brand,
  .footer-brand {
    width: min(224px, calc(100vw - 96px));
  }

  .site-header {
    height: 88px;
  }

  .nav {
    top: 88px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-content,
  .page-hero-content {
    padding-top: 158px;
  }
}

@media (min-width: 768px) {
  .brand {
    padding-top: 3px;
    padding-bottom: 3px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .site-header {
    height: 97px;
  }

  .nav {
    top: 72px;
  }

  .hero-content,
  .page-hero-content {
    padding-top: 147px;
  }
}

@media (min-width: 1200px) {
  .site-header {
    height: 110px;
  }

  .nav {
    top: 85px;
  }

  .hero-content,
  .page-hero-content {
    padding-top: 160px;
  }
}

@media (max-width: 767px) {
  .nav a {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .nav {
    right: 28px;
    left: auto;
    width: 280px;
    padding: 16px 0 26px;
    border-radius: 20px 0 20px 0;
    display: flex;
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transform-origin: top right;
    transition: opacity 0.55s ease,
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.55s;
  }

  .nav a {
    padding-right: 10%;
    padding-left: 10%;
    border-bottom: 0;
    text-align: left;
  }

  .nav a::before {
    position: absolute;
    right: 10%;
    bottom: 0;
    left: 10%;
    display: block;
    height: 1px;
    background: #b88313;
    content: "";
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
}

@media (min-width: 901px) {
  .nav {
    right: 40px;
  }
}

@media (min-width: 1200px) {
  .nav {
    right: max(64px, calc((100% - 1280px) / 2));
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .nav,
  .nav.is-open {
    transform: none;
    transition: none;
  }
}

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

  .nav,
  .nav.is-open {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    visibility: visible;
    overflow: visible;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 32px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav a {
    padding: 10px 0;
    border: 0;
    text-align: left;
  }

  .nav a::before {
    position: absolute;
    top: 50%;
    right: auto;
    bottom: auto;
    left: -14px;
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b88313;
    content: "";
    transform: translateY(-50%);
  }

  .nav a:hover,
  .nav a:focus-visible {
    color: #b88313;
  }
}
