/* ===========================================================
   BCS · Prototipo home — paleta corporativa naranja/gris
   =========================================================== */

:root {
  --orange-700: #C45F00;
  --orange-600: #EF7912;
  --orange-500: #F3924F;
  --orange-300: #F8B78C;
  --orange-100: #FDEEDF;
  --orange-50:  #FFF8F1;

  --ink-900: #1F1D1B;
  --ink-700: #3A3735;
  --ink-500: #6E6A66;
  --ink-400: #888383;
  --ink-200: #D9D5D1;
  --ink-100: #ECE8E4;
  --ink-50:  #F7F4F0;

  --white: #FFFFFF;

  --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --sans:  "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(31, 29, 27, .06);
  --shadow-md: 0 10px 30px rgba(31, 29, 27, .08);
  --shadow-lg: 0 30px 60px rgba(31, 29, 27, .12);

  --t: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink-900);
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-feature-settings: "ss01" on;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.04; font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; line-height: 1.25; }
h4 { font-size: 1rem; }

em {
  font-style: italic;
  color: var(--orange-600);
  font-feature-settings: "ss01" on;
}

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-600);
  padding: .35rem .7rem;
  border: 1px solid var(--orange-300);
  border-radius: 999px;
  background: var(--orange-50);
  margin-bottom: 1.4rem;
}
.eyebrow--dark {
  color: var(--ink-500);
  border-color: var(--ink-200);
  background: var(--ink-50);
}
.eyebrow--light {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--t), box-shadow .25s var(--t), background .25s var(--t), color .25s var(--t);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink-900);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(31, 29, 27, .18);
}
.btn--primary:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239, 121, 18, .35);
}
.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn--ghost:hover {
  border-color: var(--orange-600);
  color: var(--orange-700);
  transform: translateY(-2px);
}
.btn--dark {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn--dark:hover {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--white);
}
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--orange-700);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .25s var(--t), color .25s var(--t);
}
.link-arrow:hover { gap: .8rem; color: var(--ink-900); }

/* ---------- Sticky stack (topbar + header) ---------- */
.page-stickytop {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, #161412 0%, var(--ink-900) 50%, #161412 100%);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  border-bottom: 1px solid rgba(239,121,18,.18);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-block: .55rem;
  flex-wrap: wrap;
}
.topbar__group {
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}
.topbar__ico {
  color: var(--orange-500);
  flex-shrink: 0;
}
.topbar__phones { gap: .35rem; }
.topbar__phones a {
  transition: color .2s;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.topbar__phones a:hover { color: var(--orange-300); }
.topbar__sep {
  opacity: .35;
  font-size: .7rem;
}
.topbar__email a { transition: color .2s; }
.topbar__email a:hover { color: var(--orange-300); }
.topbar__addr {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255,255,255,.6);
}
.topbar__addr span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__lang {
  display: flex;
  gap: .45rem;
  margin-left: auto;
  align-items: center;
}
.topbar__lang a {
  opacity: .65;
  padding: .15rem .4rem;
  border-radius: 4px;
  transition: opacity .2s, background .2s, color .2s;
}
.topbar__lang a:hover { opacity: 1; }
.topbar__lang a.is-active {
  opacity: 1;
  color: var(--orange-300);
  font-weight: 700;
  background: rgba(239,121,18,.12);
}
.topbar__lang > span { opacity: .3; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--ink-100);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1.05rem;
}
.logo img, .logo__svg { height: 88px; width: auto; display: block; }
.logo__svg { overflow: visible; }
.site-footer__logo { height: 96px; width: auto; display: block; filter: none; margin-bottom: 1rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  font-weight: 500;
  font-size: .96rem;
}
.nav a {
  position: relative;
  color: var(--ink-700);
  transition: color .2s;
}
.nav a:hover { color: var(--orange-700); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--orange-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--t);
}
.nav a:hover::after { transform: scaleX(1); }
.nav__portal-wrap {
  position: relative;
}
.nav__portal {
  background: var(--orange-50);
  border: 1px solid var(--orange-300);
  color: var(--orange-700) !important;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .86rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .2s var(--t);
}
.nav__portal::after { display: none; }
.nav__portal:hover {
  background: var(--orange-100);
  transform: translateY(-1px);
}
.nav__portal-wrap:hover .nav__portal {
  background: var(--orange-600);
  color: var(--white) !important;
  border-color: var(--orange-600);
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  padding: .5rem;
  box-shadow: 0 20px 50px rgba(31,29,27,.18);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--t), transform .25s var(--t), visibility .25s;
  z-index: 60;
}
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 32px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-top: 1px solid var(--ink-100);
  border-left: 1px solid var(--ink-100);
  transform: rotate(45deg);
}
.nav__portal-wrap:hover .nav__dropdown,
.nav__portal-wrap:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  transition: background .2s var(--t), transform .2s var(--t);
  color: var(--ink-700);
}
.nav__dropdown a:hover {
  background: var(--orange-50);
  transform: translateX(3px);
}
.nav__dropdown a::after { display: none; }
.nav__dropdown-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--orange-50);
  color: var(--orange-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--orange-300);
  transition: background .2s, color .2s;
}
.nav__dropdown a:hover .nav__dropdown-ico {
  background: var(--orange-600);
  color: var(--white);
  border-color: var(--orange-600);
}
.nav__dropdown a strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink-900);
  font-size: .98rem;
  line-height: 1.1;
}
.nav__dropdown a span {
  display: block;
  font-size: .78rem;
  color: var(--ink-500);
  margin-top: .2rem;
}
.nav__cta {
  padding: .7rem 1.2rem;
  font-size: .9rem;
}

.burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 5.5vw, 72px);
  background:
    radial-gradient(1100px 600px at 100% 0%, var(--orange-50) 0%, transparent 60%),
    radial-gradient(800px 600px at 0% 100%, var(--ink-50) 0%, transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__text { max-width: 640px; }

/* ============ Hero centrat (versió final) ============ */
.hero--centered .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.hero--centered .hero__text {
  max-width: 920px;
  margin: 0 auto;
}
.hero--centered .hero__lead { margin-inline: auto; }
.hero--centered .hero__cta,
.hero--centered .hero__trust { justify-content: center; }
.hero--centered .hero__trust { display: none; }
.hero--centered h1 {
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 1.1rem;
}
.hero--centered .hero__lead {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  max-width: 60ch;
  margin-bottom: 1.8rem;
}
.hero--centered .hero__cta { margin-bottom: 0; }
.hero--centered .eyebrow { margin-bottom: 1rem; }

/* ============ Proposta D · Minim · hero a 1 columna centrada ============ */
.hero--minimal .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.hero--minimal .hero__text {
  max-width: 820px;
  margin: 0 auto;
}
.hero--minimal .hero__lead { margin-inline: auto; }
.hero--minimal .hero__cta,
.hero--minimal .hero__trust { justify-content: center; }
.hero--minimal h1 { font-size: clamp(2.8rem, 6vw, 5rem); }

/* ============ Proposta E · Mix · text + xifres editorials ============ */
.hero__numbers { display: none; }
.hero--mix .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.hero--mix .hero__text {
  max-width: 880px;
  margin: 0 auto;
}
.hero--mix .hero__lead { margin-inline: auto; }
.hero--mix .hero__cta,
.hero--mix .hero__trust { justify-content: center; }
.hero--mix .hero__trust { display: none; }
.hero--mix h1 { font-size: clamp(2.8rem, 6vw, 5rem); }

.hero--mix .hero__numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 60px);
  margin: 2.4rem auto 2.4rem;
  padding: 2rem 0 1.8rem;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  text-align: center;
  max-width: 720px;
  width: 100%;
  position: relative;
}
.hero--mix .hero__numbers::before,
.hero--mix .hero__numbers::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-600);
  left: 50%;
  transform: translateX(-50%);
}
.hero--mix .hero__numbers::before { top: -4.5px; }
.hero--mix .hero__numbers::after  { bottom: -4.5px; }

