/* ==========================================================================
   Les Clotas — Maqueta
   Design tokens extrets del Figma (Web Les Clotas)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --c-green-dark: #2a332c;
  --c-cream: #f7f5f0;
  --c-border: #eae5d9;
  --c-brown: #8c7a6b;
  --c-white: #ffffff;

  --c-text: var(--c-green-dark);
  --c-text-80: rgba(42, 51, 44, 0.8);
  --c-text-70: rgba(42, 51, 44, 0.7);
  --c-text-60: rgba(42, 51, 44, 0.6);
  --c-text-30: rgba(42, 51, 44, 0.3);

  --c-white-90: rgba(255, 255, 255, 0.9);
  --c-white-80: rgba(255, 255, 255, 0.8);
  --c-white-70: rgba(255, 255, 255, 0.7);
  --c-white-60: rgba(255, 255, 255, 0.6);

  --c-overlay: rgba(0, 0, 0, 0.3);

  /* Tipografia */
  --font-base: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container-max: 1280px;
  --gutter: 80px;
  --container-pad: 48px;

  /* Radis */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 9999px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 300;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --------------------------------------------------------------------------
   4. Tipografia
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--c-brown);
}

.eyebrow--light {
  color: var(--c-white-80);
  letter-spacing: 4.8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.h1 {
  font-size: 60px;
  line-height: 60px;
  font-weight: 300;
  letter-spacing: -1.5px;
}

.h2 {
  font-size: 60px;
  line-height: 60px;
  font-weight: 300;
  letter-spacing: -1.5px;
  color: var(--c-text);
}

.h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--c-text);
}

.h4 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: var(--c-text);
}

.lead {
  font-size: 18px;
  line-height: 29.25px;
  font-weight: 300;
  color: var(--c-text-80);
}

.body {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--c-text-70);
}

.small {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-70);
}

/* --------------------------------------------------------------------------
   5. Botons i enllaços
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn--dark {
  background: var(--c-green-dark);
  color: var(--c-cream);
}

.btn--light {
  background: var(--c-cream);
  color: var(--c-green-dark);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--c-text);
  transition: gap 0.2s ease;
}

.link-arrow:hover {
  gap: 14px;
}

.link-arrow img {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 24px var(--gutter);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-white);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-white);
  transition: opacity 0.2s ease;
}

.header__link:hover {
  opacity: 0.75;
}

.header__toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--c-overlay);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 720px;
  max-width: 896px;
  padding: 0 24px;
  text-align: center;
}

.hero__title {
  margin-top: 16px;
  color: var(--c-white);
  filter: drop-shadow(0 4px 1.5px rgba(0, 0, 0, 0.1))
    drop-shadow(0 10px 4px rgba(0, 0, 0, 0.04));
}

.hero__subtitle {
  margin-top: 24px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 300;
  color: var(--c-white-90);
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.06))
    drop-shadow(0 4px 1.5px rgba(0, 0, 0, 0.07));
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--c-cream);
  border-top: 1px solid var(--c-border);
  padding: 65px var(--gutter) 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__list a,
.footer__list li {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-70);
  transition: color 0.2s ease;
}

.footer__list a:hover {
  color: var(--c-text);
}

.footer__social {
  display: flex;
  gap: 16px;
  padding-top: 8px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-text-30);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.footer__social a:hover {
  border-color: var(--c-text);
}

.footer__social img {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 33px;
  text-align: center;
}

.footer__bottom p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-60);
}

/* --------------------------------------------------------------------------
   9. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --gutter: 40px;
    --container-pad: 24px;
  }

  .h1,
  .h2 {
    font-size: 44px;
    line-height: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px var(--gutter);
    background: var(--c-green-dark);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero {
    height: 560px;
  }

  .hero__content {
    width: 100%;
  }

  .h1,
  .h2 {
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -0.5px;
  }

  .hero__subtitle {
    font-size: 17px;
    line-height: 26px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: span 1;
  }
}

/* ==========================================================================
   COMPONENTS DE SECCIÓ
   ========================================================================== */

/* --------------------------------------------------------------------------
   10. Section headers
   -------------------------------------------------------------------------- */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.section-head__sub {
  max-width: 672px;
  padding-top: 8px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
  color: var(--c-text-70);
}

/* --------------------------------------------------------------------------
   11. Introduction (split 50/50)
   -------------------------------------------------------------------------- */
.intro {
  background: var(--c-cream);
  padding: 128px;
}

.intro__grid {
  display: flex;
  align-items: center;
  gap: 96px;
}

.intro__col {
  flex: 1 0 0;
  min-width: 0;
}

