.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  width: 100%;
  z-index: 1002;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 160px;
  /* filter: saturate(120); */
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav a:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition);
}

.nav a:hover:after,
.nav a.active:after {
  width: 100%;
}

.nav a.active {
  color: var(--primary);
  font-weight: 400;
}

.header-actions {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 30px;
  height: 30px;
  justify-content: center;
  z-index: 1002;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
}

.menu-toggle span:first-child {
  top: 10px;
}

.menu-toggle span:last-child {
  bottom: 10px;
}

.menu-toggle.active span:first-child {
  transform: rotate(45deg);
  top: 50%;
  margin-top: -1.25px;
}

.menu-toggle.active span:last-child {
  transform: rotate(-45deg);
  bottom: 50%;
  margin-bottom: -1.25px;
}

body.menu-open {
  overflow: hidden;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

footer {
  background: var(--dark);
  color: white;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-column p {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 500px;
  max-width: 95%;
}

/* narrower version when placed in footer columns */
.footer-column.newsletter-column .newsletter-form {
  width: 100%;
  max-width: 300px;
  margin-top: 1rem;
}

/* smaller inputs/buttons inside footer */
.footer-column.newsletter-column .newsletter-form input,
.footer-column.newsletter-column .newsletter-form button {
  padding: 12px 16px;
  font-size: 0.9rem;
}

.footer-column.newsletter-column .newsletter-form input {
  color: white;
}

.newsletter-form input {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-family: "Inter", sans-serif;
}

.newsletter-form button {
  padding: 20px 24px;
  font-size: 0.9rem;
  border-radius: 6px;
}

.newsletter-form button:hover {
  background: white;
  color: var(--dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 1001;
  transform: translateY(30%);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 2rem;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
  position: absolute;
  right: 2rem;
  bottom: 50%;
  transform: translateY(50%);
  height: 100%;
  padding-bottom: 20px;
}

.mobile-nav a:not(.btn):first-child {
  margin-top: auto;
}

.mobile-nav a:not(.btn) {
  font-size: 2.2rem;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: right;
}

.mobile-nav a:not(.btn):hover {
  color: var(--primary);
}

.mobile-nav .btn {
  margin-top: auto;
  padding: 1rem 2rem;
  font-size: 1rem;
  color: white;
  width: 100%;
}

.mobile-nav .btn:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }
}
