/* M.A.M Creative Agency — shared site shell styles
   Header + footer used across all public pages. */

:root {
  --shell-ink: #05070f;
  --shell-panel: #0b1120;
  --shell-line: rgba(148, 163, 184, 0.18);
  --shell-text: #e6edf7;
  --shell-muted: #93a3bd;
  --shell-accent: #7dd3fc;
  --shell-accent-warm: #f6c453;
}

/* ---------- Header ---------- */
.shell-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.shell-header.is-scrolled {
  background: rgba(5, 7, 15, 0.94);
  border-bottom-color: var(--shell-line);
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.45);
}

.shell-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.shell-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--shell-line);
}

.shell-word {
  font-family: "Playfair Display", serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.shell-word-accent {
  color: var(--shell-accent);
}

.shell-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.shell-nav-link {
  color: var(--shell-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.shell-nav-link:hover {
  color: #fff;
  background: rgba(148, 163, 184, 0.1);
}

.shell-nav-link.is-active {
  color: var(--shell-accent);
}

.shell-cta {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8fafc, #dbeafe);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shell-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(125, 211, 252, 0.2);
}

.shell-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--shell-muted);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.shell-icon-link:hover {
  color: #fff;
  background: rgba(148, 163, 184, 0.12);
}

.shell-icon-link svg {
  width: 21px;
  height: 21px;
}

.shell-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--shell-accent-warm);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.shell-ghost-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--shell-muted);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.shell-ghost-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.shell-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.shell-menu-btn svg {
  width: 24px;
  height: 24px;
}

.shell-mobile {
  border-top: 1px solid var(--shell-line);
  background: rgba(5, 7, 15, 0.98);
}

.shell-mobile nav {
  display: flex;
  flex-direction: column;
  padding: 12px 22px 18px;
  gap: 2px;
}

.shell-mob-link {
  color: var(--shell-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 10px;
  border-radius: 12px;
}

.shell-mob-link:hover,
.shell-mob-link.is-active {
  color: #fff;
  background: rgba(148, 163, 184, 0.1);
}

.shell-mob-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8fafc, #dbeafe);
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Footer ---------- */
.shell-footer {
  background: #05070f;
  color: var(--shell-text);
  border-top: 1px solid var(--shell-line);
  padding: 64px 22px 0;
  margin-top: 0;
}

.shell-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.shell-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.shell-footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--shell-line);
}

.shell-footer-brand p {
  margin: 16px 0 18px;
  color: var(--shell-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 320px;
}

.shell-socials {
  display: flex;
  gap: 10px;
}

.shell-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--shell-line);
  color: var(--shell-muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shell-social:hover {
  color: var(--shell-accent);
  border-color: rgba(125, 211, 252, 0.4);
  transform: translateY(-2px);
}

.shell-social-icon {
  width: 18px;
  height: 18px;
}

.shell-footer-col h4 {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.shell-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shell-footer-col li a {
  color: var(--shell-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.shell-footer-col li a:hover {
  color: var(--shell-accent);
}

.shell-footer-bottom {
  border-top: 1px solid var(--shell-line);
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--shell-muted);
  font-size: 0.85rem;
  text-align: center;
}

.shell-footer-fine a {
  color: var(--shell-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .shell-nav-link {
    display: none;
  }

  .shell-menu-btn {
    display: inline-flex;
  }

  .shell-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .shell-header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .shell-word {
    font-size: 1.05rem;
  }

  .shell-logo {
    width: 38px;
    height: 38px;
  }

  .shell-cta {
    display: none;
  }

  .shell-footer {
    padding: 44px 16px 0;
  }

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

  .shell-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.shell-home-fab {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(8, 47, 73, 0.92);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.shell-home-fab:hover {
  transform: translateY(-2px);
  background: rgba(14, 64, 96, 0.95);
}
.shell-home-fab .arrow {
  font-size: 1.1rem;
  line-height: 1;
}