/* Shared navigation shell */
.oxnav-shell-body {
  margin: 0;
  min-height: 100vh;
}

.oxnav-header {
  background-color: #ffffff;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 99999;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: 'Nunito Sans', Tahoma, Geneva, Verdana, sans-serif;
}

.oxnav-header,
.oxnav-header * {
  box-sizing: border-box;
  color: #000;
}

.oxnav-header a,
.oxnav-header button {
  color: #000;
}

.oxnav-header a {
  text-decoration: none;
}

.oxnav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.oxnav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.oxnav-brand,
.oxnav-mob-brand {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  white-space: nowrap;
  color: #f52c44;
}

.oxnav-brand .brand-word,
.oxnav-mob-brand .brand-word,
.footer-brand .brand-word {
  display: inline-block;
  padding: 2px 5px;
  border: 2px solid #f52c44;
  background-color: #f52c44;
  color: #ffffff;
  border-radius: 15px;
  margin-left: 2px;
}

.oxnav-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
  padding: 0 20px;
}

.oxnav-item {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.3s;
  white-space: nowrap;
  cursor: pointer;
}

.oxnav-item:hover,
.oxnav-item.is-active,
.oxnav-sub a.is-active,
.oxnav-mob-nav a.is-active {
  color: #f52c44;
  font-weight: 700;
}

.oxnav-wrap {
  position: relative;
  display: inline-block;
}

.oxnav-wrap.has-sub .oxnav-item {
  padding: 8px 14px;
  border-radius: 20px;
  transition: background-color 0.25s, color 0.25s;
}

.oxnav-wrap.has-sub:hover .oxnav-item,
.oxnav-wrap.has-sub:focus-within .oxnav-item {
  background-color: #f52c44;
  color: #fff;
}

.oxnav-item.oxnav-spacer {
  margin-left: 40px;
}

.oxnav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -10px);
  background: #fff;
  min-width: 240px;
  border-radius: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 1000;
  padding: 12px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.oxnav-wrap.has-sub:hover .oxnav-sub,
.oxnav-wrap.has-sub:focus-within .oxnav-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.oxnav-sub a {
  display: block;
  padding: 12px 24px;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.oxnav-sub a:hover {
  background: rgba(0, 0, 0, 0.07);
}

.oxnav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.oxnav-account {
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 20px;
  border: 1px solid rgba(245, 44, 68, 0.18);
  border-radius: 25px;
  white-space: nowrap;
  background: rgba(245, 44, 68, 0.08);
  color: #f52c44;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}

.oxnav-account:hover {
  background: #f52c44;
  color: #fff;
  border-color: #f52c44;
  transform: translateY(-1px);
}

.oxnav-phone {
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid #000;
  border-radius: 25px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

.oxnav-phone:hover,
.oxnav-mob-phone a:hover,
.oxnav-mob-account:hover {
  background: #000;
  color: #fff;
}

.oxnav-burger,
.oxnav-mob-close,
.oxnav-mob-item.has-sub {
  appearance: none;
  border: 0;
  background: transparent;
}

.oxnav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 100001;
}

.oxnav-burger span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s;
}

.oxnav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.oxnav-burger.active span:nth-child(2) {
  opacity: 0;
}

.oxnav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.oxnav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 100000;
  padding: 20px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.oxnav-mobile.active {
  transform: translateX(0);
}

.oxnav-header.oxnav-menu-open .oxnav-burger {
  display: none !important;
}

.oxnav-mob-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.oxnav-mob-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
}

.oxnav-mob-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: #000;
}

.oxnav-mob-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.oxnav-mob-nav {
  display: flex;
  flex-direction: column;
}

.oxnav-mob-item {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.oxnav-mob-item.has-sub::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.oxnav-mob-item.has-sub.active::after {
  transform: rotate(180deg);
}

.oxnav-mob-item.oxnav-spacer {
  margin-top: 20px;
}

.oxnav-mob-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  background: rgba(0, 0, 0, 0.05);
}

.oxnav-mob-sub.active {
  max-height: 500px;
}