.hero__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  position: relative;
  opacity: 0;
  animation: numFade .7s cubic-bezier(.22,.61,.36,1) both;
}
.hero--mix .hero__numbers .hero__num:nth-child(1) { animation-delay: .15s; }
.hero--mix .hero__numbers .hero__num:nth-child(2) { animation-delay: .3s;  }
.hero--mix .hero__numbers .hero__num:nth-child(3) { animation-delay: .45s; }
.hero__num:nth-child(n+2)::before {
  content: "";
  position: absolute;
  top: 22%;
  left: -1px;
  width: 1px;
  height: 56%;
  background: var(--ink-100);
}
@keyframes numFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__num strong {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--orange-700);
  line-height: 1;
  letter-spacing: -.02em;
  font-feature-settings: "ss01" on;
}
.hero__num strong sup {
  font-size: .38em;
  color: var(--orange-500);
  font-weight: 400;
  margin-left: .05em;
  vertical-align: super;
}
.hero__num span {
  font-size: clamp(.72rem, 1vw, .85rem);
  color: var(--ink-500);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-500);
  margin-bottom: 2.2rem;
  max-width: 56ch;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  font-size: .9rem;
  color: var(--ink-500);
}
.hero__trust span:nth-child(even) { color: var(--ink-200); }

/* visual lateral — foto del despatx amb targeta flotant */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.hero__visual--brand,
.hero__visual--photo {
  margin-right: auto;
}

.hero-photo {
  position: relative;
  aspect-ratio: 4/4.6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink-100);
}
.hero-photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.5s var(--t);
}
.hero-photo:hover .hero-photo__img { transform: scale(1.04); }
.hero-photo__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(31,29,27,.22) 70%, rgba(31,29,27,.45) 100%);
  pointer-events: none;
}
.hero-photo__pin {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(31,29,27,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  padding: .5rem .85rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
  letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.12);
}
.hero-photo__pin svg { color: var(--orange-500); flex-shrink: 0; }

.hero-photo__card {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  padding: 1.3rem 1.5rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange-600);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  max-width: 280px;
  z-index: 2;
}
.hero-photo__card-pre {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-700);
  font-weight: 700;
  margin-bottom: .25rem;
}
.hero-photo__card-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -.02em;
  display: flex;
  align-items: baseline;
  gap: .1em;
}
.hero-photo__card-num i {
  font-style: normal;
  font-size: .42em;
  color: var(--ink-500);
  font-weight: 400;
}
.hero-photo__card-sub {
  font-size: .85rem;
  color: var(--ink-500);
  margin-top: .35rem;
  line-height: 1.35;
}

/* ============ Proposta B · Xifres editorials ============ */
.hero__visual--stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 100%;
  max-width: 420px;
}
.hero-stats__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.4rem;
  opacity: 0;
  animation: statRise .7s cubic-bezier(.22,.61,.36,1) both;
}
.hero-stats__item:nth-child(1) { animation-delay: .1s; }
.hero-stats__item:nth-child(3) { animation-delay: .35s; }
.hero-stats__item:nth-child(5) { animation-delay: .6s; }
@keyframes statRise {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-stats__num {
  font-family: var(--serif);
  font-size: clamp(4rem, 7.5vw, 6.2rem);
  font-weight: 500;
  color: var(--orange-700);
  line-height: .85;
  letter-spacing: -.03em;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  font-feature-settings: "ss01" on;
}
.hero-stats__num sup {
  font-size: .35em;
  color: var(--orange-500);
  margin-left: .1em;
  margin-top: .15em;
  font-weight: 400;
}
.hero-stats__lbl {
  font-size: clamp(.85rem, 1.1vw, .98rem);
  color: var(--ink-500);
  line-height: 1.45;
  letter-spacing: .01em;
}
.hero-stats__divider {
  height: 1px;
  background: linear-gradient(90deg, var(--orange-300) 0%, var(--ink-100) 60%, transparent 100%);
  width: 80%;
  margin: 0;
}

/* ============ Proposta C · Dossier oficial ============ */
.hero__visual--dossier {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1.15;
}
.hero-dossier {
  background:
    linear-gradient(180deg, #FFF9F0 0%, #FFEFE0 100%);
  border: 1px solid var(--orange-300);
  border-radius: 4px;
  padding: 2.8rem 2.4rem 2.4rem;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  font-family: var(--sans);
  text-align: center;
  box-shadow:
    0 30px 60px -10px rgba(31,29,27,.16),
    inset 0 0 0 2px var(--white),
    inset 0 0 0 3px var(--orange-300);
}
.hero-dossier__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--orange-700);
}
.hero-dossier__corner--tl { top: 14px; left: 14px;  border-right: none; border-bottom: none; }
.hero-dossier__corner--tr { top: 14px; right: 14px; border-left: none;  border-bottom: none; }
.hero-dossier__corner--bl { bottom: 14px; left: 14px;  border-right: none; border-top: none; }
.hero-dossier__corner--br { bottom: 14px; right: 14px; border-left: none;  border-top: none; }

.hero-dossier__head span {
  display: block;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--orange-700);
  font-weight: 600;
  margin-bottom: .35rem;
}
.hero-dossier__head strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -.01em;
  line-height: 1;
}
.hero-dossier__hr {
  height: 1px;
  background: var(--orange-300);
  width: 45%;
  margin: 0 auto;
}
.hero-dossier__areas {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.hero-dossier__areas span {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  color: var(--ink-900);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-dossier__bottom {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.hero-dossier__bottom strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--orange-700);
}
.hero-dossier__bottom span {
  font-size: .82rem;
  color: var(--ink-500);
}
.hero-dossier__seal {
  position: absolute;
  bottom: 24px;
  right: 28px;
  color: var(--orange-700);
  opacity: .35;
  transform: rotate(-12deg);
}

/* ============ Proposta A NEW · Editorial cards (Latham-style) ============ */
.hero__visual--cards {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}
.hero-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.hero-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  transition: transform .3s var(--t), box-shadow .3s var(--t), border-color .3s var(--t);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--orange-600);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--t);
}
.hero-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-300);
}
.hero-card:hover::before { transform: scaleY(1); }
.hero-card__tag {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-700);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.hero-card__tag svg { color: var(--orange-600); }
.hero-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.3;
}
.hero-card__meta {
  font-size: .78rem;
  color: var(--ink-500);
}