.intro__media {
  height: 600px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__title {
  margin: 16px 0 32px;
}

.intro__text {
  margin-bottom: 24px;
}

.intro__text:last-of-type {
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   12. Cards grid (espais)
   -------------------------------------------------------------------------- */
.section-block {
  padding: 128px var(--gutter);
  background: var(--c-white);
}

.section-block--cream {
  background: var(--c-cream);
}

.section-block--sand {
  background: var(--c-border);
}

.section-block__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__media {
  height: 300px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__title {
  padding-top: 12px;
}

.card__text {
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: var(--c-text-70);
}

/* --------------------------------------------------------------------------
   13. Amenities
   -------------------------------------------------------------------------- */
.amenities {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 48px;
}

.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 157.33px;
  text-align: center;
}

.amenity__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.amenity__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.amenity__label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-text);
}

/* --------------------------------------------------------------------------
   14. Galeria mosaic
   -------------------------------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 240px 240px 300px;
  gap: 24px;
}

.mosaic__item {
  border-radius: var(--r-md);
  overflow: hidden;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic__item:hover img {
  transform: scale(1.04);
}

.mosaic__item--big {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  border-radius: var(--r-lg);
}

.mosaic__item--wide {
  grid-column: 1 / span 2;
  grid-row: 3;
}

/* --------------------------------------------------------------------------
   15. Call to action
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  background: var(--c-green-dark);
  padding: 128px 24px;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.cta__title {
  color: var(--c-cream);
}

.cta__text {
  max-width: 672px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 300;
  color: rgba(247, 245, 240, 0.8);
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 16px;
}

.btn--cta {
  padding: 16px 40px;
  letter-spacing: 2.8px;
  background: var(--c-white);
  color: var(--c-green-dark);
}

.btn--cta-outline {
  padding: 18px 42px;
  letter-spacing: 2.8px;
  border: 2px solid var(--c-white);
  color: var(--c-white);
  background: transparent;
}

.btn--cta-outline:hover {
  background: var(--c-white);
  color: var(--c-green-dark);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   16. Responsive seccions
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .intro {
    padding: 96px var(--gutter);
  }

  .intro__grid {
    gap: 48px;
  }

  .section-block {
    padding: 96px var(--gutter);
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    padding: 96px 24px;
  }
}

@media (max-width: 768px) {
  .intro {
    padding: 64px var(--gutter);
  }

  .intro__grid {
    flex-direction: column;
    gap: 32px;
  }

  .intro__media {
    height: 320px;
  }

  .section-block {
    padding: 64px var(--gutter);
  }

  .section-block__inner {
    gap: 40px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .mosaic__item {
    height: 240px;
  }

  .mosaic__item--big,
  .mosaic__item--wide {
    grid-column: auto;
    grid-row: auto;
    height: 300px;
  }

  .amenities {
    gap: 24px;
  }

  .amenity {
    width: 120px;
  }

  .cta {
    padding: 64px 20px;
  }

  .cta__text {
    font-size: 17px;
    line-height: 26px;
  }

  .cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .btn--cta,
  .btn--cta-outline {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   17. Estats i animacions
   -------------------------------------------------------------------------- */
.header.is-scrolled {
  position: fixed;
  background: var(--c-green-dark);
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Animacio d'entrada.

   Regla clau: el contingut NO s'amaga mai amb CSS estatic. L'element
   parteix visible i l'animacio nomes s'aplica quan el JS hi afegeix
   .is-visible. Si el JS falla, no s'executa o l'observer no dispara,
   tot es veu igualment. */
[data-reveal].is-visible {
  animation: revealUp 0.7s ease both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal].is-visible {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   18. Grid de 4 columnes (activitats)
   -------------------------------------------------------------------------- */
.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card__media--280 {
  height: 280px;
}

.card__media--350 {
  height: 350px;
  border-radius: var(--r-lg);
}

.card__title--sm {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   19. Mosaic 3 columnes (galeria natural)
   -------------------------------------------------------------------------- */
.mosaic--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mosaic--3 .mosaic__item--big {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* --------------------------------------------------------------------------
   20. Mapa / localització
   -------------------------------------------------------------------------- */
.map-panel {
  background: var(--c-border);
  border-radius: var(--r-lg);
  padding: 48px;
}

.map-panel__grid {
  display: flex;
  gap: 48px;
  align-items: center;
}

.map-panel__col {
  flex: 1 0 0;
  min-width: 0;
}

.map-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.map-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.map-point__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.map-point__icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.map-point__icon--brown {
  background: var(--c-brown);
}

.map-point__icon--green {
  background: #16a34a;
}

.map-point__icon--blue {
  background: #2563eb;
}

.map-point__title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 4px;
}

.map-point__text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-70);
}

.map-placeholder {
  height: 400px;
  background: var(--c-cream);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}

.map-placeholder img {
  width: 40px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 4px;
}

.map-placeholder__title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
  color: var(--c-text-60);
}

.map-placeholder__text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-60);
}

