/* =========================================================
   JMS ELEKTROMATERIÁL — NAVBAR + FOOTER
   ========================================================= */

.navbar {
  width: 100%;
  min-height: 86px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  width: auto;
  height: 70px;
  max-width: none;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 42px;
}

.nav-links a {
  position: relative;
  color: var(--black);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  display: block;
  background: var(--black);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.menu-toggle:hover span { background: var(--orange); }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .navbar {
    min-height: 76px;
    padding: 12px 18px;
    flex-wrap: wrap;
  }
  .logo img { height: 54px; }
  .menu-toggle { display: flex; }
  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 0 2px;
    border-top: 1px solid var(--border);
  }
  .nav-links.active,
  .nav-links.is-open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 17px;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover,
  .nav-links a.active { color: var(--orange); }
}

@media (max-width: 520px) {
  .navbar { min-height: 68px; padding: 10px 16px; }
  .logo img { height: 48px; }
  .menu-toggle { width: 40px; height: 40px; }
}

.site-footer {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 61, 0, 0.08), transparent 28%),
    #070707;
  color: #ffffff;
  border-top: 3px solid var(--orange);
  overflow: hidden;
}

.footer-container {
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: 34px 36px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 58px;
  padding-bottom: 28px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 900;
  margin-bottom: 14px;
}

.footer-logo svg {
  width: 30px;
  height: 30px;
  color: var(--orange);
  flex-shrink: 0;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 61, 0, 0.55);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.footer-socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 19px;
  height: 19px;
}

.footer-column h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 18px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--orange);
}

.footer-contact-list {
  display: grid;
  gap: 13px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.45;
}

.footer-contact-item svg {
  width: 19px;
  height: 19px;
  color: var(--orange);
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 61, 0, 0.35);
}

.footer-bottom p,
.footer-credit {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.4;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-credit span {
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .footer-container {
    padding: 34px 18px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-logo {
    font-size: 28px;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   FOOTER — JEDNOTNÉ ZAROVNANIE STĹPCOV
   Všetky bloky začínajú na rovnakej hornej línii a obsah
   je zarovnaný doľava bez rozdielnych vnútorných odsadení.
   ========================================================= */

.footer-grid {
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(190px, 1fr));
  align-items: start;
  column-gap: clamp(38px, 5vw, 82px);
  row-gap: 38px;
}

.footer-grid > * {
  min-width: 0;
  align-self: start;
  justify-self: stretch;
  text-align: left;
}

.footer-brand,
.footer-column {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.footer-brand {
  max-width: 330px;
}

.footer-logo {
  justify-content: flex-start;
  margin: 0 0 18px;
}

.footer-brand p {
  max-width: 320px;
  margin: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h3 {
  width: 100%;
  margin: 0 0 20px;
  text-align: left;
}

.footer-column ul,
.footer-contact-list {
  width: 100%;
  margin: 0;
  padding: 0;
}

.footer-column ul {
  display: grid;
  gap: 13px;
}

.footer-column li {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

.footer-column a,
.footer-contact-item,
.footer-contact-item a,
.footer-contact-item span {
  text-align: left;
}

.footer-contact-list {
  gap: 15px;
}

.footer-contact-item {
  width: 100%;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 13px;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }

  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
