/* ════════════════════════════════════════════════════════════
   PAPIK · PAGES PREMIUM (nosaltres, blog)
   Capa d'unificació visual amb l'estil de la home (index).
   Carrega DESPRÉS de blocks.css/components.css per overridejar.
   ════════════════════════════════════════════════════════════ */

:root {
  --pp-pad-y: clamp(96px, 9vw, 144px);
  --pp-pad-x: clamp(24px, 5vw, 56px);
  --pp-container: 1340px;
}

/* ─── Base · body color tokens ─────────────────────────── */
body { background: #fff; color: var(--text); font-family: var(--ff-sans); }

/* ─── Container · max width + paddings ────────────────── */
.section .container,
.section--tight .container,
.hero .container,
.quote-block .container,
.block-cta .container,
.blog-list .container,
.blog-grid-view .container {
  max-width: var(--pp-container);
  margin-inline: auto;
  padding-inline: var(--pp-pad-x);
}

/* ──────────────────────────────────────────────────────
   HERO · feel like rl-hero (dark green, white text)
   ────────────────────────────────────────────────────── */
.hero {
  background: var(--green-dark);
  color: #fff;
  padding: clamp(140px, 14vw, 200px) 0 clamp(72px, 8vw, 112px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 30% 80%, rgba(217,228,224,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__eyebrow,
.section-header__label,
.tag-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 24px;
  border-radius: 0;
}
.tag-pill--light { color: var(--green); }

.section .tag-pill,
.section--light .tag-pill {
  color: var(--muted);
}

.hero__title {
  font-family: var(--ff-sans);
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: var(--fw-light);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 28px;
  max-width: 18ch;
}

.hero__subtitle {
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: var(--fw-light);
  line-height: 1.55;
  color: #d9e4e0;
  max-width: 56ch;
  margin: 0 0 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Buttons (premium pill) ──────────────────────────── */
.hero__actions .btn-accent,
.hero__actions .btn-outline,
.hero__actions .btn-white,
.block-cta .btn-white,
.block-cta .btn-outline {background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.005em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease-out-quart),
              color 0.25s var(--ease-out-quart),
              transform 0.25s var(--ease-out-quart),
              box-shadow 0.25s var(--ease-out-quart),
              border-color 0.25s var(--ease-out-quart);
  border: 1px solid var(--green);
}
.hero__actions a,
.block-cta a { text-decoration: none; }
.hero__actions a > .btn-accent,
.hero__actions a > .btn-outline,
.hero__actions a > .btn-white,
.block-cta a > .btn-white,
.block-cta a > .btn-outline { display: inline-flex; }

.btn-accent,
.btn-white {
  background: #fff;
  color: var(--green);
}
.btn-accent:hover,
.btn-white:hover { background: #d9e4e0;
  color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(0, 40, 25, 0.30);
}

.btn-outline {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: transparent;
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────────────────
   SECTIONS · unified rhythm
   ────────────────────────────────────────────────────── */
.section {
  padding: var(--pp-pad-y) 0;
  background: #fff;
}
.section--light {
  background: var(--bg-light);
}
.section--tight {
  padding: clamp(48px, 5vw, 72px) 0;
}

/* Section header */
.section-header {
  max-width: 880px;
  margin: 0 0 56px;
}
.section-header__title {
  font-family: var(--ff-sans);
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: var(--fw-light);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--green);
  margin: 0;
  max-width: 18ch;
}
.section-header__lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 56ch;
  font-weight: var(--fw-light);
}
.section-header__lead strong {
  font-weight: var(--fw-medium);
  color: var(--green);
}
.section-header__count {
  font-size: 13px;
  color: var(--muted);
  font-weight: var(--fw-regular);
  letter-spacing: 0;
}

/* ──────────────────────────────────────────────────────
   STATS GRID
   ────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat__num {
  font-family: var(--ff-sans);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: var(--fw-light);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--green);
}
.stat__label {
  font-size: 13px;
  color: #002819;
  font-weight: var(--fw-light);
  line-height: 1.45;
}

/* ──────────────────────────────────────────────────────
   CARD GRID · soft white cards with hover lift
   ────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform 0.32s var(--ease-out-quart),
              border-color 0.32s var(--ease-out-quart),
              box-shadow 0.5s var(--ease-out-quart);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 40, 25, 0.16);
  box-shadow: 0 22px 44px -20px rgba(0, 40, 25, 0.18);
}
.section--light .card { background: #fff; }

.card .tag-pill {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 14px;
}
.card__title {
  font-family: var(--ff-sans);
  font-size: 18px !important;
  font-weight: var(--fw-medium);
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--green);
  margin: 0 0 12px;
}
.card__excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: var(--fw-light);
  margin: 0;
}

/* ──────────────────────────────────────────────────────
   EQUIP · team grid
   ────────────────────────────────────────────────────── */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.equip-card {
  text-align: center;
}
.equip-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  margin-bottom: 16px;
  transition: transform 0.45s var(--ease-out-quart);
}
.equip-card:hover .equip-card__photo {
  transform: translateY(-3px);
}
.equip-card__name {
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--green);
  margin: 0;
  letter-spacing: -0.005em;
}
.equip-card__role {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────────────────
   QUOTE BLOCK · simple editorial block
   ────────────────────────────────────────────────────── */
.quote-block {
  background: var(--green);
  color: #fff;
  padding: clamp(72px, 8vw, 120px) 0;
  position: relative;
}
.quote-block .container { text-align: center; }
.quote-block__mark {
  display: block;
  font-family: var(--ff-sans);
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  font-weight: var(--fw-light);
  margin-bottom: 12px;
}
.quote-block__text {
  font-family: var(--ff-sans);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: var(--fw-light);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  max-width: 32ch;
  margin: 0 auto 18px;
}
.quote-block__author {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9e4e0;
  margin: 0;
}

.blockquote-accent {
  font-family: var(--ff-sans);
  font-size: clamp(18px, 1.5vw, 22px) !important;
  font-weight: var(--fw-light);
  font-style: normal !important;
  line-height: 1.45;
  color: var(--green);
  padding: 22px 0 22px 22px;
  border-left: 2px solid var(--accent);
  margin: 32px 0 0;
}

/* ──────────────────────────────────────────────────────
   COMPARE GRID (Eskimohaus)
   ────────────────────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 32px;
}
.compare-col {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 32px 28px;
}
.compare-col--hi {
  background: var(--green);
  color: #fff;
  border-color: transparent;
}
.compare-col__label {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.compare-col--hi .compare-col__label { color: var(--accent); }
.compare-col__sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.4;
}
.compare-col--hi .compare-col__sub { color: #d9e4e0; }
.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.compare-col li {
  font-size: 14px;
  line-height: 1.55;
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  color: var(--text);
}
.compare-col--hi li {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.compare-vs {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
  color: var(--green);
  text-decoration: none;
  transition: gap 0.25s var(--ease-out-quart);
}
.link-arrow:hover { gap: 12px; }
.compare-col--hi .link-arrow { color: var(--accent); }

/* ──────────────────────────────────────────────────────
   TIMELINE
   ────────────────────────────────────────────────────── */
.timeline {
  display: grid;
  gap: 18px;
}
.timeline-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 28px 30px;
  transition: transform 0.32s var(--ease-out-quart),
              border-color 0.32s var(--ease-out-quart),
              box-shadow 0.5s var(--ease-out-quart);
}
.timeline-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 40, 25, 0.16);
  box-shadow: 0 18px 36px -16px rgba(0, 40, 25, 0.14);
}
.timeline-item--hi {
  background: var(--green);
  color: #fff;
  border-color: transparent;
}
.timeline-item__year {
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.timeline-item:not(.timeline-item--hi) .timeline-item__year { color: var(--muted); }
.timeline-item__title {
  font-family: var(--ff-sans);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: var(--fw-light);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--green);
  margin: 0 0 12px;
}
.timeline-item--hi .timeline-item__title { color: #fff; }
.timeline-item__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: var(--fw-light);
  margin: 0;
}
.timeline-item--hi .timeline-item__desc { color: #d9e4e0; }

/* ──────────────────────────────────────────────────────
   BLOCK CTA (final)
   ────────────────────────────────────────────────────── */
.block-cta {
  background: var(--green);
  color: #fff;
  padding: var(--pp-pad-y) 0;
  position: relative;
  text-align: center;
}
.block-cta::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at bottom right, rgba(217, 228, 224, 0.22), transparent 70%);
  pointer-events: none;
}
.block-cta__label {
  font-size: 11.5px;
  font-weight: var(--fw-regular);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.block-cta__title {
  font-family: var(--ff-sans);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: var(--fw-light);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
  max-width: 22ch;
  margin-inline: auto;
}
.block-cta__sub {
  font-size: 16px;
  line-height: 1.55;
  color: #d9e4e0;
  max-width: 56ch;
  margin: 0 auto 36px;
  font-weight: var(--fw-light);
}

/* ──────────────────────────────────────────────────────
   BLOG · breadcrumb, featured card, list items, filters
   ────────────────────────────────────────────────────── */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9e4e0;
  margin-bottom: 24px;
}
.breadcrumb a {
  color: #d9e4e0;
  text-decoration: none;
  transition: color 0.25s var(--ease-out-quart);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.32); }

