/* Swissness Hair + Beauty legal page styles */
* {
  box-sizing: border-box;
}

:root {
  --bg: #fbfaf9;
  --ink: #17171e;
  --muted: #6f6b72;
  --red: #c4003d;
  --red-dark: #980034;
  --red-soft: #fff1f5;
  --line: #ebe4e0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: pageFade 520ms ease-out both;
  }

  .reveal-ready [data-reveal] {
    filter: blur(8px);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.72, 0.18, 1),
      filter 760ms ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal-ready [data-reveal].is-visible {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }

  .brand img,
  .btn,
  .side,
  .content section {
    transition: box-shadow 220ms ease, filter 260ms ease, transform 260ms ease;
  }

  .brand:hover img {
    transform: scale(1.035);
  }

  .btn:hover {
    box-shadow: 0 12px 28px rgba(196, 0, 61, 0.16);
    transform: translateY(-2px);
  }

  .side:hover {
    box-shadow: 0 18px 42px rgba(23, 23, 30, 0.08);
    transform: translateY(-4px);
  }
}

.wrap {
  padding-left: max(24px, calc((100vw - 1320px) / 2));
  padding-right: max(24px, calc((100vw - 1320px) / 2));
}

.top {
  align-items: center;
  background: #f6f2f1;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 14px;
  gap: 16px;
  min-height: 52px;
}

.dot {
  background: var(--red);
  border-radius: 50%;
  height: 5px;
  width: 5px;
}

.header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 110px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  align-items: center;
  background: #15171e;
  border-radius: 6px;
  display: flex;
  height: 70px;
  justify-content: center;
  padding: 10px 18px;
  width: 202px;
}

.brand img {
  max-height: 52px;
  object-fit: contain;
}

.nav,
.actions,
.footer-nav,
.footer-links,
.footer-contact {
  align-items: center;
  display: flex;
  gap: 24px;
}

.nav {
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
}

.nav a:first-child {
  color: var(--red);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  align-items: center;
  background: white;
  border: 1px solid var(--red);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 54px;
  justify-content: center;
  list-style: none;
  width: 54px;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  background: var(--red);
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 24px;
}

.mobile-menu[open] summary span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu[open] summary span:nth-child(2) {
  opacity: 0;
}

.mobile-menu[open] summary span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(23, 23, 30, 0.14);
  display: grid;
  gap: 18px;
  padding: 20px;
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: min(342px, calc(100vw - 48px));
  z-index: 40;
}

.mobile-menu:not([open]) .mobile-menu-panel {
  display: none;
}

.mobile-menu-panel nav {
  display: grid;
}

.mobile-menu-panel nav a {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  padding: 12px 0;
}

.mobile-menu-panel nav a:first-child {
  color: var(--red);
}

.mobile-menu-actions {
  display: grid;
  gap: 12px;
}

.btn {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 740;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: white;
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-outline {
  border: 1px solid var(--red);
  color: var(--red);
}

.hero {
  background: linear-gradient(135deg, #fff 0%, #fff 64%, var(--red-soft) 100%);
  border-bottom: 1px solid var(--line);
  padding-bottom: 72px;
  padding-top: 78px;
}

.label {
  color: var(--red);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  max-width: 900px;
}

.hero p:not(.label) {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 760px;
}

.legal-grid {
  background: white;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  padding-bottom: 80px;
  padding-top: 72px;
}

.side {
  align-self: start;
  background: linear-gradient(135deg, #fff, var(--red-soft));
  border: 1px solid #f0d9df;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 34px;
}

.side h2 {
  font-size: 28px;
  line-height: 1.12;
  margin: 0;
}

.side p,
.content p,
.content address {
  color: var(--muted);
  line-height: 1.72;
}

.side p,
.content p {
  margin: 0 0 16px;
}

.small {
  font-size: 14px;
}

.content {
  max-width: 880px;
}

.content section {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.content section:first-child {
  border-top: 0;
  padding-top: 0;
}

.content h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.content address {
  font-style: normal;
  margin: 0 0 16px;
}

.content a {
  color: var(--red);
  font-weight: 650;
}

.note {
  background: var(--bg);
  border-left: 3px solid var(--red);
  color: #3d393f;
  font-weight: 650;
  margin-top: 22px;
  padding: 16px 18px;
}

.footer {
  background: #15171e;
  color: white;
  display: grid;
  gap: 46px;
  grid-template-columns: 1.05fr 1fr 0.72fr 0.9fr;
  padding-bottom: 42px;
  padding-top: 42px;
}

.footer > * + * {
  border-left: 1px solid rgba(196, 0, 61, 0.7);
  padding-left: 46px;
}

.footer img {
  margin-bottom: 20px;
  width: 190px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact,
.footer-nav,
.footer-links {
  align-content: start;
  align-items: start;
  display: grid;
  gap: 16px;
}

@media (max-width: 1180px) {
  .header,
  .legal-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
  }

  .actions {
    justify-content: flex-start;
  }

  .footer > * + * {
    border-left: 0;
    border-top: 1px solid rgba(196, 0, 61, 0.7);
    padding-left: 0;
    padding-top: 28px;
  }
}

@media (max-width: 640px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    padding-top: 12px;
  }

  .dot {
    display: none;
  }

  .header {
    gap: 22px;
    grid-template-columns: auto auto;
    padding-bottom: 24px;
    padding-top: 24px;
  }

  .header > .nav,
  .header > .actions {
    display: none;
  }

  .brand {
    width: 184px;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
    position: relative;
  }

  .nav {
    gap: 18px;
    padding-bottom: 4px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero {
    padding-bottom: 52px;
    padding-top: 50px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
    overflow-wrap: anywhere;
  }

  .legal-grid {
    padding-bottom: 54px;
    padding-top: 48px;
  }

  .side {
    padding: 26px;
  }
}

/* Dark Swissness theme override */
:root {
  --bg: #272a30;
  --ink: #f7f3f0;
  --muted: #d3ccc8;
  --red: #d10046;
  --red-dark: #a80038;
  --red-soft: rgba(209, 0, 70, 0.16);
  --line: rgba(255, 255, 255, 0.14);
}

body {
  background:
    radial-gradient(circle at 18% 0, rgba(209, 0, 70, 0.16), transparent 32%),
    linear-gradient(180deg, #2d3036 0%, #24272d 100%);
  color: var(--ink);
}

.top,
.header,
.mobile-menu-panel,
.legal-grid {
  background: rgba(39, 42, 48, 0.96);
}

.top,
.header,
.legal-grid,
.legal-hero,
.content section {
  border-color: rgba(255, 255, 255, 0.14);
}

.header {
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.brand,
.footer {
  background: radial-gradient(circle at 20% 0, #3a3f47, #24272d 54%, #1d2026);
}

.nav a,
.mobile-menu-panel nav a,
h1,
.side h2,
.content h2 {
  color: var(--ink);
}

.top,
.hero p,
.side p,
.content p,
.content address,
.footer p,
.footer a {
  color: var(--muted);
}

.btn-outline {
  background: transparent;
  color: #ff4d82;
}

.mobile-menu summary {
  background: rgba(255, 255, 255, 0.05);
}

.hero,
.legal-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(209, 0, 70, 0.18), transparent 34%),
    linear-gradient(135deg, #2f3239 0%, #272a30 100%);
}

.side,
.note {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(209, 0, 70, 0.13)),
    #2d3037;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink);
}

.footer > * + * {
  border-color: rgba(209, 0, 70, 0.7);
}