@media (max-width: 1024px) {
  .cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-panel {
    padding: 32px;
  }

  .map-panel__grid {
    flex-direction: column;
    gap: 32px;
  }

  .map-panel__col {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .cards--4,
  .cards--2 {
    grid-template-columns: 1fr;
  }

  .mosaic--3 .mosaic__item--big {
    grid-column: auto;
    grid-row: auto;
  }

  .map-panel {
    padding: 24px;
  }

  .map-placeholder {
    height: 260px;
  }
}

/* ==========================================================================
   PÀGINA EXPERIÈNCIES — estil editorial (serif)
   ========================================================================== */
:root {
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --c-hairline: #e5e7eb;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Hero editorial ------------------------------------------------------- */
/* Split editorial amb imatge superposada -------------------------------- */
.split {
  padding: 128px var(--gutter);
  background: var(--c-white);
}

.split__grid {
  display: flex;
  align-items: center;
  gap: 64px;
}

.split__col {
  flex: 1 0 0;
  min-width: 0;
}

.split__eyebrow {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 4.2px;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 24px;
}

.split__title {
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.5px;
  margin-bottom: 40px;
}

.split__text {
  font-size: 20px;
  line-height: 32.5px;
  font-weight: 300;
  margin-bottom: 24px;
  max-width: 768px;
}

.split__media {
  position: relative;
}

.split__media-main {
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.split__media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media-inset {
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 256px;
  height: 256px;
  border: 8px solid var(--c-hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.split__media-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Capçalera amb nota lateral -------------------------------------------- */
.head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.head-split__main {
  max-width: 672px;
}

.head-split__note {
  max-width: 320px;
  padding-left: 25px;
  border-left: 1px solid var(--c-hairline);
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
}

/* Targetes editorials ---------------------------------------------------- */
.exp-cards {
  display: flex;
  gap: 48px;
  padding-top: 32px;
}

.exp-card {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.exp-card__media {
  height: 390px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--c-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.exp-card__media--tall {
  height: 483px;
}

.exp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.exp-card:hover .exp-card__media img {
  transform: scale(1.04);
}

.exp-card__body {
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.exp-card__title {
  font-size: 30px;
  line-height: 36px;
}

.exp-card__title--sm {
  font-size: 24px;
  line-height: 32px;
}

.exp-card__text {
  font-size: 18px;
  line-height: 29.25px;
  font-weight: 300;
}

.exp-card__text--sm {
  font-size: 16px;
  line-height: 26px;
}

/* Targetes d'estació ----------------------------------------------------- */
.seasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.season {
  background: var(--c-white);
  border: 1px solid var(--c-hairline);
  border-radius: 40px;
  overflow: hidden;
}

.season__media {
  height: 320px;
  background: var(--c-border);
}

.season__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.season__body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.season__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.season__title {
  font-size: 30px;
  line-height: 36px;
}

.season__head img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.season__text {
  font-size: 18px;
  line-height: 29.25px;
  font-weight: 300;
}

.season__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.season__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.season__list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--c-brown);
}

/* Responsive editorial --------------------------------------------------- */
@media (max-width: 1024px) {
  .split {
    padding: 96px var(--gutter);
  }

  .split__grid {
    flex-direction: column;
    gap: 72px;
  }

  .split__title {
    font-size: 44px;
    line-height: 48px;
  }

  .exp-cards {
    flex-wrap: wrap;
  }

  .exp-card {
    flex: 1 1 calc(50% - 24px);
  }

  .seasons {
    grid-template-columns: 1fr;
  }

  .season__body {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .split {
    padding: 64px var(--gutter);
  }

  .split__title {
    font-size: 34px;
    line-height: 40px;
  }

  .split__text {
    font-size: 17px;
    line-height: 28px;
  }

  .split__media-inset {
    width: 140px;
    height: 140px;
    left: -12px;
    bottom: -24px;
    border-width: 6px;
  }

  .head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .head-split__note {
    padding-left: 16px;
  }

  .exp-cards {
    flex-direction: column;
    gap: 40px;
  }

  .exp-card {
    flex: 1 1 100%;
  }

  .exp-card__media,
  .exp-card__media--tall {
    height: 300px;
  }

  .season__media {
    height: 220px;
  }

  .season__body {
    padding: 24px;
  }

  .season__title {
    font-size: 26px;
    line-height: 32px;
  }
}

/* ==========================================================================
   PÀGINA BLOG
   ========================================================================== */

/* Intro centrada ---------------------------------------------------------- */
.blog-intro {
  background: var(--c-cream);
  padding: 128px 272px;
  text-align: center;
}

.blog-intro__inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 48px;
}

.blog-intro__title {
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -1.2px;
  font-weight: 300;
  margin: 16px 0;
}

.blog-intro p + p {
  padding-top: 8px;
}

/* Article destacat -------------------------------------------------------- */
.featured {
  background: var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
}

.featured__media {
  flex: 1 0 0;
  min-width: 0;
  height: 500px;
}

.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured__body {
  flex: 1 0 0;
  min-width: 0;
  padding: 67px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured__title {
  font-size: 36px;
  line-height: 40px;
  font-weight: 300;
  color: var(--c-text);
  margin: 16px 0 24px;
}

.featured__text {
  font-size: 18px;
  line-height: 29.25px;
  font-weight: 300;
  color: var(--c-text-70);
  margin-bottom: 32px;
}

.featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--c-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author__avatar img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.author__name {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--c-text);
}

.author__date {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-60);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--c-brown);
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 14px;
}

.read-more img {
  width: 14px;
  height: 16px;
}

/* Tags -------------------------------------------------------------------- */
.tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  background: rgba(140, 122, 107, 0.1);
  color: var(--c-brown);
}

.tag--blue   { background: #dbeafe; color: #2563eb; }
.tag--green  { background: #dcfce7; color: #16a34a; }
.tag--orange { background: #ffedd5; color: #ea580c; }
.tag--purple { background: #f3e8ff; color: #9333ea; }
.tag--yellow { background: #fef9c3; color: #ca8a04; }
.tag--pink   { background: #fce7f3; color: #db2777; }

/* Graella d'articles ------------------------------------------------------ */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.post {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(42, 51, 44, 0.1);
}

.post__media {
  height: 250px;
  overflow: hidden;
}

.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.post__title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--c-text);
}

.post__text {
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: var(--c-text-70);
}

.post__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  margin-top: auto;
}

.post__date {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-60);
}

.post__link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--c-brown);
}

/* Categories -------------------------------------------------------------- */
.categories {
  display: flex;
  gap: 24px;
}

.category {
  flex: 1 0 0;
  min-width: 0;
  padding: 32px 32px 34px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.category:hover {
  transform: translateY(-4px);
}

.category__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.category__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--c-text);
  padding-top: 8px;
}

.category__text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--c-text-70);
  padding-bottom: 10px;
}

