/* ==========================================================================
   Avinguda 44 Barberia — Estils
   Paleta extreta del logotip (traç negre sobre fons clar) + accent bronze
   contemporani per evitar una estètica excessivament fosca o vintage.
   ========================================================================== */

:root {
  --black: #1a1714;
  --charcoal: #262220;
  --cream: #faf7f2;
  --off-white: #f1ece3;
  --white: #ffffff;
  --muted: #6f6a63;
  --muted-light: #948d84;
  --gold: #a9814c;
  --gold-light: #c9a468;
  --line: rgba(26, 23, 20, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(26, 23, 20, 0.12);
  --transition: cubic-bezier(.19, 1, .22, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.55;
}

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

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Focus visible per a accessibilitat de teclat */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------------- Loader ---------------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 10000;
  display: grid;
  place-items: center;
  animation: loaderOut 1s var(--transition) 1s forwards;
}

.loader img {
  width: 84px;
  animation: pulse 1.4s ease infinite;
}

@keyframes loaderOut {
  to { transform: translateY(-100%); visibility: hidden; }
}

@keyframes pulse {
  50% { opacity: .4; }
}

/* ---------------- Header / Nav ---------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--transition), border-color .5s var(--transition), height .4s var(--transition);
}

.nav.scrolled {
  height: 68px;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(26, 23, 20, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  font-size: 1rem;
  text-transform: uppercase;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: width .4s var(--transition), height .4s var(--transition);
}

.nav.scrolled .brand img {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  flex-shrink: 1;
  flex-wrap: nowrap;
  gap: 2.1rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: .3rem 0;
  transition: color .4s var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .4s var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 1.4rem;
}

/* Selector d'idioma */
.lang-switch {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.lang-switch button {
  background: none;
  border: none;
  color: var(--muted);
  padding: .3rem .4rem;
  border-radius: 4px;
  transition: color .3s var(--transition), background .3s var(--transition);
}

.lang-switch button:hover {
  color: var(--black);
}

.lang-switch button.active {
  color: var(--black);
  background: var(--off-white);
}

.lang-sep {
  color: var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--black);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 600;
  transition: .5s var(--transition);
  background: transparent;
  color: var(--black);
}

.btn.primary {
  background: var(--black);
  color: var(--cream);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: var(--black);
  color: var(--cream);
  transform: translateY(-3px);
}

.btn.on-dark {
  border-color: var(--line-light);
  color: var(--cream);
}

.btn.on-dark:hover,
.btn.on-dark:focus-visible {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}

.btn.small {
  min-height: 40px;
  padding: 0 1.1rem;
  font-size: .72rem;
}

.nav-cta {
  white-space: nowrap;
}

/* Hamburguesa mòbil */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  border-radius: 50%;
  transition: background .3s var(--transition);
}

.burger:hover,
.burger:focus-visible {
  background: var(--off-white);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .35s var(--transition), opacity .35s var(--transition), width .35s var(--transition);
}

.burger.open { background: transparent; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; width: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 104px 6vw 2.2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s var(--transition), visibility .45s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2.8rem;
}

.mobile-lang {
  display: inline-flex;
  gap: .2rem;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--off-white);
}

.mobile-lang button {
  background: none;
  border: none;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  transition: background .3s var(--transition), color .3s var(--transition);
}

.mobile-lang button.active {
  background: var(--black);
  color: var(--cream);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  counter-reset: menu-item;
  flex: 1;
  min-height: 0;
}

.mobile-nav-links a {
  counter-increment: menu-item;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--black);
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: color .3s var(--transition), opacity .5s var(--transition), transform .5s var(--transition);
}

.mobile-nav-links a:first-child {
  padding-top: 0;
}

.mobile-nav-links a::before {
  content: counter(menu-item, decimal-leading-zero);
  font-family: 'Work Sans', sans-serif;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
  min-width: 1.5rem;
}

.mobile-nav-links a:active,
.mobile-nav-links a:focus-visible {
  color: var(--gold);
}

.mobile-menu.open .mobile-nav-links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-nav-links a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open .mobile-nav-links a:nth-child(2) { transition-delay: .13s; }
.mobile-menu.open .mobile-nav-links a:nth-child(3) { transition-delay: .18s; }
.mobile-menu.open .mobile-nav-links a:nth-child(4) { transition-delay: .23s; }
.mobile-menu.open .mobile-nav-links a:nth-child(5) { transition-delay: .28s; }

.mobile-menu-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.mobile-cta {
  width: 100%;
}