/* ============ Proposta C NEW · Manifest · cita editorial ============ */
.hero__visual--manifest {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 1.5rem;
}
.hero-manifest {
  margin: 0;
  position: relative;
  padding: 2rem 1rem;
  max-width: 460px;
}
.hero-manifest__quote {
  position: absolute;
  top: -45px;
  left: -10px;
  font-family: var(--serif);
  font-size: 9rem;
  line-height: 1;
  color: var(--orange-300);
  font-weight: 500;
  font-style: italic;
  pointer-events: none;
  user-select: none;
}
.hero-manifest__text {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink-900);
  margin: 0;
  position: relative;
}
.hero-manifest__text em {
  font-style: italic;
  color: var(--orange-700);
}
.hero-manifest__sign {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.hero-manifest__rule {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--orange-600);
}

/* ============ Switcher de propostes (panel flotant) ============ */
.hero-switch {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--ink-900);
  color: var(--white);
  border-radius: 999px;
  padding: 5px;
  display: flex;
  gap: 2px;
  box-shadow: 0 16px 40px rgba(31,29,27,.25);
  z-index: 999;
  font-family: var(--sans);
}
.hero-switch button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.6);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s, background .2s;
  letter-spacing: .02em;
}
.hero-switch button:hover { color: var(--white); }
.hero-switch button.is-active {
  background: var(--orange-600);
  color: var(--white);
}
.hero-switch__label {
  display: flex;
  align-items: center;
  padding-left: .8rem;
  padding-right: .35rem;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.3rem, 2.5vw, 2rem);
  width: 100%;
}
.brand-bars-big {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(10px, 1.6vw, 18px);
  height: clamp(260px, 32vw, 400px);
  align-items: end;
}
.brand-bar-big {
  display: block;
  height: 100%;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transform-origin: bottom center;
  transform: scaleY(0);
  opacity: 0;
  box-shadow: 0 24px 50px -10px rgba(31,29,27,.18);
  animation: brandRiseOnce .85s cubic-bezier(.22,.61,.36,1) both;
}
.brand-bar-big--1 { background: var(--orange-600); animation-delay: .15s; }
.brand-bar-big--2 { background: var(--orange-500); animation-delay: .5s;  }
.brand-bar-big--3 { background: var(--orange-300); animation-delay: .85s; }
@keyframes brandRiseOnce {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.brand-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(10px, 1.6vw, 18px);
  text-align: center;
  align-items: center;
}

/* --- Letras B C S (arriba, una sobre cada barra) --- */
.brand-letter {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: .85;
  color: var(--ink-400);
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(-22px);
  animation: brandLetterFall .65s cubic-bezier(.22,.61,.36,1) both;
  transition: color .35s var(--t), transform .35s var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.brand-letter--1 { animation-delay: 0s;    }
.brand-letter--2 { animation-delay: .18s; }
.brand-letter--3 { animation-delay: .36s; }
@keyframes brandLetterFall {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Servicios (abajo, uno bajo cada barra) --- */
.brand-service {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-400);
  opacity: 0;
  transform: translateY(14px);
  animation: brandServiceRise .55s cubic-bezier(.22,.61,.36,1) both;
  transition: color .35s var(--t), transform .35s var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* --- Hover dinámico (sin desplazar — solo color y brillo) --- */
.brand-display { cursor: default; }
.brand-bar-big {
  transition: box-shadow .5s var(--t), filter .4s var(--t);
}
.brand-display:hover .brand-bar-big {
  box-shadow: 0 30px 60px -10px rgba(239,121,18,.4);
  filter: brightness(1.06) saturate(1.1);
}
.brand-display:hover .brand-letter   { color: var(--orange-700); }
.brand-display:hover .brand-letter--2 { transition-delay: .08s; }
.brand-display:hover .brand-letter--3 { transition-delay: .16s; }
.brand-display:hover .brand-service  { color: var(--ink-900); }
.brand-display:hover .brand-service--2 { transition-delay: .08s; }
.brand-display:hover .brand-service--3 { transition-delay: .16s; }
.brand-service--1 { animation-delay: 1.85s; }
.brand-service--2 { animation-delay: 2.03s; }
.brand-service--3 { animation-delay: 2.21s; }
@keyframes brandServiceRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.portal-mock {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  animation: portalRise .9s var(--t) both;
}
@keyframes portalRise {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.portal-mock__chrome {
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1rem;
}
.portal-mock__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-200);
}
.portal-mock__dot:nth-child(1) { background: #FF5F57; }
.portal-mock__dot:nth-child(2) { background: #FEBC2E; }
.portal-mock__dot:nth-child(3) { background: #28C840; }
.portal-mock__url {
  flex: 1;
  margin-left: .8rem;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .8rem;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.portal-mock__url svg { color: var(--orange-600); }

.portal-mock__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: grid;
  gap: 1.1rem;
}

.portal-mock__hello {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.portal-mock__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-300));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
}
.portal-mock__hello-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.portal-mock__hello-text span {
  font-size: .76rem;
  color: var(--ink-500);
}
.portal-mock__hello-text strong {
  font-size: .95rem;
  color: var(--ink-900);
  font-weight: 600;
}
.portal-mock__status {
  margin-left: auto;
  font-size: .72rem;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.portal-mock__status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 0 3px rgba(40, 200, 64, .18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(40, 200, 64, .18); }
  50%      { box-shadow: 0 0 0 6px rgba(40, 200, 64, .05); }
}

.portal-mock__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
.portal-mock__card {
  background: var(--ink-50);
  border-radius: 10px;
  padding: .85rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  border: 1px solid transparent;
  transition: transform .25s var(--t), border-color .25s var(--t);
}
.portal-mock__card:hover {
  transform: translateY(-3px);
  border-color: var(--orange-300);
}
.portal-mock__card-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1;
}
.portal-mock__card-lbl {
  font-size: .7rem;
  color: var(--ink-500);
  line-height: 1.3;
}
.portal-mock__card--accent {
  background: var(--orange-50);
  border-color: var(--orange-300);
}
.portal-mock__card--accent .portal-mock__card-num { color: var(--orange-700); }
.portal-mock__card--accent .portal-mock__card-lbl { color: var(--orange-700); }

.portal-mock__rows {
  display: grid;
  gap: .55rem;
}
.portal-mock__row {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem .85rem;
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  background: var(--white);
  transition: border-color .25s, background .25s;
}
.portal-mock__row:hover {
  border-color: var(--orange-300);
  background: var(--orange-50);
}
.portal-mock__row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--orange-50);
  color: var(--orange-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.portal-mock__row-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.portal-mock__row-text strong {
  font-size: .82rem;
  color: var(--ink-900);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-mock__row-text span {
  font-size: .7rem;
  color: var(--ink-500);
}
.portal-mock__pill {
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--orange-600);
  color: var(--white);
  padding: .25rem .5rem;
  border-radius: 999px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero__badge {
  position: absolute;
  bottom: -28px;
  left: -32px;
  background: var(--white);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--orange-600);
  max-width: 240px;
  animation: portalRise 1.1s var(--t) .3s both;
}
.hero__badge strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-900);
  margin-bottom: .15rem;
}
.hero__badge span {
  font-size: .76rem;
  color: var(--ink-500);
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ink-400) 0%, transparent 100%);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.4); opacity: .4; }
  50%      { transform: scaleY(1);  opacity: 1;  }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--ink-900);
  color: var(--white);
  padding-block: clamp(36px, 4vw, 60px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat {
  border-left: 2px solid var(--orange-600);
  padding-left: 1.5rem;
  position: relative;
  cursor: default;
  transition: border-color .35s var(--t);
  overflow: hidden;
}
.stat:hover { border-color: var(--orange-300); }

.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  transition: transform .5s var(--t), text-shadow .5s var(--t), color .5s var(--t);
}
.stat__num span {
  font-size: .55em;
  color: var(--orange-500);
  margin-left: .1em;
  margin-top: .15em;
  transition: color .4s var(--t);
}
.stat__label {
  margin-top: .8rem;
  color: rgba(255,255,255,.7);
  font-size: .94rem;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}