.featured-card {
  margin-top: 56px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 40, 25, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.featured-card__link {
  display: contents;
  text-decoration: none;
}
.featured-card__img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.featured-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-out-quart);
}
.featured-card:hover .featured-card__img { transform: scale(1.04); }
.featured-card__content {
  padding: clamp(32px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-card__meta {
  display: flex;
  gap: 16px;
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.featured-card__cat {font-size: 11.5px;font-weight: var(--fw-regular); color: var(--accent); }
.featured-card__title {
  font-family: var(--ff-sans);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: var(--fw-medium);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--green);
  margin: 0 0 16px;
}
.featured-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: var(--fw-light);
  margin: 0 0 22px;
}
.featured-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  transition: gap 0.25s var(--ease-out-quart);
}
.featured-card:hover .featured-card__cta { gap: 12px; }

@media (max-width: 880px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-card__img-wrap { min-height: 240px; }
}

/* Filter pills */
.filter-bar__pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: var(--fw-medium);
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s var(--ease-out-quart),
              color 0.25s var(--ease-out-quart),
              border-color 0.25s var(--ease-out-quart);
}
.pill:hover { color: var(--green); border-color: var(--green); }
.pill.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* View toggle */
.view-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.view-toggle__btn {
  appearance: none;
  background: var(--accent-soft);
  border: 0;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.25s var(--ease-out-quart);
}
.view-toggle__btn.is-active {
  background: var(--green);
}
.view-toggle__btn.is-active svg rect { fill: #fff; }

/* List items (blog list view) */
.blog-list { background: #fff; padding-bottom: var(--pp-pad-y); }
.list-item {
  display: block;
  background: #fff;
  border-top: 1px solid var(--border-soft);
  padding: 28px 0;
  text-decoration: none;
  transition: padding 0.25s var(--ease-out-quart);
  position: relative;
}
.list-item:last-child { border-bottom: 1px solid var(--border-soft); }
.list-item:hover { padding-left: 16px; }
.list-item__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.list-item__content { flex: 1; min-width: 0; }
.list-item__meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.list-item__cat {font-size: 11.5px;font-weight: var(--fw-regular); color: var(--accent); }
.list-item__title {
  font-family: var(--ff-sans);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: var(--fw-light);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--green);
  margin: 0 0 10px;
}
.list-item__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: var(--fw-light);
  margin: 0 0 8px;
  max-width: 80ch;
}
.list-item__hint {
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.list-item__arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-out-quart),
              background 0.25s var(--ease-out-quart),
              border-color 0.25s var(--ease-out-quart);
}
.list-item:hover .list-item__arrow {
  background: var(--green);
  border-color: var(--green);
}
.list-item:hover .list-item__arrow svg path { fill: #fff; }
.list-item__hover { display: none; }

/* Grid view */
.blog-grid-view { background: #fff; padding-bottom: var(--pp-pad-y); }
.blog-grid-view .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-grid-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.32s var(--ease-out-quart),
              border-color 0.32s var(--ease-out-quart),
              box-shadow 0.5s var(--ease-out-quart);
}
.blog-grid-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 40, 25, 0.16);
  box-shadow: 0 22px 44px -20px rgba(0, 40, 25, 0.18);
}
.blog-grid-card__img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.blog-grid-card__body { padding: 22px 24px 26px; }
.blog-grid-card__meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.blog-grid-card__cat { color: var(--accent); }
.blog-grid-card__title {
  font-family: var(--ff-sans);
  font-size: 16px;
  font-weight: var(--fw-medium);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--green);
  margin: 0;
}
.blog-grid-card__spotlight { display: none; }