.mobile-menu-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .8rem;
}

.mobile-menu-meta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--black);
  transition: background .3s var(--transition), color .3s var(--transition), border-color .3s var(--transition);
}

.mobile-menu-meta a:hover,
.mobile-menu-meta a:focus-visible {
  background: var(--black);
  color: var(--cream);
  border-color: var(--black);
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 6vw;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,23,20,.82), rgba(26,23,20,.42), rgba(26,23,20,.7)),
    linear-gradient(to bottom, rgba(26,23,20,.15), rgba(26,23,20,.55)),
    url('../images/hero-tall-cabell.jpg') center 25%/cover;
  transform: scale(1.1);
  animation: heroZoom 20s ease forwards;
}

@keyframes heroZoom {
  to { transform: scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding-top: 5rem;
  color: var(--cream);
}

.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .74rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp 1.1s var(--transition) 1.2s forwards;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 1.2s var(--transition) 1.35s forwards;
}

.hero p {
  max-width: 520px;
  color: var(--off-white);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  margin-top: 1.6rem;
  opacity: 0;
  animation: fadeUp 1.2s var(--transition) 1.55s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
  opacity: 0;
  animation: fadeUp 1.2s var(--transition) 1.75s forwards;
}

.scroll-indicator {
  position: absolute;
  right: 6vw;
  bottom: 3rem;
  z-index: 2;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .7rem;
  color: var(--off-white);
}

.scroll-indicator::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 60px;
  margin-top: 1rem;
  background: linear-gradient(var(--gold-light), transparent);
  animation: lineMove 1.6s ease infinite;
}

@keyframes lineMove {
  50% { transform: translateY(14px); opacity: .3; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- Sections general ---------------- */
section {
  position: relative;
  padding: 7rem 6vw;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: .9rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 760px;
}

.section-copy {
  max-width: 420px;
  color: var(--muted);
  font-size: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1.1s var(--transition), transform 1.1s var(--transition);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Entrada esglaonada per a graelles de targetes (serveis, ressenyes, galeria) */
.service-card.reveal:nth-child(3n+1) { transition-delay: 0s; }
.service-card.reveal:nth-child(3n+2) { transition-delay: .09s; }
.service-card.reveal:nth-child(3n)   { transition-delay: .18s; }

.review-card.reveal:nth-child(1) { transition-delay: 0s; }
.review-card.reveal:nth-child(2) { transition-delay: .09s; }
.review-card.reveal:nth-child(3) { transition-delay: .18s; }

.gallery-item.reveal:nth-child(4n+1) { transition-delay: 0s; }
.gallery-item.reveal:nth-child(4n+2) { transition-delay: .07s; }
.gallery-item.reveal:nth-child(4n+3) { transition-delay: .14s; }
.gallery-item.reveal:nth-child(4n)   { transition-delay: .21s; }

/* ---------------- About / La barberia ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 6vw;
  align-items: center;
}

.image-mask {
  overflow: hidden;
  border-radius: 6px;
  background: var(--off-white);
  box-shadow: var(--shadow);
}

.image-mask img {
  height: 560px;
  transform: scale(1.1);
  transition: transform 1.6s var(--transition);
}

.visible .image-mask img,
.image-mask:hover img {
  transform: scale(1.01);
}

.about-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 2.6rem;
}

.value {
  min-width: 0;
  padding: 1.3rem 1rem 1.3rem 0;
  border-right: 1px solid var(--line);
}

.value:last-child { border-right: none; }

.value strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.value span {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .1em;
}

/* ---------------- Services ---------------- */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.2rem 1.9rem;
  transition: transform .5s var(--transition), box-shadow .5s var(--transition), border-color .5s var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 272px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .01em;
  font-weight: 600;
  transition: border-color .4s var(--transition), background .4s var(--transition);
}

.service-card:hover .service-number {
  border-color: var(--gold-light);
  background: rgba(169, 129, 76, .08);
}

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-top: 1.1rem;
}

.service-card p {
  color: var(--muted);
  margin-top: .8rem;
  font-size: .95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.service-book {
  margin-top: 1.4rem;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-bottom: 1px solid var(--black);
  align-self: flex-start;
  padding-bottom: 2px;
  transition: color .3s var(--transition), border-color .3s var(--transition);
}

.service-book::after {
  content: "\2192";
  display: inline-block;
  transition: transform .3s var(--transition);
}

.service-book:hover,
.service-book:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.service-book:hover::after,
.service-book:focus-visible::after {
  transform: translateX(4px);
}

.services-note {
  margin-top: 2.6rem;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}

.services-note a {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-light);
}

/* ---------------- Booking CTA ---------------- */
.booking {
  background: var(--black);
  color: var(--cream);
  text-align: center;
}

.booking .section-label { color: var(--gold-light); }

.booking-inner {
  max-width: 640px;
  margin: 0 auto;
}

.booking h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 1.2rem;
}