.category__count {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.category--green  { background: #f0fdf4; }
.category--green .category__icon  { background: #22c55e; }
.category--green .category__count { color: #16a34a; }

.category--blue   { background: #eff6ff; }
.category--blue .category__icon   { background: #3b82f6; }
.category--blue .category__count  { color: #2563eb; }

.category--orange { background: #fff7ed; }
.category--orange .category__icon  { background: #f97316; }
.category--orange .category__count { color: #ea580c; }

.category--purple { background: #faf5ff; }
.category--purple .category__icon  { background: #a855f7; }
.category--purple .category__count { color: #9333ea; }

/* Newsletter -------------------------------------------------------------- */
.newsletter-form {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 512px;
  max-width: 100%;
  padding-top: 16px;
}

.newsletter-form input {
  flex: 1 0 0;
  min-width: 0;
  padding: 18px 24px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--c-white);
  font-family: var(--font-base);
  font-size: 16px;
  color: var(--c-text);
}

.newsletter-form input::placeholder {
  color: #9ca3af;
}

.newsletter-form button {
  padding: 16px 32px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  color: var(--c-green-dark);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.newsletter-form button:hover {
  opacity: 0.85;
}

/* Responsive blog --------------------------------------------------------- */
@media (max-width: 1024px) {
  .blog-intro {
    padding: 96px var(--gutter);
  }

  .blog-intro__inner {
    padding: 0;
  }

  .featured {
    flex-direction: column;
  }

  .featured__media {
    height: 320px;
  }

  .featured__body {
    padding: 40px 32px;
  }

  .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categories {
    flex-wrap: wrap;
  }

  .category {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .blog-intro {
    padding: 64px var(--gutter);
  }

  .blog-intro__title {
    font-size: 32px;
    line-height: 38px;
  }

  .featured__title {
    font-size: 28px;
    line-height: 34px;
  }

  .featured__body {
    padding: 32px 24px;
  }

  .posts {
    grid-template-columns: 1fr;
  }

  .categories {
    flex-direction: column;
  }

  .category {
    flex: 1 1 100%;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

/* ==========================================================================
   PÀGINA BLOG DETALL — paleta marró càlida
   ========================================================================== */
:root {
  --c-brown-dark: #4a3f35;
  --c-brown-mid: #8b7355;
  --c-paper: #f9f7f2;
  --c-brown-text-90: rgba(74, 63, 53, 0.9);
  --c-brown-text-80: rgba(74, 63, 53, 0.8);
  --c-brown-text-70: rgba(74, 63, 53, 0.7);
  --c-brown-text-60: rgba(74, 63, 53, 0.6);
}

/* Hero de l'article -------------------------------------------------------- */
.hero--article {
  height: 630px;
  align-items: flex-end;
}

.hero--article .hero__overlay {
  background: linear-gradient(
    to top,
    rgba(74, 63, 53, 0.8) 0%,
    rgba(74, 63, 53, 0.2) 50%,
    rgba(74, 63, 53, 0) 100%
  );
}

.hero--article .hero__content {
  width: 1024px;
  max-width: 1024px;
  padding-bottom: 96px;
}

.hero__tag {
  display: inline-flex;
  padding: 4px 16px;
  border-radius: var(--r-pill);
  background: var(--c-brown-mid);
  color: var(--c-white);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero__title--article {
  font-size: 72px;
  line-height: 72px;
  letter-spacing: -1.8px;
  font-weight: 400;
  margin: 23px 0;
}

.hero__meta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__meta-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.4px;
  color: var(--c-white-90);
}

.hero__meta-item img {
  width: 14px;
  height: 16px;
  object-fit: contain;
}

/* Cos de l'article --------------------------------------------------------- */
.article {
  background: var(--c-paper);
  padding: 96px 24px;
}

.article__inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px;
}

.article__lead {
  border-left: 4px solid var(--c-brown-mid);
  padding-left: 28px;
  font-size: 24px;
  line-height: 32px;
  font-style: italic;
  color: var(--c-brown-text-90);
  margin-bottom: 24px;
}

.article__h2 {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.75px;
  font-weight: 400;
  color: var(--c-brown-dark);
  margin: 40px 0 24px;
}

.article__text {
  font-size: 16px;
  line-height: 26px;
  color: var(--c-brown-text-80);
  margin-bottom: 24px;
}

.article__figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.article__figure img {
  width: 100%;
  display: block;
}

.article__caption {
  background: rgba(222, 213, 201, 0.3);
  padding: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: var(--c-brown-text-60);
}

/* Vídeo -------------------------------------------------------------------- */
.article__video {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.article__video img.article__video-cover {
  width: 100%;
  height: 405px;
  object-fit: cover;
  display: block;
}

.article__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.article__video-overlay:hover {
  background: rgba(0, 0, 0, 0.3);
}

.article__video-play {
  width: 80px;
  height: 80px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.article__video-overlay:hover .article__video-play {
  transform: scale(1.08);
}

.article__video-play img {
  width: 18px;
  height: 24px;
  object-fit: contain;
  margin-left: 4px;
}

.article__video-label {
  position: absolute;
  left: 24px;
  bottom: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--c-white);
  filter: drop-shadow(0 1px 0.5px rgba(0, 0, 0, 0.06))
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

/* Llista de consells -------------------------------------------------------- */
.article__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.article__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 24px;
  color: var(--c-brown-text-80);
}

.article__list img {
  width: 14px;
  height: 16px;
  object-fit: contain;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Peu de l'article ---------------------------------------------------------- */
.article__footer {
  border-top: 1px solid rgba(139, 115, 85, 0.2);
  padding-top: 49px;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.article__author {
  display: flex;
  gap: 16px;
  align-items: center;
}

.article__author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  background: var(--c-brown-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article__author-avatar img {
  width: 21px;
  height: 24px;
  object-fit: contain;
}

.article__author-label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-brown-mid);
  margin-bottom: 4px;
}

.article__author-name {
  font-size: 20px;
  line-height: 28px;
  color: var(--c-brown-dark);
}

.article__share {
  display: flex;
  gap: 16px;
  align-items: center;
}

.article__share-label {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-brown-text-60);
}

.article__share a {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.article__share a:hover {
  opacity: 0.6;
}

.article__share img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Articles relacionats ------------------------------------------------------ */
.related {
  background: var(--c-white);
  padding: 96px var(--gutter);
}

.related__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.related__eyebrow {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--c-brown-mid);
  margin-bottom: 16px;
}

.related__title {
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.9px;
  font-weight: 400;
  color: var(--c-brown-dark);
}

.related__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(139, 115, 85, 0.3);
  font-size: 16px;
  line-height: 24px;
  color: var(--c-brown-mid);
}

.related__link img {
  width: 14px;
  height: 16px;
  object-fit: contain;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.related-card__media {
  height: 256px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 12px;
}

.related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-card:hover .related-card__media img {
  transform: scale(1.04);
}

.related-card__tag {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-brown-mid);
  margin-bottom: 8px;
}

.related-card__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: var(--c-brown-dark);
  margin-bottom: 11px;
}

.related-card__text {
  font-size: 14px;
  line-height: 22.75px;
  color: var(--c-brown-text-70);
}

/* Newsletter marró ---------------------------------------------------------- */
.cta--brown {
  background: var(--c-brown-dark);
}

.cta--brown .cta__title {
  color: var(--c-paper);
}

.cta--brown .cta__text {
  color: rgba(249, 247, 242, 0.8);
}

.newsletter-form--brown button {
  background: var(--c-brown-mid);
  color: var(--c-white);
}

/* Responsive detall --------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__title--article {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -1px;
  }

  .related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related__inner {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .hero--article {
    height: 520px;
  }

  .hero--article .hero__content {
    padding-bottom: 48px;
  }

  .hero__title--article {
    font-size: 32px;
    line-height: 38px;
  }

  .hero__meta {
    gap: 16px;
  }

  .hero__meta-item {
    font-size: 14px;
  }

  .article {
    padding: 64px 0;
  }

  .article__lead {
    font-size: 19px;
    line-height: 28px;
    padding-left: 20px;
  }

  .article__h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .article__video img.article__video-cover {
    height: 240px;
  }

  .article__footer {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 48px;
  }

  .related {
    padding: 64px var(--gutter);
  }

  .related__grid {
    grid-template-columns: 1fr;
  }

  .related__title {
    font-size: 28px;
    line-height: 34px;
  }
}

/* ==========================================================================
   PÀGINA RESERVA
   ========================================================================== */

/* Secció estreta ----------------------------------------------------------- */
.narrow {
  padding: 128px 272px;
}

.narrow__inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.medium {
  padding: 128px 144px;
}

.medium__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.title-48 {
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -1.2px;
  font-weight: 300;
  color: var(--c-text);
}

/* Formulari ---------------------------------------------------------------- */
.form {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__row {
  display: flex;
  gap: 24px;
}

.form__field {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--c-text);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 19px 17px 20px;
  border: 1px solid rgba(42, 51, 44, 0.2);
  border-radius: var(--r-md);
  background: var(--c-white);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 24px;
  color: var(--c-text);
  transition: border-color 0.2s ease;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: #9ca3af;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--c-brown);
}

.form__field input.has-error,
.form__field textarea.has-error {
  border-color: #dc2626;
}

.form__field select {
  padding: 17px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232a332c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  cursor: pointer;
}

.form__field textarea {
  min-height: 130px;
  resize: vertical;
}

.form__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.form__submit {
  padding: 16px 40px;
  border-radius: var(--r-pill);
  background: var(--c-green-dark);
  color: var(--c-white);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.form__submit:hover {
  opacity: 0.85;
}

.form__feedback {
  text-align: center;
  font-size: 15px;
  line-height: 22px;
}

.form__feedback.is-success {
  color: #16a34a;
}

.form__feedback.is-error {
  color: #dc2626;
}

/* Avantatges --------------------------------------------------------------- */
.features {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.feature {
  flex: 1 0 0;
  min-width: 0;
  max-width: 330px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.feature__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  background: rgba(140, 122, 107, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.feature__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--c-text);
  padding-top: 8px;
}

.feature__text {
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: var(--c-text-70);
}

/* Com arribar --------------------------------------------------------------- */
.access {
  display: flex;
  gap: 48px;
  align-items: center;
}

.access__col {
  flex: 1 0 0;
  min-width: 0;
}

.access__map {
  height: 400px;
  background: var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}

.access__map img {
  width: 40px;
  height: 36px;
  object-fit: contain;
}

.access__map-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--c-text);
}

.access__map-text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-text-70);
  padding-top: 4px;
}

.access__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.access__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.access__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--c-brown);
  display: flex;
  align-items: center;
  justify-content: center;
}

.access__icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.access__title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 8px;
}

.access__text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: var(--c-text-70);
}

/* CTA amb icones ------------------------------------------------------------ */
.btn--icon {
  gap: 8px;
}

.btn--icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.cta__bg--20 {
  opacity: 0.2;
}

/* Responsive reserva --------------------------------------------------------- */
@media (max-width: 1024px) {
  .narrow,
  .medium {
    padding: 96px var(--gutter);
  }

  .narrow__inner,
  .medium__inner {
    padding: 0;
  }

  .form {
    padding: 32px;
  }

  .features {
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 1 calc(50% - 16px);
    max-width: none;
  }

  .access {
    flex-direction: column;
    gap: 32px;
  }

  .access__col {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .narrow,
  .medium {
    padding: 64px var(--gutter);
  }

  .narrow__inner,
  .medium__inner {
    gap: 40px;
  }

  .title-48 {
    font-size: 32px;
    line-height: 38px;
  }

  .form {
    padding: 24px;
  }

  .form__row {
    flex-direction: column;
    gap: 16px;
  }

  .form__submit {
    width: 100%;
  }

  .features {
    flex-direction: column;
  }

  .feature {
    flex: 1 1 100%;
    padding: 16px 0;
  }

  .access__map {
    height: 260px;
  }
}

/* ==========================================================================
   HOME
   ========================================================================== */

/* Hero ---------------------------------------------------------------------- */
.hero--home {
  height: 900px;
}

.hero--home .hero__overlay {
  background: rgba(0, 0, 0, 0.4);
}

.hero--home .hero__content {
  width: 1024px;
  max-width: 1024px;
}

.hero--home .eyebrow--light {
  letter-spacing: 6.4px;
}

.hero__title--home {
  /* El pes ha d'anar explícit: <h1> és bold per defecte al navegador i, sense
     la classe .h1 al costat, el títol sortia a 700 en comptes del 300 del
     disseny. */
  font-size: 96px;
  line-height: 96px;
  font-weight: 300;
  letter-spacing: -2.4px;
  margin-top: 24px;
}

.hero__subtitle--home {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  font-size: 24px;
  line-height: 32px;
}

.hero__actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 40px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll img {
  width: 24px;
  height: 24px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* Files alternades (text + imatge) -------------------------------------------- */
.home-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.home-row {
  display: flex;
  gap: 80px;
  align-items: center;
}

.home-row--reverse {
  flex-direction: row-reverse;
}

.home-row__col {
  flex: 1 0 0;
  min-width: 0;
}

.home-row__eyebrow {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 16px;
}

.home-row__title {
  font-size: 36px;
  line-height: 40px;
  font-weight: 400;
  color: var(--c-text);
  margin-bottom: 16px;
}

.home-row__text {
  font-size: 18px;
  line-height: 29.25px;
  font-weight: 300;
  color: var(--c-text-80);
  margin-bottom: 16px;
}

.home-row__media {
  height: 400px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.home-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-row__media:hover img {
  transform: scale(1.03);
}

/* Targetes grans amb degradat ------------------------------------------------- */
.feature-cards {
  display: flex;
  gap: 32px;
}

.feature-card {
  position: relative;
  flex: 1 0 0;
  min-width: 0;
  height: 600px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: block;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card:hover img {
  transform: scale(1.05);
}

.feature-card__body {
  position: absolute;
  inset: 0;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.feature-card__eyebrow {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: var(--c-white-80);
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 36px;
  line-height: 40px;
  font-weight: 400;
  color: var(--c-white);
  margin-bottom: 24px;
}

.feature-card__text {
  max-width: 448px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
  color: var(--c-white-70);
  margin-bottom: 32px;
}

.feature-card__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  color: var(--c-text);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.feature-card:hover .feature-card__btn {
  opacity: 0.88;
}

/* Blog de la home -------------------------------------------------------------- */
.home-blog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.home-blog__title {
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -1.2px;
  font-weight: 400;
  color: var(--c-text);
  margin-top: 16px;
}

.home-blog__all {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--c-hairline);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-text);
}

.home-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.home-post {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(42, 51, 44, 0.12);
}

.home-post__media {
  height: 256px;
  overflow: hidden;
}

.home-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-post__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.home-post__tag {
  font-size: 10px;
  line-height: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-text);
}

.home-post__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: var(--c-text);
}

.home-post__text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: var(--c-text-80);
  padding-top: 4px;
}

.home-post__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  margin-top: auto;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c-text);
  transition: gap 0.2s ease;
}

.home-post:hover .home-post__link {
  gap: 14px;
}

.home-post__link img {
  width: 5px;
  height: 8px;
}

/* CTA de la home ---------------------------------------------------------------- */
.cta__title--home {
  font-size: 60px;
  line-height: 60px;
}

/* Responsive home ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero--home {
    height: 720px;
  }

  .hero__title--home {
    font-size: 64px;
    line-height: 68px;
    letter-spacing: -1.5px;
  }

  .home-row,
  .home-row--reverse {
    flex-direction: column;
    gap: 40px;
  }

  .home-row__col {
    width: 100%;
  }

  .feature-cards {
    flex-direction: column;
  }

  .feature-card {
    height: 480px;
  }

  .home-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero--home {
    height: 620px;
  }

  .hero--home .hero__content {
    width: 100%;
  }

  .hero__title--home {
    font-size: 40px;
    line-height: 46px;
    letter-spacing: -0.5px;
  }

  .hero__subtitle--home {
    font-size: 18px;
    line-height: 27px;
  }

  .hero__actions {
    flex-direction: column;
    padding-top: 28px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .home-rows {
    gap: 40px;
  }

  .home-row__title {
    font-size: 28px;
    line-height: 34px;
  }

  .home-row__media {
    height: 260px;
  }

  .feature-card {
    height: 420px;
  }

  .feature-card__body {
    padding: 28px;
  }

  .feature-card__title {
    font-size: 28px;
    line-height: 34px;
  }

  .feature-card__text {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 24px;
  }

  .home-blog__title {
    font-size: 32px;
    line-height: 38px;
  }

  .home-posts {
    grid-template-columns: 1fr;
  }

  .cta__title--home {
    font-size: 32px;
    line-height: 38px;
  }
}

/* ==========================================================================
   WORDPRESS
   Classes que genera WP i que la maqueta estàtica no tenia.
   ========================================================================== */

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 12px 20px;
  background: var(--c-green-dark);
  color: var(--c-cream);
  border-radius: var(--r-pill);
  font-size: 14px;
}

/* El logo del client substitueix el text del disseny. */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  height: 36px;
  width: auto;
}

/* Selector d'idioma (WPML) ------------------------------------------------- */
.header__lang {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.header__lang-link {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-white-70);
  transition: color 0.2s ease;
}

.header__lang-link:hover,
.header__lang-link.is-active {
  color: var(--c-white);
}

/* Icones en línia ---------------------------------------------------------- */
.footer__social svg,
.article__share svg {
  width: 16px;
  height: 16px;
}

.link-arrow svg,
.read-more svg,
.related__link svg {
  width: 14px;
  height: 14px;
}

.home-post__link svg {
  width: 6px;
  height: 10px;
}

.hero__meta-item svg,
.article__list svg {
  width: 14px;
  height: 16px;
  flex-shrink: 0;
}

.amenity__icon svg,
.feature__icon svg,
.category__icon svg {
  width: 24px;
  height: 24px;
}

.access__icon svg,
.map-point__icon svg {
  width: 16px;
  height: 16px;
}

.access__map svg {
  width: 40px;
  height: 36px;
}

.article__author-avatar svg {
  width: 21px;
  height: 24px;
}

.author__avatar svg {
  width: 14px;
  height: 14px;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
  color: var(--c-white);
}

/* Mapa incrustat ----------------------------------------------------------- */
.access__map--embed {
  padding: 0;
  overflow: hidden;
}

.access__map--embed iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

/* Contact Form 7 -----------------------------------------------------------
   El formulari fa servir el marcatge de la maqueta (.form__row, .form__field);
   aquí només hi ha el que CF7 hi afegeix. */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

.form__check {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-70);
}

.form__check .wpcf7-list-item {
  margin: 0 8px 0 0;
}

.form__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  accent-color: var(--c-green-dark);
}

.form__check a {
  color: var(--c-text);
  text-decoration: underline;
}

.form__actions .wpcf7-spinner {
  position: absolute;
}

.wpcf7-form .wpcf7-submit {
  cursor: pointer;
}

.wpcf7-form .wpcf7-not-valid {
  border-color: #dc2626;
}

.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 14px;
  color: #dc2626;
}

.wpcf7-response-output {
  margin: 0 !important;
  padding: 16px 20px !important;
  border-radius: var(--r-md);
  border-width: 1px !important;
  font-size: 15px;
  line-height: 22px;
}

.wpcf7 form.init .wpcf7-response-output {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #16a34a !important;
  color: #16a34a;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #dc2626 !important;
  color: #dc2626;
}

/* Contingut de l'editor ---------------------------------------------------- */
.entry-content > * + * {
  margin-top: 24px;
}

.entry-content h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 400;
  color: var(--c-text);
  margin-top: 40px;
}