.stat__fx {
  position: absolute;
  pointer-events: none;
}

/* --- Hover #1 · Years: brillo + scale --- */
.stat--years:hover .stat__num {
  transform: scale(1.06);
  text-shadow: 0 0 28px rgba(239,121,18,.55), 0 0 10px rgba(239,121,18,.35);
}
.stat__fx--years {
  inset: -10px -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .4s var(--t);
}
.stat__fx--years span {
  width: 2px;
  height: 12px;
  background: var(--orange-500);
  border-radius: 2px;
  animation: blink 1.2s ease-in-out infinite;
}
.stat__fx--years span:nth-child(2) { animation-delay: .15s; height: 18px; }
.stat__fx--years span:nth-child(3) { animation-delay: .3s; height: 9px; }
.stat--years:hover .stat__fx--years { opacity: 0; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* --- Hover #2 · People: dots flotantes alrededor --- */
.stat__fx--people {
  inset: 0;
}
.stat__fx--people i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  opacity: 0;
  transition: opacity .4s var(--t), transform .6s var(--t);
}
.stat__fx--people i:nth-child(1) { top: 8%;  right: 18%; }
.stat__fx--people i:nth-child(2) { top: 24%; right: 6%;  background: var(--orange-300); }
.stat__fx--people i:nth-child(3) { bottom: 32%; right: 12%; width: 6px; height: 6px; }
.stat__fx--people i:nth-child(4) { top: 14%; right: 38%; width: 5px; height: 5px; background: var(--orange-300); }
.stat__fx--people i:nth-child(5) { bottom: 20%; right: 28%; width: 7px; height: 7px; }
.stat--people:hover .stat__fx--people i {
  opacity: 1;
  transform: translateY(-6px);
}
.stat--people:hover .stat__fx--people i:nth-child(2) { transform: translate(-4px, -2px); transition-delay: .05s; }
.stat--people:hover .stat__fx--people i:nth-child(3) { transform: translateY(4px); transition-delay: .1s; }
.stat--people:hover .stat__fx--people i:nth-child(4) { transform: translate(-2px, -8px); transition-delay: .15s; }
.stat--people:hover .stat__fx--people i:nth-child(5) { transform: translateY(2px); transition-delay: .2s; }

/* --- Hover #3 · Areas: número rota 360° + halo orbital --- */
.stat--areas:hover .stat__num { transform: rotate(360deg); transition-duration: .9s; }
.stat__fx--areas {
  top: -12px;
  left: -10px;
  width: 140px;
  height: 140px;
  color: var(--orange-500);
  opacity: 0;
  transition: opacity .5s var(--t), transform .9s var(--t);
  transform: rotate(0deg);
}
.stat--areas:hover .stat__fx--areas {
  opacity: .4;
  transform: rotate(360deg);
}

/* --- Hover #4 · Firms: 3 barras BCS aparecen abajo --- */
.stat__fx--firms {
  bottom: 8px;
  left: 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
}
.stat__fx--firms i {
  display: block;
  width: 8px;
  background: var(--orange-600);
  border-radius: 2px;
  height: 0;
  transition: height .35s var(--t);
}
.stat__fx--firms i:nth-child(2) { background: var(--orange-500); transition-delay: .08s; }
.stat__fx--firms i:nth-child(3) { background: var(--orange-300); transition-delay: .16s; }
.stat--firms:hover .stat__fx--firms i:nth-child(1) { height: 22px; }
.stat--firms:hover .stat__fx--firms i:nth-child(2) { height: 16px; }
.stat--firms:hover .stat__fx--firms i:nth-child(3) { height: 12px; }
.stat--firms { padding-bottom: 32px; }

/* ---------- About ---------- */
.about {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--ink-50);
}
.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__visual {
  position: relative;
}

.timeline {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem 2.4rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
  position: relative;
}
.timeline__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--orange-700);
  font-weight: 600;
  margin: 0 0 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink-100);
  letter-spacing: .02em;
}
.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline__list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange-600), var(--orange-300));
  border-radius: 2px;
}
.timeline__item {
  position: relative;
  padding-left: 2.2rem;
  padding-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange-500);
  box-shadow: 0 0 0 4px var(--white);
}
.timeline__item--now::before {
  background: var(--orange-600);
  border-color: var(--orange-600);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--orange-100);
  animation: pulse 2s ease-in-out infinite;
}
.timeline__year {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink-900);
  letter-spacing: .01em;
}
.timeline__label {
  font-size: .92rem;
  color: var(--ink-500);
  line-height: 1.4;
}
.timeline__item--now .timeline__year { color: var(--orange-700); }
.timeline__item--now .timeline__label { color: var(--ink-700); font-weight: 500; }