.oxnav-mob-sub a {
  display: block;
  font-size: 1rem;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.oxnav-mob-phone {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.oxnav-mob-phone a,
.oxnav-mob-account {
  display: block;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 28px;
  border: 1px solid #000;
  border-radius: 25px;
}

.oxnav-mob-account {
  margin-bottom: 12px;
  border-color: rgba(245, 44, 68, 0.18);
  background: rgba(245, 44, 68, 0.08);
  color: #f52c44;
}

.footer {
  background: #fff;
  width: 100%;
  position: relative;
  padding: 40px 0 24px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  font-family: 'Nunito Sans', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 32px;
}

.footer-brand-section,
.footer-nav-col,
.footer-nav-links,
.footer-contacts {
  display: flex;
  flex-direction: column;
}

.footer-brand-section {
  gap: 24px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
}

.footer-brand-wrap:hover,
.footer-contact-item:hover {
  transform: translateX(4px);
}

.footer-brand {
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000;
  line-height: 1.2;
}

.footer-tagline {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.6;
  max-width: 320px;
}

.footer-contacts {
  gap: 16px;
  margin-top: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #475569;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  opacity: 1;
}

.footer-nav-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 48px;
}

.footer-nav-col {
  gap: 20px;
}

.footer-nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
  margin-bottom: 4px;
  position: relative;
  padding-bottom: 12px;
}

.footer-nav-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #f52c44 0%, #dc143c 100%);
  border-radius: 2px;
}

.footer-nav-links {
  gap: 12px;
}

.footer-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding-left: 0;
  width: fit-content;
}

.footer-nav-link::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 4px;
  height: 4px;
  background: #64748b;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav-link:hover {
  color: #1e293b;
  padding-left: 16px;
}

.footer-nav-link:hover::before {
  transform: translateY(-50%) scaleX(1);
}

.footer-bottom {
  padding-top: 24px;
  padding-bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-copyright,
.footer-legal-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-link {
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-legal-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #475569;
  transition: width 0.3s ease;
}

.footer-legal-link:hover {
  color: #1e293b;
}

.footer-legal-link:hover::after {
  width: 100%;
}

@media (max-width: 1200px) {
  .footer-main {
    gap: 60px;
  }

  .footer-nav-section {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .oxnav-nav {
    gap: 20px;
  }

  .oxnav-item {
    font-size: 0.95rem;
  }

  .oxnav-phone {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .footer {
    padding: 60px 0 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 24px;
  }

  .footer-nav-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .oxnav-nav,
  .oxnav-phone {
    display: none !important;
  }

  .oxnav-burger {
    display: flex;
  }

  .oxnav-mobile {
    display: block;
  }

  .oxnav-container {
    padding: 0 16px;
  }

  .oxnav-brand {
    font-size: 1.25rem;
  }

  .footer {
    padding: 28px 0 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-main {
    gap: 40px;
  }

  .footer-brand {
    font-size: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 20px;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .oxnav-container {
    height: 58px;
  }

  .oxnav-brand {
    font-size: 1.1rem;
  }

  .oxnav-mob-head {
    margin-bottom: 24px;
    padding-bottom: 14px;
  }

  .oxnav-mob-item {
    font-size: 1rem;
    padding: 14px 0;
  }

  .oxnav-mob-sub a {
    font-size: 0.9rem;
    padding: 10px 0 10px 20px;
  }

  .oxnav-mob-phone {
    margin-top: 24px;
    padding-top: 14px;
  }

  .oxnav-mob-phone a,
  .oxnav-mob-account {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .oxnav-mobile,
  .footer-container {
    padding: 16px;
  }

  .footer {
    padding: 40px 0 16px;
  }

  .footer-nav-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    font-size: 1.375rem;
  }
}

@media (max-width: 360px) {
  .oxnav-container {
    height: 52px;
  }

  .oxnav-brand,
  .oxnav-mob-brand {
    font-size: 0.95rem;
  }

  .oxnav-header {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .oxnav-mob-item {
    font-size: 0.95rem;
    padding: 12px 0;
  }

  .oxnav-mob-sub a {
    font-size: 0.85rem;
    padding: 8px 0 8px 16px;
  }

  .oxnav-mobile {
    padding: 12px;
  }
}
