/* ==========================================================================
   THE MEN'S CORNER — Barbier Hamburg
   ========================================================================== */

/* Fonts (self-hosted — DSGVO) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}

/* Design tokens */
:root {
  --color-bg: #0A0A0A;
  --color-bg-elevated: #141414;
  --color-bg-card: #1A1A1A;
  --color-border: #2A2620;
  --color-gold: #C9A961;
  --color-text: #F5F1EA;
  --color-text-muted: #8B8680;
  --color-text-dim: #5E5A54;

  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-w: 90rem;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --section-py: clamp(4rem, 9vw, 8rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Base */
html, body { background: var(--color-bg); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--color-gold); color: #000; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* Layout */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
section { padding: var(--section-py) 0; position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-top: 0.75rem; }

.gold-line {
  width: 3rem; height: 1px; background: var(--color-gold);
  margin: 1.5rem 0;
}

/* Buttons (matched to progress-nav contact button) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--color-gold);
  color: #000;
  border-color: var(--color-gold);
}
.btn--primary:hover { background: #D4B670; border-color: #D4B670; transform: translateY(-2px); }
.btn--ghost {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}
.btn--ghost:hover { background: rgba(201, 169, 97, 0.1); transform: translateY(-2px); }

/* ==========================================================================
   PROGRESS NAV — Osmo (branded)
   ========================================================================== */
.progress-nav {
  width: 100%;
  padding: 1.25em 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
}
.progress-nav__inner {
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  pointer-events: auto;
}
.progress-nav__logo { color: var(--color-text); display: flex; align-items: center; }
.progress-nav__logo img {
  width: 7rem;
  height: 7rem;
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
}
.progress-nav.is--shrunk .progress-nav__logo img {
  width: 3.5rem;
  height: 3.5rem;
}

.progress-nav__wrapper {
  background-color: rgba(26, 22, 16, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 50em;
  padding: .4em;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.progress-nav__list {
  border-radius: 50em;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}
.progress-nav__indicator {
  z-index: 2;
  background-color: var(--color-gold);
  border-radius: 50em;
  width: 2.5em;
  height: 2.5em;
  position: absolute;
  left: -2.5em;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.progress-nav__btn {
  z-index: 3;
  cursor: pointer;
  color: var(--color-text);
  justify-content: center;
  align-items: center;
  height: 2.5em;
  padding: 0 1em;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
}
.progress-nav__btn.is--active { color: #000; }
.progress-nav__btn.is--before {
  z-index: 1;
  width: 2.5em; height: 2.5em;
  padding: 0;
  position: absolute;
  right: 100%;
}
.progress-nav__btn.is--after {
  z-index: 1;
  width: 2.5em; height: 2.5em;
  padding: 0;
  position: absolute;
  left: 100%;
}
.progress-nav__btn-text {
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-family: var(--font-body);
  font-size: 0.875em;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(0%) rotate(0.001deg);
}
.progress-nav__btn-text.is--duplicate {
  position: absolute;
  top: 100%;
}
.progress-nav__btn:hover .progress-nav__btn-text,
.progress-nav__contact-btn:hover .progress-nav__btn-text {
  transform: translateY(-100%) rotate(0.001deg);
}
.progress-nav__contact-btn {
  color: #000;
  background-color: var(--color-gold);
  border-radius: 50em;
  height: 3em;
  padding: 0 1.5em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.875em;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}
.progress-nav__contact-btn:hover { background: #D4B670; }

/* Mobile burger nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1rem var(--pad-x);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  z-index: 100;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav__logo { display: flex; align-items: center; }
.mobile-nav__logo img { width: 2.75rem; height: 2.75rem; }
.mobile-nav__burger {
  width: 2.5rem; height: 2.5rem;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  transition: border-color 0.3s;
}
.mobile-nav__burger span {
  width: 1rem; height: 1.5px;
  background: var(--color-gold);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.mobile-nav.is--open .mobile-nav__burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-nav.is--open .mobile-nav__burger span:nth-child(2) { opacity: 0; }
.mobile-nav.is--open .mobile-nav__burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.mobile-nav__drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-bg);
  padding: 6rem var(--pad-x) 2rem;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav__drawer.is--open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.mobile-nav__drawer > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.mobile-nav__drawer.is--open > * {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav__drawer.is--open > *:nth-child(1) { transition-delay: 0.12s; }
.mobile-nav__drawer.is--open > *:nth-child(2) { transition-delay: 0.18s; }
.mobile-nav__drawer.is--open > *:nth-child(3) { transition-delay: 0.24s; }
.mobile-nav__drawer.is--open > *:nth-child(4) { transition-delay: 0.30s; }
.mobile-nav__drawer.is--open > *:nth-child(5) { transition-delay: 0.40s; }
.mobile-nav__drawer a:not(.btn) {
  font-family: var(--font-display);
  font-size: 2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  transition: color 0.3s, opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.mobile-nav__drawer a:not(.btn):hover { color: var(--color-gold); }
.mobile-nav__drawer .btn {
  margin-top: 1.75rem;
  align-self: flex-start;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 8rem 0 4rem;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.95;
  filter: none;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,10,10,0.25) 0%,
      rgba(10,10,10,0.35) 55%,
      rgba(10,10,10,0.85) 85%,
      rgba(10,10,10,1) 100%),
    linear-gradient(90deg,
      rgba(10,10,10,0.95) 0%,
      rgba(10,10,10,0.85) 38%,
      rgba(10,10,10,0.4) 62%,
      rgba(10,10,10,0.15) 100%);
}
.hero > .wrap { width: 100%; }
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { color: var(--color-gold); }
.hero__tagline {
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.hero__slogan {
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--color-bg); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__text p { margin-top: 1rem; color: var(--color-text-muted); }
.about__img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 4px;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--color-bg-elevated); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.service {
  background: var(--color-bg-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.4s var(--ease-out);
  position: relative;
}
.service:hover { background: #1F1B14; }
.service__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.service__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
}
.service__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-gold);
  white-space: nowrap;
}
.service__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ==========================================================================
   BOOKING
   ========================================================================== */
.booking { background: var(--color-bg); text-align: center; }
.booking__inner { max-width: 44rem; margin: 0 auto; }
.booking__card {
  margin: 3rem auto 0;
  background: #fff;
  color: #0A0A0A;
  border-radius: 14px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.booking__card-brand {
  height: 2rem;
  width: auto;
  display: block;
}
.booking__card h3 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  color: #0A0A0A;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.booking__card p {
  color: #4A4A4A;
  max-width: 34ch;
  font-size: 0.95rem;
  margin: 0;
}
.booking__card-note {
  font-size: 0.75rem !important;
  color: #7A7A7A !important;
  margin-top: 0.25rem !important;
}
.booking__card-note a { color: #0A0A0A; text-decoration: underline; }

.btn--treatwell {
  background: #0A0A0A;
  color: #fff;
  border: 1px solid #0A0A0A;
  border-radius: 8px;
  height: 3.25rem;
  padding: 0 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn--treatwell:hover {
  background: #222;
  border-color: #222;
  transform: translateY(-2px);
}

/* ==========================================================================
   GALLERY — Osmo parallax slider (branded)
   ========================================================================== */
.gallery { padding: 0; background: #000; }
.gallery__head {
  padding: var(--section-py) var(--pad-x) 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

@media (min-width: 90rem) {
  .gallery { padding-bottom: var(--section-py); }
  .img-slider {
    max-width: calc(var(--max-w) - 2 * var(--pad-x));
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
  }
  .img-slider__list { border-radius: 8px; }
  .img-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 8px;
    pointer-events: none;
    z-index: 3;
  }
}
.img-slider {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 80vh;
  height: 80svh;
  min-height: 520px;
  display: flex;
  position: relative;
  margin-top: 3rem;
}
.img-slider__list {
  grid-template-rows: 100%;
  grid-template-columns: 100%;
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  overflow: hidden;
}
.img-slide {
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  grid-area: 1 / 1 / -1 / -1;
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
  overflow: hidden;
}
.img-slide.is--current {
  opacity: 1;
  pointer-events: auto;
}
.img-slide__inner {
  object-fit: cover;
  will-change: transform;
  width: 100%;
  height: 100%;
  position: absolute;
}
.img-slider__nav {
  z-index: 2;
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  pointer-events: none;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  max-width: 95vw;
  display: flex;
  position: absolute;
  bottom: 2rem;
}
.img-slider__thumb {
  aspect-ratio: 1.5;
  pointer-events: auto;
  cursor: pointer;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: .3125rem;
  width: 7rem;
  transition: border-color .2s;
  position: relative;
  overflow: hidden;
}
.img-slider__thumb:hover { border-color: rgba(201, 169, 97, 0.6); }
.img-slider__thumb.is--current { border-color: var(--color-gold); }
.slider-thumb__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--color-bg-elevated); }
.contact .section-head { text-align: center; }
.contact .gold-line { margin-left: auto; margin-right: auto; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 62rem;
  margin: 0 auto;
  align-items: start;
}
.contact__block + .contact__block { margin-top: 1.5rem; }
.contact__block h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}
.contact__block p,
.contact__block a {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  transition: color 0.3s;
}
.contact__block a:hover { color: var(--color-gold); }

.contact__hours {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 2rem;
  font-size: 1.05rem;
}
.contact__hours dt { color: var(--color-text-muted); }

.contact__map {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  display: block;
  background: #0A0A0A;
}
.contact__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.contact__map:hover img { transform: scale(1.03); }
.contact__map::after {
  content: 'Auf Google Maps öffnen →';
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  background: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: #0A0A0A;
  padding: 0.875rem 1.25rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.contact__map:hover::after {
  background: #D4B670;
  border-color: #D4B670;
  transform: translateY(-2px);
}

.contact__socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.contact__socials a {
  width: 2.75rem; height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.contact__socials a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}
.contact__socials svg { width: 1.125rem; height: 1.125rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--color-bg); }
.faq__list { max-width: 52rem; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 500;
  transition: color 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--color-gold); }
.faq__icon {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--color-gold);
  transition: transform 0.3s var(--ease-out);
}
.faq__icon::before {
  top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%);
}
.faq__icon::after {
  left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
}
.faq__item[open] .faq__icon::after { transform: translateX(-50%) rotate(90deg); }
.faq__answer {
  padding: 0 0 1.5rem;
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #050505;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer__copy {
  font-size: 0.875rem;
  color: var(--color-text-dim);
}
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--color-gold); }

/* ==========================================================================
   BACK TO TOP — Osmo (branded)
   ========================================================================== */
.back-top__wrap {
  z-index: 100;
  pointer-events: none;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: 100vh;
  padding: 2em;
  display: flex;
  position: fixed;
  inset: 0%;
}

.back-top__button {
  pointer-events: auto;
  background-color: var(--color-gold);
  color: #0A0A0A;
  border: min(.5em, 5px) solid #0A0A0A;
  border-radius: 999px;
  outline-style: none;
  width: max(5vw, 3rem);
  height: max(5vw, 3rem);
  padding: .5em;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.back-top__arrow { width: 2.5em; }

.back-top__arrow-wrap {
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.back-top__arrow-row {
  flex: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

[data-back-to-top="wrap"] { opacity: 0; }

.back-top__arrow-row { transition: transform 0.5s cubic-bezier(.65, 0, 0, 1); }
.back-top__button {
  transition: border-width 0.5s cubic-bezier(.65, 0, 0, 1), background-color 0.3s;
}

.back-top__button:focus-visible { border-width: 0.6em; }
.back-top__button:focus-visible .back-top__arrow-row { transform: translate(0px, -100%); }

@media (hover: hover) {
  .back-top__button:hover { border-width: 0.6em; background-color: #D4B670; }
  .back-top__button:hover .back-top__arrow-row { transform: translate(0px, -100%); }
}

@media screen and (max-width: 991px) {
  .back-top__wrap { padding: 1.25em; }
  .back-top__button { border-radius: 999px; padding: .4em; }
}

/* ==========================================================================
   CONSENT BANNER
   ========================================================================== */
.consent {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 32rem;
  background: var(--color-bg-card);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 8px;
  padding: 1.5rem;
  z-index: 1000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(120%);
  transition: transform 0.5s var(--ease-out);
}
.consent.is--visible { transform: translateY(0); }
.consent__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.consent__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.consent__text a { color: var(--color-gold); text-decoration: underline; }
.consent__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.consent__actions .btn { padding: 0.7rem 1.25rem; font-size: 0.875rem; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal {
  padding: 10rem 0 5rem;
  max-width: 48rem;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.legal h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-gold);
}
.legal p, .legal li {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal strong { color: var(--color-text); }
.legal a { color: var(--color-gold); text-decoration: underline; }

/* ==========================================================================
   UTILITY — Reveals
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  .progress-nav { display: none; }
  .mobile-nav { display: flex; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { aspect-ratio: 16 / 10; }
  .about__img { aspect-ratio: 16 / 10; max-height: 60vh; }
  .img-slider {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .img-slider__thumb { width: 5rem; }
}

@media (max-width: 600px) {
  .hero { padding-top: 6rem; }
  .service { padding: 1.5rem; }
  .service__head { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .img-slider { aspect-ratio: 3 / 2.2; }
  .img-slider__thumb { width: 4.5rem; }
  .img-slider__nav { bottom: 1rem; }
  .footer__grid { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