.about__quote {
  margin-top: 1.4rem;
  background: var(--ink-900);
  color: var(--white);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
  border-left: 4px solid var(--orange-600);
  position: relative;
}
.about__quote::before {
  content: """;
  position: absolute;
  top: -.2rem;
  left: 1rem;
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--orange-500);
  line-height: 1;
  opacity: .8;
}
.about__quote p { margin: 0; padding-left: 1.5rem; }
.about__quote strong { color: var(--orange-300); }

.about__text h2 { margin-bottom: 1.3rem; }
.about__text p { font-size: 1.05rem; color: var(--ink-700); max-width: 60ch; }

/* ---------- Section heads ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head__lead {
  font-size: 1.1rem;
  color: var(--ink-500);
  margin-top: .4rem;
}

/* ---------- Areas ---------- */
.areas { padding-block: clamp(80px, 10vw, 140px); }

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.area-card {
  position: relative;
  padding: 2rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  transition: transform .35s var(--t), box-shadow .35s var(--t), border-color .35s var(--t);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-50), transparent 50%);
  opacity: 0;
  transition: opacity .35s var(--t);
  pointer-events: none;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-300);
}
.area-card:hover::before { opacity: 1; }
.area-card > * { position: relative; }

.area-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-50);
  color: var(--orange-700);
  border-radius: 14px;
  margin-bottom: 1.4rem;
  transition: background .35s var(--t), transform .35s var(--t);
}
.area-card:hover .area-card__icon {
  background: var(--orange-600);
  color: var(--white);
  transform: scale(1.06) rotate(-3deg);
}
.area-card__icon svg { width: 28px; height: 28px; }

.area-card h3 { margin-bottom: .6rem; color: var(--ink-900); }
.area-card p {
  color: var(--ink-500);
  font-size: .96rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}
.area-card__more {
  font-weight: 600;
  font-size: .9rem;
  color: var(--orange-700);
  transition: gap .3s var(--t);
}
.area-card--featured {
  background: linear-gradient(180deg, var(--orange-50) 0%, #FFF3E5 100%);
  border: 1px solid var(--orange-300);
}
.area-card--featured h3 { color: var(--ink-900); }
.area-card--featured p { color: var(--ink-700); }
.area-card--featured .area-card__icon {
  background: var(--white);
  color: var(--orange-700);
  border: 1px solid var(--orange-300);
}
.area-card--featured .area-card__more { color: var(--orange-700); }
.area-card--featured:hover {
  background: var(--white);
  border-color: var(--orange-600);
}
.area-card--featured:hover::before {
  background: linear-gradient(135deg, var(--orange-100), transparent 60%);
  opacity: 1;
}
.area-card--featured:hover .area-card__icon {
  background: var(--orange-600);
  color: var(--white);
  border-color: var(--orange-600);
}

.area-card--soft {
  background: var(--ink-50);
  border-color: var(--ink-100);
}
.area-card--soft .area-card__icon {
  background: var(--white);
  color: var(--orange-700);
}
.area-card--soft:hover {
  background: var(--white);
}
.area-card--soft:hover .area-card__icon {
  background: var(--orange-600);
  color: var(--white);
}

/* ---------- Why ---------- */
.why {
  padding-block: clamp(80px, 10vw, 140px);
  background:
    radial-gradient(900px 500px at 50% 0%, var(--orange-50), transparent 60%),
    var(--white);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why__item { padding-top: 1rem; }
.why__num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--orange-600);
  letter-spacing: .15em;
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--orange-300);
  width: fit-content;
}
.why__item h3 { margin-bottom: .7rem; }
.why__item p { color: var(--ink-500); font-size: .96rem; }

/* ---------- Dashboard / Power BI mock ---------- */
.dashboard {
  padding-block: clamp(80px, 10vw, 140px);
  background:
    radial-gradient(900px 500px at 80% 0%, var(--orange-50), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, var(--ink-50), transparent 60%),
    var(--white);
  position: relative;
}

.bi-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  max-width: 1100px;
  margin: 0 auto;
}

.bi-mock__chrome {
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem 1.1rem;
}
.bi-mock__dots { display: flex; gap: .4rem; }
.bi-mock__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-200);
}
.bi-mock__dots i:nth-child(1) { background: #FF5F57; }
.bi-mock__dots i:nth-child(2) { background: #FEBC2E; }
.bi-mock__dots i:nth-child(3) { background: #28C840; }
.bi-mock__url {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .8rem;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  gap: .45rem;
  max-width: 360px;
}
.bi-mock__url svg { color: var(--orange-600); }
.bi-mock__live {
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--white);
  background: #28C840;
  padding: .3rem .6rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.bi-mock__live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse-w 1.8s ease-in-out infinite;
}
@keyframes pulse-w {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}

.bi-mock__body {
  padding: 1.8rem;
  display: grid;
  gap: 1.4rem;
  background: var(--ink-50);
}

/* KPIs row */
.bi-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.bi-kpi {
  background: var(--white);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--t), border-color .25s var(--t);
}
.bi-kpi::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange-600);
}
.bi-kpi:nth-child(2)::after { background: #E84545; }
.bi-kpi:nth-child(3)::after { background: #28C840; }
.bi-kpi:nth-child(4)::after { background: var(--ink-700); }
.bi-kpi:hover { transform: translateY(-3px); border-color: var(--orange-300); }

.bi-kpi__lbl {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.bi-kpi__num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -.02em;
  display: flex;
  align-items: baseline;
  gap: .1em;
}
.bi-kpi__num i {
  font-style: normal;
  font-size: .55em;
  color: var(--ink-500);
  font-weight: 400;
}
.bi-kpi__sub {
  font-size: .78rem;
  color: var(--ink-500);
}
.bi-kpi__delta {
  font-size: .78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  align-self: flex-start;
  padding: .15rem .45rem;
  border-radius: 999px;
}
.bi-kpi__delta--up   { background: rgba(232,69,69,.1);  color: #C92626; }
.bi-kpi__delta--down { background: rgba(40,200,64,.12); color: #1F8B3A; }

/* Charts row — 2x2 grid */
.bi-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bi-card--portal { grid-column: 1; grid-row: 1; }
.bi-card--lines  { grid-column: 2; grid-row: 1; }
.bi-card--bars   { grid-column: 1; grid-row: 2; }
.bi-card--costs  { grid-column: 2; grid-row: 2; }
.bi-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* bi-card · variante PORTAL EMPRESA */
.bi-card--portal { padding-bottom: 1.1rem; }
.bi-card__live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28C840;
  margin-right: .35rem;
  vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(40,200,64,.2);
  animation: pulse 1.8s ease-in-out infinite;
}
.bi-card--portal .bi-card__hint {
  display: inline-flex;
  align-items: center;
  color: #1F8B3A;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* portal-mock — variante inline dentro de bi-card */
.portal-mock--inline {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  box-shadow: none;
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
}
.portal-mock--inline .portal-mock__chrome { padding: .5rem .8rem; }
.portal-mock--inline .portal-mock__url {
  font-size: .72rem;
  padding: .25rem .6rem;
  max-width: 220px;
}
.portal-mock--inline .portal-mock__body {
  padding: .9rem 1rem 1.1rem;
  gap: .8rem;
  background: var(--white);
}
.portal-mock--inline .portal-mock__avatar {
  width: 32px; height: 32px; font-size: .75rem;
}
.portal-mock--inline .portal-mock__hello-text strong { font-size: .82rem; }
.portal-mock--inline .portal-mock__hello-text span { font-size: .68rem; }
.portal-mock--inline .portal-mock__card { padding: .65rem .7rem; }
.portal-mock--inline .portal-mock__card-num { font-size: 1.3rem; }
.portal-mock--inline .portal-mock__card-lbl { font-size: .62rem; }
.portal-mock--inline .portal-mock__row { padding: .55rem .7rem; }
.portal-mock--inline .portal-mock__row-icon { width: 28px; height: 28px; }
.portal-mock--inline .portal-mock__row-text strong { font-size: .78rem; }
.portal-mock--inline .portal-mock__row-text span { font-size: .66rem; }
.bi-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}
.bi-card__head h4 {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: .02em;
  margin: 0;
}
.bi-card__hint {
  font-size: .7rem;
  color: var(--ink-500);
}

.bi-legend {
  display: flex;
  gap: .8rem;
  font-size: .72rem;
  color: var(--ink-500);
}
.bi-legend span { display: flex; align-items: center; gap: .3rem; }
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.dot--orange { background: var(--orange-600); }
.dot--ink    { background: var(--ink-700); }
.dot--gray   { background: var(--ink-200); }

/* Bars chart */
.bi-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .8rem;
  flex: 1;
  align-items: end;
  padding-top: .6rem;
  min-height: 180px;
}
.bi-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  position: relative;
  cursor: default;
  transition: opacity .3s var(--t), transform .3s var(--t);
}
.bi-bars:hover .bi-col { opacity: .35; }
.bi-bars:hover .bi-col:hover {
  opacity: 1;
  transform: translateY(-4px);
}
.bi-col::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink-900);
  color: var(--white);
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--t), transform .25s var(--t);
  box-shadow: var(--shadow-md);
  z-index: 5;
}
.bi-col::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink-900);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--t);
  pointer-events: none;
}
.bi-col:hover::after, .bi-col:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.bi-col:hover .bi-stack i.m { background: var(--orange-700); }
.bi-col:hover .bi-stack i.f { background: var(--ink-900); }
.bi-stack {
  width: 100%;
  max-width: 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 160px;
  position: relative;
}
.bi-stack i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--h);
  transition: height .8s var(--t);
  position: relative;
}
.bi-stack i.m {
  background: var(--orange-600);
  border-radius: 4px 4px 0 0;
  animation: barRise 1s var(--t) both;
}
.bi-stack i.f {
  background: var(--ink-900);
  animation: barRise 1s var(--t) .15s both;
}
.bi-stack i b {
  font-family: var(--serif);
  font-size: .65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-style: normal;
  opacity: 0;
  animation: fadeIn .5s var(--t) 1s forwards;
  pointer-events: none;
}
.bi-stack i.m b { color: var(--ink-900); }   /* sobre naranja → negro */
.bi-stack i.f b { color: var(--orange-500); } /* sobre negro → naranja */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes barRise {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); }
}
.bi-col__lbl {
  font-size: .72rem;
  color: var(--ink-500);
  text-transform: capitalize;
}
.bi-col--current .bi-stack i.m { background: var(--orange-500); box-shadow: 0 0 0 2px var(--orange-300); }
.bi-col--current .bi-col__lbl { color: var(--orange-700); font-weight: 700; }

/* Categories chart */
.bi-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 1;
  justify-content: center;
}
.bi-cats li {
  display: grid;
  grid-template-columns: 90px 1fr 56px;
  align-items: center;
  gap: .6rem;
}
.bi-cats__lbl {
  font-size: .78rem;
  color: var(--ink-700);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bi-cats__bar {
  height: 10px;
  background: var(--ink-100);
  border-radius: 999px;
  overflow: hidden;
}
.bi-cats__bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--orange-600), var(--orange-300));
  border-radius: 999px;
  animation: catFill 1.2s var(--t) both;
}
@keyframes catFill {
  from { width: 0; }
  to   { width: var(--w); }
}
.bi-cats__val {
  font-size: .78rem;
  color: var(--ink-900);
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Line chart — absentisme comparativa */
.bi-lines {
  position: relative;
  flex: 1;
  min-height: 130px;
  display: flex;
  flex-direction: column;
}
.bi-lines__svg {
  width: 100%;
  height: 130px;
  display: block;
  overflow: visible;
}
.bi-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: lineDraw 1.6s var(--t) forwards;
}
.bi-line--y24 { animation-delay: .1s; }
.bi-line--y25 { animation-delay: .35s; }
.bi-line--y26 { animation-delay: .6s; }
@keyframes lineDraw {
  to { stroke-dashoffset: 0; }
}
.bi-card--lines:hover .bi-line--y24,
.bi-card--lines:hover .bi-line--y25,
.bi-card--costs:hover .bi-line--y24,
.bi-card--costs:hover .bi-line--y25 { opacity: .3; transition: opacity .3s; }
.bi-card--lines:hover .bi-line--y26,
.bi-card--costs:hover .bi-line--y26 { stroke-width: 4; transition: stroke-width .3s; }

.bi-lines__dot {
  animation: pulseDot 1.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .7; }
}

.bi-lines__xaxis {
  display: flex;
  justify-content: space-between;
  margin-top: .3rem;
  padding: 0 .8rem;
  font-size: .7rem;
  color: var(--ink-500);
  text-transform: capitalize;
}

.bi-lines__summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .9rem;
}
.bi-lines__pill {
  background: var(--ink-50);
  border-radius: 10px;
  padding: .55rem .7rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  border: 1px solid transparent;
  transition: border-color .25s;
}
.bi-lines__pill:hover { border-color: var(--orange-300); }
.bi-lines__year {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.bi-lines__pill strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink-900);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.01em;
  display: flex;
  align-items: baseline;
  gap: .05em;
}
.bi-lines__pill strong i {
  font-style: normal;
  font-size: .65em;
  color: var(--ink-500);
  font-weight: 400;
}
.bi-lines__pill--current {
  background: var(--orange-50);
  border-color: var(--orange-300);
}
.bi-lines__pill--current .bi-lines__year { color: var(--orange-700); }
.bi-lines__pill--current strong { color: var(--orange-700); }
.bi-lines__delta {
  font-size: .68rem;
  font-weight: 700;
  color: #1F8B3A;
  margin-top: .15rem;
}
.bi-card--costs .bi-lines__delta { color: var(--orange-700); }

/* Donut chart */
.bi-card--donut { align-items: center; }
.bi-donut {
  position: relative;
  width: 100%;
  max-width: 170px;
  aspect-ratio: 1/1;
  margin: .2rem auto .8rem;
}
.bi-donut__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.bi-donut__bg {
  fill: none;
  stroke: var(--ink-100);
  stroke-width: 4;
}
.bi-donut__seg {
  fill: none;
  stroke: var(--orange-600);
  stroke-width: 4;
  stroke-linecap: round;
  animation: donut 1.4s var(--t) both;
}
@keyframes donut {
  from { stroke-dasharray: 0 100; }
}
.bi-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bi-donut__center strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1;
}
.bi-donut__center strong i { font-style: normal; font-size: .55em; color: var(--ink-500); }
.bi-donut__center span {
  font-size: .72rem;
  color: var(--ink-500);
  margin-top: .2rem;
  letter-spacing: .04em;
}
.bi-donut__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  width: 100%;
  font-size: .76rem;
}
.bi-donut__legend li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink-500);
}
.bi-donut__legend strong {
  margin-left: auto;
  color: var(--ink-900);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Footer of mock */
.bi-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  color: var(--ink-500);
  padding-top: .4rem;
}
.bi-foot__sync { display: flex; align-items: center; gap: .4rem; }
.bi-foot__sync span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28C840;
  animation: pulse 1.8s ease-in-out infinite;
}
.bi-foot__brand {
  letter-spacing: .04em;
  font-weight: 500;
}

.bi-caveat {
  text-align: center;
  font-size: .78rem;
  color: var(--ink-400);
  margin-top: 1.4rem;
  font-style: italic;
}

/* ---------- Team ---------- */
.team {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--ink-50);
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.team__text h2 { margin-bottom: 1.3rem; }
.team__text p { color: var(--ink-500); margin-bottom: 2rem; max-width: 50ch; }

.team__roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.role-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--t), box-shadow .3s var(--t), border-color .3s var(--t);
  position: relative;
  overflow: hidden;
}
.role-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--t);
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-300);
}
.role-card:hover::before { transform: scaleX(1); }
.role-card--1 { transform: translateY(-12px); }
.role-card--4 { transform: translateY(12px); }
.role-card--1:hover { transform: translateY(-16px); }
.role-card--4:hover { transform: translateY(8px); }

.role-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-50);
  color: var(--orange-700);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: background .3s, color .3s;
}
.role-card:hover .role-card__icon {
  background: var(--orange-600);
  color: var(--white);
}
.role-card__icon svg { width: 22px; height: 22px; }
.role-card h3 {
  font-size: 1.05rem;
  margin: 0 0 .35rem;
  color: var(--ink-900);
}
.role-card p {
  font-size: .85rem;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.45;
}

/* ---------- News / Actualitat ---------- */
.news {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--white);
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  transition: transform .3s var(--t), box-shadow .3s var(--t), border-color .3s var(--t);
  background: var(--white);
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-300);
}
.news-card__media {
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.15), transparent 40%),
    linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}
.news-card__media::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  pointer-events: none;
}
.news-card__media--alt {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 40%),
    linear-gradient(135deg, var(--orange-500) 0%, var(--ink-700) 100%);
}
.news-card__media--ink {
  background:
    radial-gradient(circle at 80% 20%, rgba(239,121,18,.25), transparent 40%),
    linear-gradient(135deg, var(--ink-700) 0%, var(--ink-900) 100%);
}
.news-card__cat {
  background: rgba(255,255,255,.96);
  color: var(--orange-700);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}
.news-card__body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__body time {
  font-size: .75rem;
  color: var(--ink-500);
  letter-spacing: .03em;
  margin-bottom: .5rem;
}
.news-card__body h3 {
  font-size: 1.15rem;
  margin: 0 0 .65rem;
  line-height: 1.3;
}
.news-card__body p {
  color: var(--ink-500);
  font-size: .9rem;
  margin: 0 0 1.2rem;
  flex: 1;
  line-height: 1.5;
}
.news-card__link {
  font-weight: 600;
  font-size: .9rem;
  color: var(--orange-700);
  transition: color .25s var(--t), letter-spacing .25s var(--t);
  align-self: flex-start;
}
.news-card:hover .news-card__link { letter-spacing: .02em; color: var(--ink-900); }

.news__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-100);
}
.news__newsletter {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
  max-width: 460px;
}
.news__newsletter > label {
  font-size: .82rem;
  color: var(--ink-700);
  font-weight: 600;
}
.news__newsletter-input {
  display: flex;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  padding: .25rem .25rem .25rem 1.1rem;
  transition: border-color .2s, box-shadow .2s;
}
.news__newsletter-input:focus-within {
  border-color: var(--orange-600);
  box-shadow: 0 0 0 4px rgba(239,121,18,.15);
}
.news__newsletter-input input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: .9rem;
  color: var(--ink-900);
  padding: .55rem 0;
}
.news__newsletter-input button {
  padding: .65rem 1.2rem;
  font-size: .88rem;
}

/* ---------- Credenciales / Col·legis professionals ---------- */
.creds {
  padding-block: clamp(50px, 6vw, 80px);
  background: var(--white);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.creds__head {
  text-align: center;
  margin-bottom: 2.2rem;
}
.creds__title {
  display: block;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-700);
  font-weight: 700;
  margin-bottom: .5rem;
}
.creds__sub {
  display: block;
  font-size: .95rem;
  color: var(--ink-500);
  max-width: 58ch;
  margin: 0 auto;
}
.creds__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .7rem;
}
.cred {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem .9rem;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  transition: transform .25s var(--t), box-shadow .25s var(--t), border-color .25s var(--t), background .25s var(--t);
  min-width: 0;
}
.cred--membre {
  background: var(--orange-50);
  border-color: var(--orange-300);
}
.cred--membre .cred__seal {
  background: var(--orange-600);
  color: var(--white);
  border-color: var(--orange-600);
}
.cred--membre:hover {
  background: var(--white);
  border-color: var(--orange-600);
}
.cred:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--orange-300);
  background: var(--white);
}
.cred__seal {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  color: var(--orange-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--orange-300);
  transition: background .25s, color .25s;
}
.cred:hover .cred__seal {
  background: var(--orange-600);
  color: var(--white);
  border-color: var(--orange-600);
}
.cred__seal svg { width: 20px; height: 20px; }
.cred__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}
.cred__txt {
  min-width: 0;
  overflow: hidden;
}
.cred__txt strong {
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -.01em;
  line-height: 1.2;
  display: block;
}
.cred__txt span {
  font-size: .7rem;
  color: var(--ink-500);
  margin-top: .15rem;
  line-height: 1.3;
  display: block;
}

/* ---------- Certificacions ISO ---------- */
.iso {
  padding-block: clamp(60px, 7vw, 100px);
  background: var(--ink-50);
}
.iso__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.8rem;
}
.iso__head h2 {
  margin: .8rem 0 .8rem;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}
.iso__head p {
  color: var(--ink-500);
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}
.iso__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.iso-cert {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: transform .3s var(--t), border-color .3s var(--t), box-shadow .3s var(--t);
  position: relative;
  overflow: hidden;
}
.iso-cert::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-600), var(--orange-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--t);
}
.iso-cert:hover {
  transform: translateY(-4px);
  border-color: var(--orange-300);
  box-shadow: var(--shadow-md);
}
.iso-cert:hover::after { transform: scaleX(1); }

.iso-cert__seal {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--orange-500), var(--orange-700) 70%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
  box-shadow: 0 4px 12px rgba(239, 121, 18, .25);
}
.iso-cert__seal::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 50%;
  pointer-events: none;
}
.iso-cert__seal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, transparent 0deg 28deg, rgba(255,255,255,.08) 28deg 30deg);
  pointer-events: none;
}
.iso-cert__seal-iso {
  font-family: var(--serif);
  font-size: .72rem;
  letter-spacing: .25em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .15rem;
  opacity: .9;
}
.iso-cert__seal-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
}
.iso-cert__txt { min-width: 0; }
.iso-cert__txt strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink-900);
  font-weight: 600;
  margin-bottom: .35rem;
}
.iso-cert__txt p {
  font-size: .86rem;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.45;
}

/* ---------- Office / Vine a veure'ns ---------- */
.office {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--white);
}
.office__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.office__visual {
  position: relative;
}
.office__photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-100);
  box-shadow: var(--shadow-lg);
}
.office__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--t);
}
.office__photo:hover .office__photo-img { transform: scale(1.04); }
.office__photo-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(31,29,27,.18) 100%);
  pointer-events: none;
}

.office__pin {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--ink-900);
  color: var(--white);
  padding: .8rem 1.1rem;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .85rem;
  border: 3px solid var(--white);
}
.office__pin svg { color: var(--orange-500); flex-shrink: 0; }
.office__pin div { display: flex; flex-direction: column; line-height: 1.25; }
.office__pin strong { font-family: var(--serif); font-weight: 600; font-size: .95rem; }
.office__pin span { font-size: .75rem; color: rgba(255,255,255,.7); }

.office__text h2 { margin-bottom: 1.2rem; }
.office__text > p {
  color: var(--ink-500);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 50ch;
}

.office__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.office__list li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1rem 1.2rem;
  background: var(--ink-50);
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  transition: border-color .25s var(--t), background .25s var(--t);
}
.office__list li:hover {
  border-color: var(--orange-300);
  background: var(--white);
}
.office__list-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--orange-700);
  border-radius: 10px;
  border: 1px solid var(--orange-300);
}
.office__list strong {
  display: block;
  font-family: var(--serif);
  color: var(--ink-900);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: .1rem;
}
.office__list span {
  font-size: .9rem;
  color: var(--ink-500);
}

/* ---------- CTA / contact ---------- */
.cta {
  padding-block: clamp(80px, 10vw, 140px);
  background:
    radial-gradient(800px 500px at 20% 30%, rgba(239,121,18,.18), transparent 60%),
    linear-gradient(180deg, var(--ink-900), #161412);
  color: var(--white);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cta h2 { color: var(--white); margin-bottom: 1.3rem; }
.cta__text > p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 50ch; }

.cta__contact { margin-top: 2.5rem; display: grid; gap: 1.2rem; }
.cta__line {
  display: flex;
  flex-direction: column;
  padding-left: 1.2rem;
  border-left: 2px solid var(--orange-600);
  transition: border-color .2s, transform .25s var(--t);
}
a.cta__line:hover { transform: translateX(4px); }
.cta__line-label {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-300);
  font-weight: 600;
  margin-bottom: .25rem;
}
.cta__line-value {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.3;
}
.cta__line-value--phones {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: 1.2rem;
}
.cta__line-value--phones a {
  color: var(--white);
  transition: color .2s, transform .2s var(--t);
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.cta__line-value--phones a:hover {
  color: var(--orange-300);
  transform: translateX(3px);
}

.cta__form {
  background: var(--white);
  color: var(--ink-700);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-500);
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  padding: .85rem 1rem;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange-600);
  box-shadow: 0 0 0 4px rgba(239,121,18,.15);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--ink-500);
}
.field-check a { color: var(--orange-700); text-decoration: underline; }

/* ---------- Newsletter band (Mailchimp) ---------- */
.newsletter {
  padding-block: clamp(50px, 6vw, 80px);
  background:
    radial-gradient(900px 400px at 100% 50%, var(--orange-50), transparent 60%),
    var(--ink-50);
  border-top: 1px solid var(--ink-100);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}
.newsletter__text h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  margin: .6rem 0 .6rem;
}
.newsletter__text h3 em {
  color: var(--orange-600);
  font-style: italic;
}
.newsletter__text p {
  color: var(--ink-500);
  font-size: .94rem;
  margin: 0;
  max-width: 50ch;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.newsletter__input {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  padding: .25rem .25rem .25rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.newsletter__input:focus-within {
  border-color: var(--orange-600);
  box-shadow: 0 0 0 4px rgba(239,121,18,.15);
}
.newsletter__icon {
  color: var(--ink-400);
  flex-shrink: 0;
}
.newsletter__input input[type=email] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink-900);
  padding: .65rem .25rem;
  min-width: 0;
}
.newsletter__input button { padding: .7rem 1.3rem; font-size: .92rem; }
.newsletter__check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .82rem;
  color: var(--ink-500);
  padding: 0 .5rem;
}
.newsletter__check a { color: var(--orange-700); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0E0D0C;
  color: rgba(255,255,255,.65);
  padding-block: 4rem 1.5rem;
  font-size: .92rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(30px, 5vw, 70px);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}
.site-footer__brand p { margin-top: .25rem; }
.site-footer__brand p { color: rgba(255,255,255,.5); }

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.site-footer__cols h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer__cols a, .site-footer__cols span {
  display: block;
  color: rgba(255,255,255,.55);
  margin-bottom: .5rem;
  transition: color .2s;
}
.site-footer__cols a:hover { color: var(--orange-300); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.site-footer__bottom div { display: flex; gap: 1.5rem; }
.site-footer__bottom a:hover { color: var(--orange-300); }

/* ---------- Scroll reveal (sutil) ---------- */
section { opacity: 1; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--t), transform .8s var(--t); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .topbar__addr { display: none; }
}

@media (max-width: 980px) {
  .topbar__email { display: none; }
  .topbar__phones a:nth-of-type(3), .topbar__phones .topbar__sep:last-of-type { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .hero__badge { left: 0; }
  .news__grid { grid-template-columns: 1fr; }
  .news__foot { flex-direction: column; align-items: stretch; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .team__grid, .cta__inner { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .bi-kpis { grid-template-columns: repeat(2, 1fr); }
  .bi-charts { grid-template-columns: 1fr; grid-template-rows: none; }
  .bi-card--portal, .bi-card--lines, .bi-card--bars, .bi-card--costs {
    grid-column: 1; grid-row: auto;
  }
  .creds__list { grid-template-columns: repeat(2, 1fr); }
  .iso__list { grid-template-columns: 1fr; }
  .office__grid { grid-template-columns: 1fr; }
  .office__pin { right: 1rem; }
  .newsletter__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar__address { display: none; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform .35s var(--t);
    box-shadow: var(--shadow-lg);
    margin: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
    margin-left: auto;
    cursor: pointer;
    z-index: 60;
  }
  .burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
  }
  .nav__cta { display: none; }
  .areas__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar__phones a:nth-of-type(2), .topbar__phones .topbar__sep { display: none; }
  .topbar__inner { gap: .8rem; padding-block: .45rem; font-size: .76rem; }
  .bi-mock__body { padding: 1.2rem; }
  .bi-mock__url { max-width: 220px; }
  .bi-foot { flex-direction: column; gap: .4rem; align-items: flex-start; }
  .bi-cats li { grid-template-columns: 70px 1fr 50px; }
}

@media (max-width: 520px) {
  .stats__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .bi-kpis { grid-template-columns: 1fr; }
  .bi-kpi { padding: 1rem 1.2rem; }
  .bi-mock__chrome { padding: .55rem .8rem; gap: .5rem; }
  .bi-mock__url { display: none; }
  .creds__list { grid-template-columns: 1fr; }
}