@media (max-width: 980px) {
  .blog-grid-view .container { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { justify-content: center; padding: 8px 0; }
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid-view .container { grid-template-columns: 1fr; }
  .stats-grid, .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .list-item__inner { gap: 20px; }
  .list-item__arrow { width: 36px; height: 36px; }
  .section-header { margin-bottom: 36px; }
  .blockquote-accent { padding-left: 16px; }
}

/* ──────────────────────────────────────────────────────
   FOOTER · index-style (overrides legacy footer)
   ────────────────────────────────────────────────────── */
body footer {
  background: var(--footer-bg);
  color: #d9e4e0;
  padding: 80px 0 36px;
}
body footer .container {
  max-width: var(--pp-container);
  margin: 0 auto;
  padding-inline: var(--pp-pad-x);
}
body footer .footer__content__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
body footer .footer-col p.footer__col-title,
body footer .footer__newsletter p.footer__col-title {
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
body footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body footer .footer-col a {
  font-size: 13.5px;
  color: #d9e4e0;
  text-decoration: none;
  transition: color 0.25s var(--ease-out-quart);
}
body footer .footer-col a:hover { color: #fff; }
body footer .info-showroom__item { margin-bottom: 20px; }
body footer .info-showroom__item h3 {
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9e4e0;
  margin: 0 0 8px;
}
body footer .info-showroom__item p {
  font-size: 13px;
  color: #d9e4e0;
  line-height: 1.5;
  margin: 0;
}
body footer .info-showroom__item a {
  color: #d9e4e0;
  text-decoration: none;
}
body footer .info-showroom__item a:hover { color: #fff; }
body footer .footer__newsletter p:not(.footer__col-title) {
  font-size: 13px;
  color: #d9e4e0;
  line-height: 1.5;
  margin: 0 0 16px;
}
body footer .newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 6px 6px 6px 18px;
  margin-bottom: 24px;
}
body footer .newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
}
body footer .newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
body footer .newsletter-form button {
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s var(--ease-out-quart);
}
body footer .newsletter-form button:hover { background: #d9e4e0; }
body footer .footer__rrss p { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #d9e4e0; margin-bottom: 10px; }
body footer .rrss__links { display: flex; gap: 16px; }
body footer .rrss__links a {
  font-size: 13px;
  color: #d9e4e0;
  text-decoration: none;
  transition: color 0.25s var(--ease-out-quart);
}
body footer .rrss__links a:hover { color: var(--accent); }
body footer .copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  flex-wrap: wrap;
}
body footer .copyright p {
  font-size: 12px;
  color: #d9e4e0;
  margin: 0;
  line-height: 1.5;
}
body footer .copyright .row-20 {
  display: flex;
  gap: 24px;
}
body footer .copyright .row-20 a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35) !important;
  text-decoration: none;
  transition: color 0.25s var(--ease-out-quart);
}
body footer .copyright .row-20 a:hover { color: #d9e4e0 !important; }

@media (max-width: 980px) {
  body footer .footer__content__info {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}
@media (max-width: 640px) {
  body footer .footer__content__info {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  body footer .copyright {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ──────────────────────────────────────────────────────
   REDUCED MOTION
   ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .card, .timeline-item, .blog-grid-card, .list-item,
  .featured-card__img, .equip-card__photo,
  .btn-accent, .btn-white, .btn-outline {
    transition: none !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   Opinions · integrated INSIDE the "fites" white box (after a
   rl-featured__divider), cards homogeneous with the fites cards
   (same 3-col size + format) but TEXT-LED (no image / year pill).
═══════════════════════════════════════════════════════════ */
.rl-opinions-note { font-size: 13px; letter-spacing: 0.02em; color: var(--muted); margin: 10px 0 28px; }
.rl-opinions-cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 24px; margin-top: 0; }
.rl-opinions-cards .rl-featured__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; overflow: hidden; }
.rl-opinions-cards .rl-featured__card:hover { transform: translateY(-4px); border-color: rgba(0, 40, 25, 0.16); box-shadow: 0 22px 44px -20px rgba(0, 40, 25, 0.18); }
.rl-opinions-cards .rl-featured__card-body { flex: 1; display: flex; flex-direction: column; padding: 26px 24px 24px; }
.rl-opinions-cards .rl-featured__card-title { font-size: 15px; font-weight: var(--fw-medium); line-height: 1.5; letter-spacing: -0.005em; color: var(--green); margin: 0 0 16px; }
.rl-opinions-cards .rl-featured__card-desc { margin: auto 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); font-weight: var(--fw-light); }
@media (max-width: 900px) { .rl-opinions-cards { grid-template-columns: 1fr; } }

/* fites timeline · brand-logo panels (no photo): green bg + centered logo, no distortion */
.rl-featured__card-visual.rl-fites-logo {
  background-color: #002819;
  background-size: 60% auto;
  background-position: center;
  background-repeat: no-repeat;
}
.rl-featured__card-visual.rl-fites-logo::after { display: none; }

/* fites timeline · light logo panel (oval "Papik fuster"): white bg + centered logo, no distortion */
.rl-featured__card-visual.rl-fites-logo-light {
  background-color: #ffffff;
  background-size: 90% auto;
  background-position: center;
  background-repeat: no-repeat;
}
.rl-featured__card-visual.rl-fites-logo-light::after { display: none; }

/* fites timeline · 10% zoom on a specific photo */
.rl-featured__card-visual.rl-fites-zoom { background-size: 125%; background-position: 36% center; }

/* year pill needs a subtle edge on the dark-green logo panel (same fill colour) */
.rl-featured__card-visual.rl-fites-logo .rl-year-badge { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32); }

/* fites grid · sempre 2 files de 3 columnes (mida anterior); doble classe venç el
   !important de 2-col de rl-system. Visual de 160px com abans. */
.rl-featured__cards.hp-fites-grid { grid-template-columns: repeat(3, 1fr) !important; }
.hp-fites-grid .rl-featured__card-visual { height: 160px; }
/* photo cards (no logo/zoom variant) must cover the frame, not show at natural size */
.hp-fites-grid .rl-featured__card-visual:not(.rl-fites-logo):not(.rl-fites-logo-light):not(.rl-fites-zoom) {
  background-size: cover; background-position: center;
}
@media (max-width: 760px) {
  .rl-featured__cards.hp-fites-grid { grid-template-columns: 1fr !important; }
  .hp-fites-grid .rl-featured__card-visual { height: 160px; }
}

/* ════════════════════════════════════════════════════════════
   About-page · E-tier (hero supporting line + above-the-fold trust strip)
   Mirrors the home's `body.is-home .rl-hero__sub` / `.rl-trust` rules
   (home-premium.css §E) so /nosaltres · /nosotros · /about reach the same
   conversion + hierarchy standard set in the index 10/10 audit. The home
   does NOT load pages-premium.css, so these unscoped selectors never collide.
   ════════════════════════════════════════════════════════════ */
.rl-hero__sub {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.5;
  color: #ffffff;
  max-width: 560px;
  margin: 12px 0 26px;
  text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}
.rl-trust { border-bottom: 1px solid var(--border-soft); }
.rl-trust__container {
  max-width: 1440px; margin: 0 auto;
  padding: 22px 56px;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 44px;
}
.rl-trust__item {
  position: relative;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: var(--fw-medium); color: var(--muted);
}
.rl-trust__item:not(:last-child)::after {
  content: ""; position: absolute; right: -22px; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--border); transform: translateY(-50%);
}
@media (max-width: 600px) {
  .rl-trust__container { padding: 16px 24px; gap: 8px 26px; }
  .rl-trust__item { font-size: 11px; letter-spacing: 0.04em; }
  .rl-trust__item:not(:last-child)::after { right: -14px; }
  /* Phone · condense the trust bar to a single phrase on one line
     (the 4 items otherwise wrap to ~3 lines and read as too dense) */
  .rl-trust__item:not(:first-child) { display: none; }
  .rl-trust__item:first-child::after { display: none; }
}

/* rl-anim jumbo · the <strong> highlight sits on the green band, so it must be
   mint — matches the home's `body.is-home .rl-anim__title strong { color:#d9e4e0 }`.
   Without this, interior pages fall back to rl-system.css `color: var(--accent)`
   (= #002819 after the palette purge) and the word turns invisible on the green. */
.rl-anim__title strong { color: #d9e4e0; }

/* Valors cards · unify the two groups. The `--filled` group (components-rich.css)
   was a flat #002819 while the plain group uses the textured corporate-green field
   (mint bloom + black vignette) from rl-system.css `:has(> i)`. Force both to the
   textured version so the two icon-tile sets read as one homogeneous family —
   the icon stays the only differentiator. */
.rl-featured__cards--filled .rl-featured__card-visual:has(> i),
.rl-featured__cards--filled .rl-featured__card-visual:has(> svg) {
  background:
    radial-gradient(125% 120% at 78% 12%, rgba(217, 228, 224, 0.20) 0%, rgba(217, 228, 224, 0) 52%),
    radial-gradient(120% 120% at 12% 100%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 55%),
    #002819;
}

/* ════════════════════════════════════════════════════════════
   Fites timeline · detail pop-up. Sub-cards reuse the EXACT timeline card
   classes (.hp-fites-timeline__card) so they are visually identical to the
   main milestones: year pill over the photo, 180px image, same body. 4 per
   stage, 2x2 grid, equal heights. No close button (backdrop / Esc closes);
   the overlay itself scrolls so tall content is always reachable.
   ════════════════════════════════════════════════════════════ */
.hp-fites-timeline__card[data-fites] { cursor: pointer; }
.rl-fites-modal[hidden] { display: none !important; }
.rl-fites-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 24px;
  opacity: 0; transition: opacity .3s ease;
}
.rl-fites-modal.is-open { opacity: 1; }
.rl-fites-modal__backdrop {
  position: fixed; inset: 0;
  background: rgba(0,40,25,0.55); backdrop-filter: blur(2px);
}
.rl-fites-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: auto;
  background: #fff; border-radius: 20px;
  padding: 40px clamp(20px, 4vw, 48px) 44px;
  box-shadow: 0 30px 80px rgba(0, 40, 25, 0.28);
  transform: translateY(16px) scale(0.985);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.rl-fites-modal.is-open .rl-fites-modal__dialog { transform: none; }
.rl-fites-modal__head { margin-bottom: 26px; }
.rl-fites-modal__period {
  display: inline-block; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.04em; font-weight: var(--fw-medium); color: var(--muted); margin-bottom: 10px;
}
.rl-fites-modal__title {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: var(--fw-light);
  line-height: 1.15; letter-spacing: -0.01em; color: var(--green); margin: 0;
}
.rl-fites-modal__cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr; gap: 14px;
}
@media (max-width: 820px) { .rl-fites-modal__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .rl-fites-modal__cards { grid-template-columns: 1fr; } }
/* Sub-cards reuse the valors card model (.rl-featured__card): same size + shape,
   but the visual is a real IMAGE (no green field, no icon). Year pill overlaid
   on the photo. */
.rl-fites-modal .rl-featured__card { position: relative; }
.rl-fites-modal .rl-featured__card-visual {
  height: 140px; background-size: cover; background-position: center; background-repeat: no-repeat;
}

/* ════════════════════════════════════════════════════════════
   ARTICLE · screen header typography (applies to every article page)
   Title carries more weight than the rl-system default (Light); the
   lead sits one step below the title so the hierarchy reads clearly.
   TT Firs Neue 500 / 400 (the only allowed weights besides 300).
   Scoped to body.article-page; higher specificity than each article's
   inline rules, so it wins without touching the 324 article files.
   ════════════════════════════════════════════════════════════ */
body.article-page .rl-featured__title { font-weight: var(--fw-medium); }
body.article-page .article-lead { font-weight: var(--fw-regular); }
/* Category pill: authorized light corporate green (#d9e4e0), overriding the
   translucent dark-green tint that read grayish inline in the articles. */
body.article-page .article-meta-top__cat { background: #d9e4e0; }

/* Meta separator: render the empty dot span as a corporate pipe "|" instead of
   a filled circle. Higher specificity than each article's inline rule. */
body.article-page .article-meta-top__dot {
  width: auto; height: auto; background: none; border-radius: 0;
  color: rgba(0,40,25,0.55); font-weight: var(--fw-light);
}
body.article-page .article-meta-top__dot::before { content: "|"; }

/* ════════════════════════════════════════════════════════════
   ARTICLE · print / Save-as-PDF layout (the "Descarregar PDF" foot
   button calls window.print(); handler in motion-system.js).
   Audited brand format: TT Firs Neue, corporate green on white, all
   chrome stripped, full-width prose, clean page breaks. Scoped to
   body.article-page so it never affects other pages. Palette-pure
   (#002819 + white + rgba(0,40,25,..)).
   ════════════════════════════════════════════════════════════ */
@page { margin: 16mm 15mm 18mm; }
/* Branded PDF letterhead (logo header + corporate footer) injected by
   motion-system.js — visible only when printing. */
body.article-page .pdf-doc-head,
body.article-page .pdf-doc-foot { display: none; }

@media print {
  @page { margin: 16mm 15mm 18mm; }

  html,
  body.article-page {
    background: #fff !important;
    color: #002819 !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Strip all on-screen chrome, the hero photo and the related grid */
  body.article-page .rl-header,
  body.article-page > header,
  body.article-page .rl-mega,
  body.article-page .rl-footer,
  body.article-page > footer,
  body.article-page .rl-mobile-nav,
  body.article-page .hp-login,
  body.article-page .rl-pillar-modal,
  body.article-page #papik-dot,
  body.article-page #papik-cc-banner,
  body.article-page .papik-cc,
  body.article-page .skip-link,
  body.article-page .rl-featured__img,
  body.article-page .article-related-section,
  body.article-page .article-foot { display: none !important; }

  /* Article shell -> full width, no tint, no shadow */
  body.article-page .rl-featured,
  body.article-page .rl-featured__container,
  body.article-page .rl-featured__inner {
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  /* ── Document header · official PAPIK logo ──────────────── */
  body.article-page .pdf-doc-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16pt;
    padding-bottom: 9pt;
    margin-bottom: 22pt;
    border-bottom: 1.5pt solid #002819;
  }
  body.article-page .pdf-doc-head svg {
    width: 116pt;
    height: auto;
    fill: #002819 !important;
  }
  body.article-page .pdf-doc-head__tag {
    font-family: var(--ff-sans);
    font-weight: 400;
    font-size: 8pt;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(0,40,25,0.66);
    white-space: nowrap;
  }

  /* ── Document footer · copyright + source URL ───────────── */
  body.article-page .pdf-doc-foot {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 12pt;
    margin-top: 26pt;
    padding-top: 8pt;
    border-top: 1pt solid rgba(0, 40, 25, 0.28);
    font-family: var(--ff-sans);
    font-size: 8pt;
    letter-spacing: 0.03em;
    color: rgba(0, 40, 25, 0.6);
  }
  body.article-page .pdf-doc-foot__brand { font-weight: 500; color: #002819; }
  body.article-page .pdf-doc-foot__url { font-weight: 300; }

  /* ── Meta line · outlined pill (no background dependence) ── */
  body.article-page .article-meta-top {
    color: rgba(0,40,25,0.66) !important;
    margin-bottom: 14pt !important;
    font-size: 8.5pt !important;
  }
  body.article-page .article-meta-top__cat {
    background: transparent !important;
    color: #002819 !important;
    border: 0.8pt solid rgba(0, 40, 25, 0.45);
    padding: 2pt 7pt !important;
    font-size: 7.5pt !important;
  }

  /* ── Title + lead ───────────────────────────────────────── */
  body.article-page .rl-featured__title {
    color: #002819 !important;
    font-size: 23pt !important;
    line-height: 1.12 !important;
    margin: 0 0 10pt !important;
    break-after: avoid;
  }
  body.article-page .article-lead {
    color: #002819 !important;
    font-size: 11.5pt !important;
    line-height: 1.5 !important;
    padding-bottom: 12pt !important;
    margin-bottom: 16pt !important;
    border-bottom: 0.8pt solid rgba(0, 40, 25, 0.18) !important;
  }

  /* ── Body prose ─────────────────────────────────────────── */
  body.article-page .article-prose { max-width: none !important; }
  body.article-page .article-prose p,
  body.article-page .article-prose li {
    color: #002819 !important;
    font-size: 10.5pt !important;
    line-height: 1.55 !important;
    margin: 0 0 8pt !important;
  }
  body.article-page .article-prose h2 {
    color: #002819 !important;
    font-size: 14pt !important;
    margin: 16pt 0 6pt !important;
    break-after: avoid;
  }
  body.article-page .article-prose h3 {
    color: #002819 !important;
    font-size: 11.5pt !important;
    margin: 12pt 0 5pt !important;
    break-after: avoid;
  }
  body.article-page .article-prose strong { color: #002819 !important; }
  body.article-page .article-prose em { color: #002819 !important; font-style: normal; }
  body.article-page .article-prose a { color: #002819 !important; text-decoration: underline; }

  /* Pull-quote · readable on white paper (overrides the dark-green
     gradient tile + white text used on screen, which would print as
     white-on-white). */
  body.article-page .article-prose blockquote {
    background: #ffffff !important;
    border-left: 2.5pt solid #002819 !important;
    border-radius: 0 3pt 3pt 0 !important;
    padding: 12pt 14pt !important;
    margin: 12pt 0 !important;
    break-inside: avoid;
  }
  body.article-page .article-prose blockquote p {
    color: #002819 !important;
    font-size: 11.5pt !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  body.article-page .article-prose p,
  body.article-page .article-prose figure,
  body.article-page .article-prose img { break-inside: avoid; }
  body.article-page img { max-width: 100% !important; height: auto !important; }

  /* Freeze any motion/transform so nothing prints mid-animation */
  body.article-page * { animation: none !important; transition: none !important; }
}

/* ════════════════════════════════════════════════════════════
   BLOG ARTICLE · screen refinements (applies to every article, existing
   and future, via body.article-page — overrides the per-article inline CSS)
   · pull-quote box uses the corporate-green gradient tile: the same
     textured field as the rl-featured card visuals / phase-card icons
     (mint bloom + black vignette + #002819), with white quote text and a
     mint left rail for contrast. Palette-pure (#002819 + #d9e4e0 + white).
   ════════════════════════════════════════════════════════════ */
body.article-page .article-prose blockquote {
  background:
    radial-gradient(125% 120% at 78% 12%, rgba(217, 228, 224, 0.20) 0%, rgba(217, 228, 224, 0) 52%),
    radial-gradient(120% 120% at 12% 100%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 55%),
    #002819;
  border-left: 2px solid var(--green-accent);
}
body.article-page .article-prose blockquote p { color: #fff; }

/* ════════════════════════════════════════════════════════════
   ARTICLE · mobile (vertical) only — hero photo and white content card
   must read as the SAME width. They already share the same layout width;
   the hero's hover/zoom scale (1.02, rl-system.css) is what bleeds it
   ~4px past the card in narrow/emulated views. Disable the scale below
   the stacked breakpoint so the two align exactly. Desktop keeps the zoom.
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  body.article-page .rl-featured__img { transform: none !important; }
}

/* ════════════════════════════════════════════════════════════════
   ARTICLE EXTRAS · reading progress thread + settling hero photo
   ════════════════════════════════════════════════════════════════ */

/* Reading progress · thin green thread pinned to the top edge, driven
   natively by scroll position (no JS; unsupported browsers show nothing) */
@supports (animation-timeline: scroll()) {
  body.article-page::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: #002819;
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 1200;
    pointer-events: none;
    animation: papik-read-progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes papik-read-progress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* Hero photo · slow settling zoom on load (discreet Ken Burns) */
body.article-page .rl-featured__img {
  animation: papik-kenburns 16s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes papik-kenburns {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  body.article-page::before { animation: none; content: none; }
  body.article-page .rl-featured__img { animation: none; }
}