.entry-content h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: var(--c-text);
  margin-top: 32px;
}

.entry-content p,
.entry-content li {
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: var(--c-text-80);
}

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
}

.entry-content ul li {
  list-style: disc;
}

.entry-content ol li {
  list-style: decimal;
}

.entry-content img,
.entry-content .wp-block-image img {
  height: auto;
  border-radius: var(--r-lg);
}

.entry-content blockquote {
  border-left: 4px solid var(--c-brown);
  padding-left: 28px;
  font-size: 20px;
  line-height: 30px;
  font-style: italic;
  color: var(--c-text);
}

.entry-content a {
  color: var(--c-brown);
  text-decoration: underline;
}

/* Paginació ---------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--c-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers:hover {
  background: var(--c-border);
}

.pagination .page-numbers.current {
  background: var(--c-green-dark);
  color: var(--c-cream);
}

/* Pàgines sense hero ---------------------------------------------------------
   La capçalera és blanca i flota sobre la imatge del hero. On no n'hi ha
   (textos legals, pàgines sense blocs) porta fons, o quedaria blanc sobre blanc. */
.no-hero .header {
  position: relative;
  background: var(--c-green-dark);
}

.container--narrow {
  max-width: 896px;
}

.page-plain .entry-content {
  margin-top: 32px;
}

/* Pàgina 404 ----------------------------------------------------------------- */
.error-404 {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding-top: 200px;
}

.error-404 .cta__inner {
  width: 100%;
}

.error-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  padding-top: 16px;
}

.error-404__link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-white-80);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.error-404__link:hover,
.error-404__link:focus-visible {
  color: var(--c-white);
}

/* Enllaços legals del peu ---------------------------------------------------- */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 16px;
}

.footer__legal-link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-text-70);
  transition: color 0.2s ease;
}

.footer__legal-link:hover {
  color: var(--c-text);
}

@media (max-width: 768px) {
  .error-404 {
    padding-top: 140px;
  }
}

/* Botó de reserva sobre capçalera fosca -------------------------------------
   El botó és verd fosc, pensat per anar sobre la foto del hero. Quan la
   capçalera ja és verda (pàgina 404, pàgines sense hero, capçalera fixa en fer
   scroll) s'inverteix, o no es veu. */
.error404 .header .btn--dark,
.no-hero .header .btn--dark,
.header.is-scrolled .btn--dark {
  background: var(--c-cream);
  color: var(--c-green-dark);
}