.booking p {
  color: var(--muted-light);
  margin-bottom: 2.2rem;
  font-size: 1.05rem;
}

/* ---------------- Reviews ---------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.review-card {
  min-width: 0;
  background: var(--off-white);
  border-radius: 10px;
  padding: 2.2rem;
  border: 1px solid var(--line);
  position: relative;
}

.review-quote {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  color: var(--gold-light);
  line-height: 1;
}

.review-card p.review-text {
  color: var(--muted);
  margin: 1rem 0 1.4rem;
  font-style: italic;
}

.review-badge {
  display: inline-block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--gold);
  background: rgba(169, 129, 76, .12);
  padding: .35rem .7rem;
  border-radius: 999px;
}

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}

.gallery-item {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--off-white);
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
}

.gallery-item img {
  height: 240px;
  transition: transform .8s var(--transition), opacity .4s var(--transition);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-item:nth-child(3n+2) img { height: 300px; }

.gallery-cta {
  margin-top: 2.6rem;
  display: flex;
  justify-content: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(26, 23, 20, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: 1px solid var(--line-light);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--cream);
  color: var(--black);
}

/* ---------------- Location / contact ---------------- */
.location {
  background: var(--off-white);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: start;
}

.location-card {
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.2rem;
}

.location-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.location-address {
  color: var(--muted);
  margin-bottom: 1.6rem;
  font-size: 1.02rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------- Footer ---------------- */
footer {
  background: var(--black);
  color: var(--off-white);
  padding: 4rem 6vw 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-brand span {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.05rem;
}

.footer-col address,
.footer-col p {
  font-style: normal;
  color: var(--muted-light);
  font-size: .92rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col a {
  color: var(--muted-light);
  font-size: .92rem;
  transition: color .3s var(--transition);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: .78rem;
  color: var(--muted-light);
}

.footer-lang {
  display: flex;
  gap: .5rem;
}

.footer-lang button {
  background: none;
  border: none;
  color: var(--muted-light);
  font-size: .78rem;
  font-weight: 600;
  padding: .2rem;
}

.footer-lang button.active {
  color: var(--gold-light);
}

/* ---------------- Cookie banner ---------------- */
.cookie-banner {
  position: fixed;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 4000;
  max-width: 640px;
  margin: 0 auto;
  background: var(--black);
  color: var(--off-white);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transform: translateY(140%);
  transition: transform .6s var(--transition);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  flex: 1 1 260px;
  font-size: .86rem;
  color: var(--muted-light);
}

.cookie-banner a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: .7rem;
}

/* ---------------- Floating booking button (mobile) ---------------- */
.float-booking {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 3000;
  display: none;
  transition: opacity .3s var(--transition), transform .3s var(--transition);
}

.mobile-menu.open ~ .float-booking {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}

/* ---------------- Legal pages (shared minimal styles) ---------------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 9rem 6vw 6rem;
}

.legal-page h1 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: 2rem 0 .8rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-notice {
  background: rgba(169,129,76,.12);
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  color: var(--black);
  font-size: .92rem;
  margin-bottom: 2rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
  border-bottom: 1px solid var(--black);
}

/* ---------------- Responsive ---------------- */

/* Trenca a menú mòbil abans que el nom de la marca i els enllaços
   comencin a xocar entre ells (evita el solapament a mida de tauleta). */
@media (max-width: 1024px) {
  .nav-links, .nav-cta.desktop-only, .lang-switch.desktop-only { display: none; }
  .burger { display: flex; }
  .nav { padding: 0 4vw; }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .nav { padding: 0 3.5vw; }
  .nav-links { gap: 1.5rem; }
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid, .location-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav { padding: 0 1.2rem; }
  .hero { padding: 0 1.2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .scroll-indicator { display: none; }
  section { padding: 4.5rem 1.2rem; }
  .section-head { display: block; }
  .section-copy { max-width: 100%; margin-top: 1rem; }
  .services-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .value { border-right: none; border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-booking { display: block; }
  .image-mask img { height: 380px; }
}

@media (max-width: 480px) {
  .services-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 2.5rem; }
}
