:root {
  --terracotta: #c25e3c;
  --blue: #1e2d3b;
  --beige: #f4e9dc;
  --sand: #d8cbb2;
  --olive: #6e8b74;
  --ink: #233849;
  --ink-soft: #4a5f72;
  --line: rgba(30, 45, 59, 0.18);
  --line-soft: rgba(30, 45, 59, 0.1);
  --panel: rgba(244, 233, 220, 0.9);
  --panel-strong: rgba(216, 203, 178, 0.82);
  --shadow: 0 14px 34px rgba(30, 45, 59, 0.12);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(194, 94, 60, 0.16), transparent 32%),
    radial-gradient(circle at 86% 2%, rgba(110, 139, 116, 0.15), transparent 34%),
    linear-gradient(180deg, #f9efe3 0%, var(--beige) 55%, #f1e3d2 100%);
  line-height: 1.58;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(30, 45, 59, 0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.11;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.01em;
}

p { margin: 0; }

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

.nav {
  width: min(1240px, 92vw);
  margin: 0.56rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.56rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(244, 233, 220, 0.98) 0%, rgba(236, 221, 203, 0.92) 52%, rgba(244, 233, 220, 0.96) 100%);
  box-shadow: 0 9px 20px rgba(30, 45, 59, 0.1);
  position: sticky;
  top: 0.52rem;
  z-index: 120;
  backdrop-filter: blur(8px);
}

.brand-switch {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.brand-switch-track {
  min-width: 236px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.18rem;
  border-radius: 999px;
  border: 1px solid rgba(174, 73, 37, 0.28);
  background: linear-gradient(90deg, rgba(174, 73, 37, 0.12), rgba(244, 233, 220, 0.16));
  transition: background 0.35s ease;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, rgba(174, 73, 37, 0.18) 0%, rgba(244, 233, 220, 0.05) 72%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
  transform: translateX(0) scaleX(1);
}

.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: 0;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 4px 10px rgba(30, 45, 59, 0.16));
}
/* ================================
   SÍNTESI FINAL · VIABILITAT
================================ */

.sintesi-final-page {
  background:
    radial-gradient(circle at top left, rgba(194, 94, 60, 0.13), transparent 34rem),
    linear-gradient(180deg, rgba(244, 233, 220, 0.72), rgba(255, 255, 255, 0.96));
}

.sintesi-hero-final {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(30, 45, 59, 0.12);
}

.sintesi-hero-final::before {
  content: "VIABILITAT";
  position: absolute;
  right: -2rem;
  top: 5rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(30, 45, 59, 0.045);
  pointer-events: none;
}

.sintesi-hero-final h1 {
  max-width: 760px;
  font-size: clamp(4.2rem, 9vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #1e2d3b;
}

.sintesi-hero-final .sintesi-intro {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.75;
  color: #4a5f72;
}

.sintesi-verdict-panel {
  margin-top: 2rem;
  padding: clamp(1.4rem, 2vw, 2rem);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(30, 45, 59, 0.96), rgba(35, 56, 73, 0.92)),
    #1e2d3b;
  color: #f4e9dc;
  box-shadow: 0 24px 60px rgba(30, 45, 59, 0.22);
  border: 1px solid rgba(244, 233, 220, 0.18);
}

.sintesi-verdict-panel .verdict-label {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(194, 94, 60, 0.22);
  color: #f4e9dc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sintesi-verdict-panel strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
  color: #ffffff;
}

.sintesi-verdict-panel p {
  margin: 0.9rem 0 0;
  max-width: 680px;
  color: rgba(244, 233, 220, 0.84);
  line-height: 1.65;
}

.sintesi-final-visual {
  min-height: 520px;
  border-radius: 2.4rem;
  background:
    linear-gradient(135deg, rgba(194, 94, 60, 0.20), rgba(30, 45, 59, 0.16)),
    rgba(244, 233, 220, 0.72);
  box-shadow: 0 22px 70px rgba(30, 45, 59, 0.15);
}

.sintesi-final-band article {
  position: relative;
  overflow: hidden;
}

.sintesi-final-band article span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #c25e3c;
}

.sintesi-verdict-section {
  padding-top: clamp(4rem, 7vw, 7rem);
}

.sintesi-proof-grid,
.sintesi-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.7vw, 1.4rem);
  margin-top: 2rem;
}

.sintesi-proof-grid article,
.sintesi-dashboard-grid article {
  padding: clamp(1.25rem, 2vw, 1.7rem);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(30, 45, 59, 0.1);
  box-shadow: 0 18px 45px rgba(30, 45, 59, 0.07);
}

.sintesi-proof-grid article span,
.sintesi-dashboard-grid article small {
  display: inline-flex;
  margin-bottom: 0.85rem;
  color: #c25e3c;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sintesi-proof-grid article h3,
.sintesi-dashboard-grid article strong {
  display: block;
  margin: 0 0 0.7rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
  color: #1e2d3b;
}

.sintesi-proof-grid article p,
.sintesi-dashboard-grid article p {
  margin: 0;
  line-height: 1.6;
  color: #4a5f72;
}

.sintesi-dashboard-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 233, 220, 0.58));
}

.sintesi-risk-final .risk-card {
  min-height: 240px;
}

.sintesi-final-answer {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.sintesi-final-answer-box {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 2.4rem;
  background:
    linear-gradient(135deg, rgba(30, 45, 59, 0.97), rgba(30, 45, 59, 0.9)),
    #1e2d3b;
  color: #f4e9dc;
  box-shadow: 0 30px 90px rgba(30, 45, 59, 0.24);
  overflow: hidden;
}

.sintesi-final-answer-box::after {
  content: "SÍ";
  position: absolute;
  right: 2rem;
  bottom: -1.8rem;
  font-size: clamp(7rem, 17vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(244, 233, 220, 0.055);
  line-height: 1;
  pointer-events: none;
}

.sintesi-final-answer-box .sintesi-kicker {
  color: #d8cbb2;
}

.sintesi-final-answer-box h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: #ffffff;
}

.sintesi-final-answer-box p {
  position: relative;
  z-index: 2;
  max-width: 820px;
  color: rgba(244, 233, 220, 0.86);
  line-height: 1.75;
}

.sintesi-final-answer-box .sintesi-close-highlights {
  position: relative;
  z-index: 2;
  justify-content: flex-start;
  margin-top: 2rem;
}

.sintesi-final-answer-box .sintesi-close-highlights span {
  background: rgba(244, 233, 220, 0.1);
  color: #ffffff;
  border-color: rgba(244, 233, 220, 0.18);
}

.sintesi-final-strip {
  padding-bottom: clamp(4rem, 7vw, 7rem);
}

.sintesi-final-media-grid figure {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(194, 94, 60, 0.12), rgba(30, 45, 59, 0.08)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 45, 59, 0.1);
}

.sintesi-remat-final {
  background:
    linear-gradient(90deg, #1e2d3b, #233849);
  color: #f4e9dc;
}

.sintesi-remat-final p {
  max-width: 980px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 4.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-align: center;
}

@media (max-width: 980px) {
  .sintesi-proof-grid,
  .sintesi-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sintesi-final-visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .sintesi-proof-grid,
  .sintesi-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .sintesi-hero-final h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .sintesi-final-answer-box {
    border-radius: 1.7rem;
  }

  .sintesi-final-answer-box h2 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .sintesi-remat-final p {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }
}
.brand-name {
  color: #ae4925;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

body.reforma-mode .brand-switch-track {
  justify-content: flex-end;
  background: linear-gradient(90deg, rgba(244, 233, 220, 0.16), rgba(30, 45, 59, 0.2));
}

body.reforma-mode .brand-mini {
  transform: translateX(0) scaleX(-1);
  background: linear-gradient(90deg, rgba(244, 233, 220, 0.08) 0%, rgba(174, 73, 37, 0.22) 100%);
}

body.reforma-mode .brand-mini > * {
  transform: scaleX(-1);
}

.menu {
  list-style: none;
  position: absolute;
  right: 0.9rem;
  top: calc(100% + 0.55rem);
  margin: 0;
  padding: 0.86rem;
  width: min(430px, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(244, 233, 220, 0.98), rgba(236, 221, 203, 0.96));
  box-shadow: 0 16px 30px rgba(30, 45, 59, 0.16);
  display: grid;
  gap: 0.22rem;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 140;
}

.menu a {
  color: var(--ink-soft);
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.52rem 0.62rem;
  background: rgba(244, 233, 220, 0.3);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.menu a:hover,
.menu a[aria-current='page'] {
  color: var(--blue);
  border-color: rgba(194, 94, 60, 0.34);
  background: rgba(216, 203, 178, 0.35);
}

.menu-reforma { display: none; }
body.reforma-mode .menu-reforma,
body.reforma-page .menu-reforma { display: list-item; }

.menu-btn {
  display: block;
  border: 1px solid var(--terracotta);
  border-radius: 10px;
  background: rgba(244, 233, 220, 0.58);
  color: var(--terracotta);
  padding: 0.42rem 0.78rem;
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.09);
}

.menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Fallback de navegació per a la pàgina de visió general (si falla el JS) */
.visio-page .nav:hover .menu,
.visio-page .nav:focus-within .menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.section {
  width: min(1240px, 92vw);
  margin: 2rem auto;
}

.section-shell {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1rem, 2.2vw, 1.9rem);
  background: linear-gradient(160deg, var(--panel), var(--panel-strong));
  box-shadow: 0 10px 24px rgba(30, 45, 59, 0.1);
  position: relative;
}

.section-shell::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(194, 94, 60, 0.16);
  border-radius: 14px;
  pointer-events: none;
}

.section-header { margin-bottom: 1.1rem; position: relative; z-index: 2; }

.section-header h2 {
  color: var(--blue);
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  margin-bottom: 0.42rem;
}

.section-header p { color: var(--ink-soft); max-width: 82ch; }

.grid { display: grid; gap: 1rem; position: relative; z-index: 2; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  background: rgba(244, 233, 220, 0.88);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.11), 0 10px 18px rgba(30, 45, 59, 0.07);
}

.card h3 {
  font-size: 2rem;
  color: var(--terracotta);
  margin-bottom: 0.35rem;
}

.card h4 {
  font-size: 1.5rem;
  color: var(--terracotta);
  margin-bottom: 0.34rem;
}

.card p,
.card li { color: #2d4458; }

.card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.28rem; }

.kpi-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.kpi {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.92), rgba(56, 78, 98, 0.83));
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.25);
}

.kpi strong {
  display: block;
  color: var(--beige);
  font-size: 2rem;
  line-height: 1;
}

.kpi span { color: #d9c9b2; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(244, 233, 220, 0.78);
}

table { width: 100%; border-collapse: collapse; min-width: 680px; }
th,
td {
  padding: 0.84rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  color: #30485b;
}

th { color: var(--blue); background: rgba(194, 94, 60, 0.11); }

.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.nav-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.92), rgba(56, 78, 98, 0.83));
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.26);
  display: grid;
  gap: 0.42rem;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.nav-card strong {
  color: var(--beige);
  font-size: 1.5rem;
  line-height: 1.06;
}

.nav-card span { color: #d8cbb2; font-size: 0.93rem; }
.nav-card:hover { transform: translateY(-4px); border-color: rgba(194, 94, 60, 0.48); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(194, 94, 60, 0.45);
  background: linear-gradient(125deg, #c25e3c, #d7814a);
  color: #fffaf4;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(194, 94, 60, 0.24);
}

.page-hero {
  width: min(1240px, 92vw);
  margin: 1.25rem auto 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(244, 233, 220, 0.94), rgba(216, 203, 178, 0.78));
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.2rem;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  background:
    radial-gradient(circle at 24% 28%, rgba(194, 94, 60, 0.24), transparent 38%),
    radial-gradient(circle at 73% 66%, rgba(110, 139, 116, 0.2), transparent 40%),
    linear-gradient(160deg, rgba(30, 45, 59, 0.9), rgba(56, 78, 98, 0.82));
}

.page-hero h1,
.page-hero p {
  grid-column: 2;
  padding-right: 1.4rem;
}

.page-hero h1 {
  align-self: end;
  margin-top: 1.2rem;
  color: var(--blue);
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
}

.page-hero p {
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
  max-width: 66ch;
}


.page-hero--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2.2rem, 4vw, 3.4rem) clamp(1.2rem, 3vw, 2rem);
  min-height: 280px;
}

.page-hero--centered::before {
  content: none;
}

.page-hero--centered h1,
.page-hero--centered p {
  grid-column: auto;
  padding-right: 0;
  margin: 0;
  align-self: center;
  max-width: 26ch;
}

.page-hero--centered h1 {
  margin-top: 0;
}

.page-hero--centered p {
  margin-top: 0.85rem;
  max-width: 44ch;
}

footer {
  width: min(1240px, 92vw);
  margin: 2rem auto 1.2rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  color: #445b6f;
  text-align: center;
}

/* HOME */
.home-main {
  width: min(1240px, 92vw);
  margin: 1rem auto 0;
  display: grid;
  gap: 1.25rem;
}

.home-hero {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(244, 233, 220, 0.96), rgba(216, 203, 178, 0.78));
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(30, 45, 59, 0.14);
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 370px;
  padding: 1rem;
  gap: 0.95rem;
  align-items: stretch;
}

.hero-media {
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(244, 233, 220, 0.98), rgba(216, 203, 178, 0.84));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: stretch;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.46), 0 16px 28px rgba(30, 45, 59, 0.15);
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(194, 94, 60, 0.24);
  pointer-events: none;
}

.hero-media-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.8rem;
  border-radius: inherit;
  background: transparent;
}

.hero-media-caption {
  margin: 0.2rem 1rem 0.4rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  letter-spacing: 0.03em;
  color: #364f63;

}

.hero-copy {
  padding: clamp(1.6rem, 3vw, 2.8rem) clamp(1.4rem, 3vw, 2.9rem);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.74rem;
  width: 100%;
  background: linear-gradient(140deg, rgba(244, 233, 220, 0.98), rgba(216, 203, 178, 0.62));
  border-radius: 18px;
  border: 1px solid rgba(194, 94, 60, 0.22);
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.44), 0 12px 24px rgba(30, 45, 59, 0.08);
}

.hero-kicker {
  width: 100%;
  margin: 1.1rem auto 0.4rem;
  padding: 0 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5a6f80;
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.hero-copy h1 {
  font-size: clamp(3.5rem, 7.2vw, 6.1rem);
  color: #ae4925;
  letter-spacing: 0.08em;
  line-height: 0.9;
  font-weight: 700;
  margin: 0.12rem 0 0.24rem;
  text-wrap: balance;
}

.hero-tag {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #5f7282;
  font-weight: 600;
}

.hero-subtitle {
  max-width: 45ch;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.02rem, 1.34vw, 1.24rem);
  font-weight: 600;
  line-height: 1.42;
  color: #2c4458;
}

.hero-body {
  max-width: 45ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.42;
  color: #2c4458;
}

.hero-values {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.46rem;
}

.hero-values li {
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: rgba(174, 73, 37, 0.1);
  border: 1px solid rgba(174, 73, 37, 0.24);
  color: #67493b;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-positioning {
  font-weight: 600;
}

.hero-copy p {
  max-width: 44ch;
}

.home-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.78rem;
  padding: 0.72rem 1rem 1rem;
  margin-top: 0;
  border-top: 1px solid rgba(194, 94, 60, 0.18);
  background: linear-gradient(180deg, rgba(244, 233, 220, 0.44), rgba(244, 233, 220, 0.08));
}

.highlight-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 0.78rem;
  text-align: center;
  min-height: 122px;
  display: grid;
  align-content: center;
  background: rgba(244, 233, 220, 0.92);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.12), 0 8px 18px rgba(30, 45, 59, 0.08);
}

.highlight-card h3 {
  color: var(--blue);
  font-size: 1.58rem;
  margin-bottom: 0.16rem;
}

.highlight-card p {
  color: #5a4a3e;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-block {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem;
  background: linear-gradient(160deg, rgba(244, 233, 220, 0.95), rgba(216, 203, 178, 0.54));
  box-shadow: 0 14px 28px rgba(30, 45, 59, 0.1);
}

.home-block h2 {
  text-align: center;
  font-size: clamp(2.2rem, 3.7vw, 3.2rem);
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.home-grid { display: grid; gap: 1rem; }
.home-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.home-card,
.nav-home-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.05rem;
  background: rgba(244, 233, 220, 0.9);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.11), 0 10px 20px rgba(30, 45, 59, 0.07);
}

.home-card h4,
.nav-home-card h4 {
  color: var(--terracotta);
  font-size: 1.66rem;
  margin-bottom: 0.35rem;
}

.home-card p,
.nav-home-card p { color: #2d4458; }

.home-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.34rem;
  color: #2d4458;
}

.home-section-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.home-section-kicker {
  color: #5f7282;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

.home-editorial {
  align-items: stretch;
}

.home-media-slot {
  border: 1px solid rgba(30, 45, 59, 0.22);
  border-radius: 14px;
  min-height: 230px;
  background: linear-gradient(160deg, rgba(244, 233, 220, 0.92), rgba(216, 203, 178, 0.58));
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.42rem;
  padding: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.1), 0 10px 18px rgba(30, 45, 59, 0.08);
}

.home-media-slot span {
  color: #2f4658;
  font-weight: 600;
}

.home-media-slot small {
  font-family: 'Cormorant Garamond', serif;
  color: #3f566a;
  font-size: 1.08rem;
}

.editorial-placeholder {
  align-content: center;
  justify-items: center;
  text-align: center;
}

.placeholder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(194, 94, 60, 0.38);
  background: rgba(194, 94, 60, 0.12);
  color: #7c351e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.placeholder-note {
  max-width: 52ch;
  color: #3f566a;
  font-size: 0.95rem;
  line-height: 1.4;
}

.home-media-slot-wide {
  min-height: 164px;
}

.pillar {
  border-color: rgba(194, 94, 60, 0.28);
  background: linear-gradient(150deg, rgba(244, 233, 220, 0.95), rgba(216, 203, 178, 0.79));
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.experience-card {
  min-height: 248px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  display: grid;
  align-content: end;
  background:
    linear-gradient(160deg, rgba(30, 45, 59, 0.91), rgba(56, 78, 98, 0.82)),
    radial-gradient(circle at 78% 22%, rgba(194, 94, 60, 0.35), transparent 44%);
  box-shadow: 0 14px 26px rgba(30, 45, 59, 0.2);
}

.experience-card h4 {
  color: var(--beige);
  font-size: 2.1rem;
  margin-bottom: 0.24rem;
}

.experience-card p { color: #e6d8c4; }

.nav-home-grid .nav-home-card {
  min-height: 168px;
  align-content: end;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.82));
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.25);
}

.nav-home-grid .nav-home-card h4 { color: var(--beige); }
.nav-home-grid .nav-home-card p { color: var(--sand); }

.nav-home-card:hover {
  transform: translateY(-5px);
  border-color: rgba(194, 94, 60, 0.44);
}

.annex-button-wrap {
  margin-top: 1.35rem;
  display: grid;
  place-items: center;
}

.annex-button {
  display: inline-block;
  padding: 0.82rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(194, 94, 60, 0.45);
  background: linear-gradient(125deg, #c25e3c, #d6824b);
  color: #fffaf3;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(194, 94, 60, 0.24);
}

.home-footer {
  width: min(1240px, 92vw);
  margin: 2rem auto 1.2rem;
  border-top: 1px solid var(--line);
  padding-top: 0.88rem;
  color: #3f576b;
  text-align: center;
}

.home-closure {
  text-align: center;
  display: grid;
  gap: 0.75rem;
  place-items: center;
}



#inici,
#que-es,
#per-que-te-sentit,
#espai-atmosfera,
#oferta-gastronomica,
#sala-maridatge,
#funciona-de-veritat,
#defensable,
#lectura-general,
#pressupost-inicial,
#costos-mensuals,
#ingressos-estacionalitat,
#punt-mort,
#rendibilitat-oferta,
#tresoreria,
#veredicte {
  scroll-margin-top: 7rem;
}

.home-intro {
  text-align: center;
  color: #3c5568;
  margin: -0.2rem auto 0.8rem;
  max-width: 78ch;
}

/* VISIÓ GENERAL */
.visio-main {
  gap: 1.15rem;
  padding-bottom: 0.2rem;
}

.visio-hero {
  padding: clamp(1rem, 1.6vw, 1.35rem);
}

.visio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.visio-hero-copy {
  display: grid;
  gap: 0.9rem;
}

.visio-hero-copy h1 {
  font-size: clamp(2.05rem, 3.4vw, 3rem);
  line-height: 1.02;
  color: var(--blue);
  max-width: 22ch;
}

.visio-intro {
  color: #3a5266;
  max-width: 68ch;
  line-height: 1.56;
  text-wrap: pretty;
}

.visio-hero-compact .visio-hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.visio-hero-grid.compact {
  align-items: center;
}

.visio-synthesis {
  border: 1px solid rgba(194, 94, 60, 0.26);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: linear-gradient(160deg, rgba(244, 233, 220, 0.94), rgba(216, 203, 178, 0.62));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.1);
  max-width: 68ch;
}

.visio-synthesis h3 {
  font-size: 1.5rem;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}

.visio-synthesis p {
  color: #2d4458;
  line-height: 1.58;
}

.visio-highlight-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.visio-highlight-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.9rem 0.82rem;
  background: rgba(244, 233, 220, 0.9);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.11), 0 8px 18px rgba(30, 45, 59, 0.08);
  display: grid;
  gap: 0.22rem;
}

.visio-highlight-card h3 {
  color: var(--blue);
  font-size: 1.44rem;
}

.visio-highlight-card p {
  color: #30495d;
  font-size: 0.9rem;
}

.visio-hero-media {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.9), rgba(56, 78, 98, 0.84));
  box-shadow: 0 14px 24px rgba(30, 45, 59, 0.22);
  display: grid;
}

.visio-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.visio-hero-media.compact img {
  min-height: 220px;
}

.visio-media-caption {
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(216, 203, 178, 0.26);
}

.visio-media-caption p {
  color: #e8dcc8;
  font-size: 0.92rem;
}

.visio-definition {
  display: grid;
  gap: 0.6rem;
  max-width: 86ch;
  margin: 0 auto 1rem;
}

.visio-definition p {
  text-align: left;
  color: #32495d;
  line-height: 1.64;
  text-wrap: pretty;
}

.visio-prose {
  width: min(840px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.visio-prose-wide {
  width: min(980px, 100%);
}

.visio-prose p {
  color: #31495d;
  line-height: 1.6;
  text-wrap: pretty;
}

.visio-understand {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.visio-understand > p {
  color: #31495d;
  line-height: 1.6;
  margin: 0;
}

.visio-keypieces {
  display: grid;
  gap: 0.72rem;
}

.visio-keypiece {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem;
  background: rgba(244, 233, 220, 0.9);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.1), 0 8px 15px rgba(30, 45, 59, 0.07);
}

.visio-keypiece h3 {
  color: var(--blue);
  font-size: 1.4rem;
}

.visio-keypiece p {
  color: #324a5d;
  margin-top: 0.2rem;
  font-size: 0.94rem;
}

.visio-claus-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.86rem;
}

.visio-clau-card {
  grid-column: span 2;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(244, 233, 220, 0.9);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.12), 0 10px 18px rgba(30, 45, 59, 0.08);
}

.visio-clau-featured {
  grid-column: span 3;
  background:
    radial-gradient(circle at 82% 18%, rgba(194, 94, 60, 0.23), transparent 42%),
    linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.82));
  box-shadow: 0 14px 24px rgba(30, 45, 59, 0.19);
}

.visio-clau-card h3 {
  font-size: 1.7rem;
  color: var(--blue);
  margin-bottom: 0.2rem;
}

.visio-clau-card p {
  color: #324b5e;
}

.visio-clau-featured h3 {
  color: var(--beige);
}

.visio-clau-featured p {
  color: #e4d5bf;
}

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

.visio-recorregut-card {
  border: 1px solid rgba(30, 45, 59, 0.24);
  border-radius: 13px;
  padding: 0.95rem;
  background: linear-gradient(160deg, rgba(244, 233, 220, 0.95), rgba(216, 203, 178, 0.65));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.1), 0 10px 16px rgba(30, 45, 59, 0.08);
}

.visio-recorregut-card h3 {
  color: var(--blue);
  font-size: 1.7rem;
  margin-bottom: 0.25rem;
}

.visio-recorregut-card p {
  color: #31495d;
  line-height: 1.54;
}

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

.visio-feature-card {
  border: 1px solid rgba(30, 45, 59, 0.25);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  min-height: 200px;
  display: grid;
  align-content: start;
  gap: 0.34rem;
  background:
    radial-gradient(circle at 84% 12%, rgba(194, 94, 60, 0.23), transparent 42%),
    linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.82));
  box-shadow: 0 14px 24px rgba(30, 45, 59, 0.19);
}

.visio-feature-card h3 {
  font-size: 1.8rem;
  color: var(--beige);
}

.visio-feature-card p {
  color: #e4d5bf;
  line-height: 1.5;
}

.visio-why-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.visio-subblock {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.visio-subblock h4 {
  color: var(--blue);
}

.visio-subblock p {
  color: #344d60;
  line-height: 1.6;
}

.visio-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.visio-pillar-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(150deg, rgba(244, 233, 220, 0.95), rgba(216, 203, 178, 0.7));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.14), 0 12px 22px rgba(30, 45, 59, 0.09);
  display: grid;
  gap: 0.4rem;
}

.visio-pillar-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(194, 94, 60, 0.5);
  color: #8a3f24;
  font-weight: 700;
  font-size: 0.84rem;
  background: rgba(194, 94, 60, 0.08);
}

.visio-pillar-card h4 {
  color: #9b4424;
  font-size: 1.75rem;
  line-height: 1.02;
}

.visio-pillar-card p {
  color: #32495d;
}

.visio-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.visio-route-grid.clean {
  gap: 0.78rem;
}

.visio-route-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.92rem;
  min-height: 150px;
  display: grid;
  align-content: end;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.82));
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.visio-route-card h4 {
  color: var(--beige);
  font-size: 1.38rem;
  margin-bottom: 0.2rem;
}

.visio-route-card p {
  color: var(--sand);
  font-size: 0.88rem;
  line-height: 1.4;
}

.visio-route-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 94, 60, 0.44);
}

.visio-closure {
  gap: 0.8rem;
}

.visio-closure.short {
  padding-top: 1.15rem;
  padding-bottom: 1.2rem;
}

.visio-closure-head {
  margin-bottom: 0.2rem;
}

.visio-intro-text {
  margin-top: 0.15rem;
}

.visio-cta {
  width: min(760px, 100%);
  margin: 0.25rem auto 0;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(194, 94, 60, 0.32);
  background: linear-gradient(150deg, rgba(244, 233, 220, 0.93), rgba(216, 203, 178, 0.68));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.11), 0 12px 22px rgba(30, 45, 59, 0.09);
  display: grid;
  justify-items: center;
  gap: 0.38rem;
  text-align: center;
}

.visio-cta.compact {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.visio-cta h3 {
  color: #9b4424;
  font-size: 2rem;
}

.visio-cta p {
  color: #31495d;
  max-width: 66ch;
}

@media (max-width: 1080px) {
  .grid.four,
  .grid.three,
  .grid.two,
  .kpi-band,
  .nav-grid,
  .home-highlights,
  .home-grid.four,
  .home-grid.three,
  .experience-grid,
  .hero-top,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .page-hero::before { min-height: 180px; }

  .hero-copy {
    justify-items: start;
    text-align: left;
  }

  .hero-values {
    justify-content: flex-start;
  }

  .hero-kicker,
  .hero-copy p,
  .hero-subtitle {
    max-width: 100%;
  }

  .hero-media-caption {
    text-align: left;
  }


  .page-hero h1,
  .page-hero p { grid-column: 1; padding: 0 1rem 1rem; }

  .page-hero--centered h1,
  .page-hero--centered p {
    grid-column: auto;
    padding: 0;
  }

  .visio-hero-grid,
  .visio-highlight-grid,
  .visio-position-grid,
  .visio-pillars,
  .visio-route-grid,
  .visio-why-layout,
  .visio-understand,
  .visio-recorregut-grid {
    grid-template-columns: 1fr;
  }

  .visio-claus-grid {
    grid-template-columns: 1fr;
  }

  .visio-clau-card,
  .visio-clau-featured {
    grid-column: auto;
  }

  .visio-hero-media img {
    min-height: 240px;
  }
}

@media (max-width: 940px) {
  .brand-switch-track {
    min-width: 186px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .menu {
    right: 0.7rem;
    top: calc(100% + 0.5rem);
    width: min(360px, calc(100vw - 1.4rem));
  }
}

/* VISIÓ GENERAL · REESTRUCTURACIÓ EDITORIAL */
.vg-main {
  gap: 1.3rem;
}

.vg-opening {
  padding: clamp(1rem, 1.9vw, 1.45rem);
}

.vg-opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.vg-opening-copy {
  display: grid;
  gap: 0.78rem;
}

.vg-opening-copy h1 {
  color: var(--blue);
  font-size: clamp(2.1rem, 3.8vw, 3.35rem);
  line-height: 1.02;
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
}

.vg-brand-word {
  color: #ae4925;
}

.vg-opening-copy > p {
  color: #334c60;
  line-height: 1.58;
  max-width: 74ch;
  text-align: center;
  margin-inline: auto;
}

.vg-executive-note {
  grid-column: 1 / -1;
  border: 1px solid rgba(194, 94, 60, 0.28);
  border-radius: 14px;
  padding: 0.88rem 0.92rem;
  background: linear-gradient(155deg, rgba(244, 233, 220, 0.93), rgba(216, 203, 178, 0.68));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.1);
  justify-self: center;
  margin-top: 0.2rem;
  width: min(100%, 980px);
  margin-top: 0.2rem;
  width: min(100%, 980px);

  text-align: center;
}

.vg-executive-note h3 {
  color: #9b4424;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.vg-executive-note p {
  color: #30495d;
  line-height: 1.56;
}

.vg-opening-media {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.9), rgba(56, 78, 98, 0.82));
  box-shadow: 0 14px 24px rgba(30, 45, 59, 0.2);
}

.vg-opening-media img {
  width: 100%;
  display: block;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.vg-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 1rem;
}

.vg-two-col.align-start {
  align-items: start;
}

.vg-prose {
  display: grid;
  gap: 0.74rem;
}

.vg-prose p {
  color: #31495d;
  line-height: 1.62;
  text-wrap: pretty;
}

.vg-prose-narrow {
  max-width: 82ch;
}

.vg-side-notes {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.vg-side-notes article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem;
  background: rgba(244, 233, 220, 0.88);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.08), 0 8px 16px rgba(30, 45, 59, 0.07);
}

.vg-side-notes h4 {
  color: var(--blue);
  font-size: 1.34rem;
  margin-bottom: 0.15rem;
}

.vg-side-notes p {
  color: #3a5266;
  font-size: 0.92rem;
}

.vg-microblocks {
  display: grid;
  gap: 0.72rem;
}

.vg-microblocks article {
  border: 1px solid rgba(30, 45, 59, 0.24);
  border-radius: 13px;
  padding: 0.86rem;
  background:
    radial-gradient(circle at 80% 14%, rgba(194, 94, 60, 0.2), transparent 42%),
    linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.82));
  box-shadow: 0 12px 20px rgba(30, 45, 59, 0.18);
}

.vg-microblocks h4 {
  color: var(--beige);
  font-size: 1.46rem;
  margin-bottom: 0.2rem;
}

.vg-microblocks p {
  color: #deceb8;
  font-size: 0.92rem;
  line-height: 1.48;
}

.vg-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.vg-editorial-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(244, 233, 220, 0.95), rgba(216, 203, 178, 0.62));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.11), 0 12px 20px rgba(30, 45, 59, 0.08);
  display: grid;
  gap: 0.62rem;
}

.vg-editorial-card h4 {
  color: var(--blue);
  font-size: 1.78rem;
}

.vg-editorial-card p {
  color: #334c60;
  line-height: 1.56;
}

.vg-pillars-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.vg-pillars-intro {
  margin: -0.1rem auto 0.9rem;
  max-width: 74ch;
  text-align: center;
  color: #3a5266;
}

.vg-pillar {
  grid-column: span 1;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0.95rem;
  background: rgba(244, 233, 220, 0.92);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.1), 0 11px 18px rgba(30, 45, 59, 0.08);
  display: grid;
  gap: 0.35rem;
}

.vg-pillar.main {
  grid-column: span 1;
  background:
    radial-gradient(circle at 84% 16%, rgba(194, 94, 60, 0.21), transparent 42%),
    linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.82));
  box-shadow: 0 14px 24px rgba(30, 45, 59, 0.18);
}

.vg-pillar span {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(194, 94, 60, 0.5);
  color: #8a3f24;
  background: rgba(194, 94, 60, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.vg-pillar h4 {
  color: #9b4424;
  font-size: 1.62rem;
}

.vg-pillar p {
  color: #314a5d;
  line-height: 1.56;
}

.vg-pillar.main span {
  border-color: rgba(216, 203, 178, 0.45);
  color: #e8dcc8;
  background: rgba(216, 203, 178, 0.16);
}

.vg-pillar.main h4 {
  color: var(--beige);
}

.vg-pillar.main p {
  color: #dfd0bc;
}

.vg-intro {
  margin-top: 0.15rem;
}

.vg-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.82rem;
}

.vg-route-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.92rem 0.86rem;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.83));
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.24);
  min-height: 170px;
  display: grid;
  align-content: end;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.vg-route-card h4 {
  color: var(--beige);
  font-size: 1.46rem;
  margin-bottom: 0.18rem;
}

.vg-route-card p {
  color: var(--sand);
  font-size: 0.89rem;
  line-height: 1.44;
}

.vg-route-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 94, 60, 0.45);
}

.vg-closure {
  gap: 0.78rem;
}

.vg-closure-head {
  margin-bottom: 0.15rem;
}

.vg-cta {
  width: min(760px, 100%);
  margin: 0.1rem auto 0;
  border: 1px solid rgba(194, 94, 60, 0.32);
  border-radius: 14px;
  padding: 0.95rem;
  background: linear-gradient(150deg, rgba(244, 233, 220, 0.92), rgba(216, 203, 178, 0.68));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.1), 0 12px 20px rgba(30, 45, 59, 0.08);
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
}

.vg-cta h3 {
  color: #9b4424;
  font-size: 1.95rem;
}

.vg-cta p {
  color: #31495d;
  max-width: 64ch;
}

@media (max-width: 1080px) {
  .vg-opening-grid,
  .vg-two-col,
  .vg-cards-grid,
  .vg-route-grid {
    grid-template-columns: 1fr;
  }

  .vg-pillars-layout {
    grid-template-columns: 1fr;
  }

  .vg-pillar,
  .vg-pillar.main {
    grid-column: auto;
  }
}

/* ENCAIX DE MERCAT */
.em-main {
  gap: 1.35rem;
}

.em-opening {
  padding: clamp(1rem, 1.9vw, 1.5rem);
  position: relative;
  overflow: hidden;
}

.em-opening::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(194, 94, 60, 0.15), transparent 42%),
    radial-gradient(circle at 12% 74%, rgba(110, 139, 116, 0.15), transparent 40%);
  pointer-events: none;
}

.em-opening > * {
  position: relative;
  z-index: 1;
}

.em-opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
}

.em-opening-grid .em-image-slot {
  width: min(100%, 282px);
  max-height: 336px;
  justify-self: end;
  align-self: start;
}

.em-opening-copy {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.em-opening-copy h1 {
  color: var(--blue);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 0.98;
  max-width: 19ch;
}

.em-opening-intro {
  color: #334c60;
  max-width: 58ch;
  font-size: 1.01rem;
}

.em-opening-mini {
  display: grid;
  gap: 0.55rem;
  width: min(640px, 100%);
}

.em-opening-mini p {
  border: 1px solid rgba(194, 94, 60, 0.24);
  border-radius: 12px;
  padding: 0.72rem 0.82rem;
  background: rgba(244, 233, 220, 0.76);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.07);
  display: grid;
  gap: 0.1rem;
}

.em-opening-mini strong {
  color: #8e3f22;
  font-size: 0.96rem;
}

.em-opening-mini span {
  color: #334b5f;
  font-size: 0.88rem;
}

.em-placeholder {
  border: 1px dashed rgba(35, 56, 73, 0.38);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(244, 233, 220, 0.86), rgba(216, 203, 178, 0.52));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.11), 0 12px 20px rgba(30, 45, 59, 0.09);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}

.em-placeholder span {
  color: #3a5366;
  font-size: 0.9rem;
  max-width: 24ch;
}

.em-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  opacity: 0.16;
}

.em-placeholder figcaption {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.24rem;
  padding: 1rem;
  text-align: center;
}

.em-placeholder small {
  color: #445c6f;
  font-size: 0.8rem;
}

.em-route {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
  color: #5f7384;
  font-size: 0.74rem;
}

.em-placeholder-hero {
  min-height: 360px;
}

.em-image-slot {
  border: 1px dashed rgba(30, 45, 59, 0.34);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(244, 233, 220, 0.78), rgba(216, 203, 178, 0.52));
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.12);
  margin: 0;
  min-height: 320px;
  overflow: hidden;
}

.em-image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.em-opening-keys {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.em-opening-keys article {
  border: 1px solid rgba(30, 45, 59, 0.26);
  border-radius: 12px;
  padding: 0.78rem;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.82));
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.23);
}

.em-opening-keys h3 {
  color: var(--beige);
  font-size: 1.4rem;
  margin-bottom: 0.14rem;
}

.em-opening-keys p {
  color: #deceb8;
  font-size: 0.9rem;
}

.em-executive {
  padding-top: 0.95rem;
}

.em-executive-head {
  display: grid;
  gap: 0.18rem;
  margin-bottom: 0.72rem;
}

.em-executive-head h2 {
  color: var(--blue);
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
}

.em-executive-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.em-executive-band article {
  padding: 0.8rem 0.85rem;
  border-top: 3px solid rgba(194, 94, 60, 0.42);
  border-radius: 11px;
  background: rgba(244, 233, 220, 0.84);
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.em-executive-band h3 {
  color: #913f23;
  font-size: 1.35rem;
  margin-bottom: 0.14rem;
}

.em-executive-band p {
  color: #32495d;
  font-size: 0.9rem;
}

.em-territorial {
  padding: clamp(1rem, 1.8vw, 1.45rem);
}

.em-section-head-wide h2 {
  margin-bottom: 0.2rem;
}

.em-section-head-wide p {
  color: #31495d;
  max-width: 72ch;
}

.em-territorial-note {
  color: #415b6e;
  font-weight: 500;
}

.em-territorial-layout {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
}

.em-territorial-copy {
  border: 1px solid rgba(194, 94, 60, 0.22);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(244, 233, 220, 0.95), rgba(216, 203, 178, 0.64));
  padding: 1.05rem;
  display: grid;
  gap: 0.75rem;
}

.em-territorial-copy p {
  color: #30495c;
  line-height: 1.6;
}

.em-territorial-lead {
  font-size: 1.01rem;
}

.em-territorial-points {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
  color: #30495c;
}

.em-placeholder-territorial {
  min-height: 300px;
  width: min(100%, 520px);
  max-height: 680px;
  justify-self: end;
}

.em-public-head {
  margin-bottom: 0.8rem;
}

.em-public-head p {
  max-width: 56ch;
}

.em-public-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.em-public-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(244, 233, 220, 0.9);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.08), 0 10px 16px rgba(30, 45, 59, 0.07);
  display: grid;
  gap: 0.3rem;
}

.em-public-card h3 {
  color: var(--blue);
  font-size: 1.36rem;
}

.em-public-card p {
  color: #2f4658;
  font-size: 0.92rem;
}

.em-competitive {
  background:
    radial-gradient(circle at 8% 10%, rgba(194, 94, 60, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(244, 233, 220, 0.95), rgba(216, 203, 178, 0.62));
}

.em-competitive-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.em-competitive-head h2 {
  color: var(--blue);
  font-size: clamp(2.15rem, 3.3vw, 2.9rem);
}

.em-competitive-head p {
  color: #30495d;
  max-width: 70ch;
}

.em-competitive-sub {
  color: #8f3f23 !important;
  font-weight: 600;
}

.em-competitive-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
}

.em-competitive-flow article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.86rem;
  background: rgba(244, 233, 220, 0.88);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.1), 0 10px 16px rgba(30, 45, 59, 0.08);
}

.em-competitive-flow h3 {
  color: var(--blue);
  font-size: 1.34rem;
  margin-bottom: 0.2rem;
}

.em-competitive-flow p {
  color: #324a5e;
}

.em-flow-result {
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.84)) !important;
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.24), 0 14px 22px rgba(30, 45, 59, 0.18) !important;
}

.em-flow-result h3,
.em-flow-result p {
  color: #e7daca;
}

.em-placeholder-support {
  margin-top: 0.8rem;
  min-height: 120px;
}

.em-competitive-closing {
  margin-top: 0.72rem;
  color: #2f475b;
  font-weight: 600;
}

.em-axis-list {
  display: grid;
  gap: 0.55rem;
}

.em-axis-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem 0.88rem;
  background: rgba(244, 233, 220, 0.88);
}

.em-axis-list span {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(194, 94, 60, 0.4);
  color: #8e3f22;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(194, 94, 60, 0.08);
}

.em-axis-list h3 {
  color: var(--blue);
  font-size: 1.5rem;
  margin-bottom: 0.15rem;
}

.em-axis-list p {
  color: #334b5f;
}

.em-dafo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.em-dafo-grid article {
  border: 1px solid rgba(30, 45, 59, 0.24);
  border-radius: 13px;
  padding: 0.95rem;
  background: rgba(244, 233, 220, 0.9);
  box-shadow: inset 0 0 0 1px rgba(194, 94, 60, 0.08), 0 9px 14px rgba(30, 45, 59, 0.07);
}

.em-dafo-grid h3 {
  color: #8f3f23;
  font-size: 1.56rem;
  margin-bottom: 0.18rem;
}

.em-dafo-grid p {
  color: #32495d;
}

.em-dafo-grid ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.32rem;
  color: #32495d;
}

.em-dafo-closing {
  margin-top: 0.72rem;
  color: #2e475a;
  font-weight: 600;
}

.em-close {
  padding: clamp(1rem, 1.7vw, 1.3rem);
}

.em-close-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0.9rem;
  align-items: start;
}

.em-close-copy h2 {
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.22rem;
}

.em-close-copy p {
  color: #324b60;
  max-width: 62ch;
}

.em-close-points {
  border: 1px solid rgba(194, 94, 60, 0.3);
  border-radius: 14px;
  padding: 0.82rem;
  background: linear-gradient(160deg, rgba(30, 45, 59, 0.92), rgba(56, 78, 98, 0.82));
  box-shadow: inset 0 0 0 1px rgba(216, 203, 178, 0.22);
  display: grid;
  gap: 0.46rem;
}

.em-close-points p {
  color: #e6d8c4;
  border: 1px solid rgba(216, 203, 178, 0.24);
  border-radius: 10px;
  padding: 0.54rem 0.62rem;
  background: rgba(216, 203, 178, 0.08);
  margin: 0;
}

@media (max-width: 1080px) {
  .em-opening-grid,
  .em-opening-keys,
  .em-executive-band,
  .em-territorial-layout,
  .em-public-layout,
  .em-dafo-grid,
  .em-close-layout {
    grid-template-columns: 1fr;
  }

  .em-competitive-flow {
    grid-template-columns: 1fr;
  }

  .em-placeholder-hero {
    min-height: 250px;
  }

  .em-opening-grid .em-image-slot {
    width: 100%;
    max-height: 420px;
    justify-self: stretch;
  }

  .em-placeholder-territorial {
    min-height: 230px;
    width: 100%;
    max-height: 420px;
    justify-self: stretch;
  }

}

/* PROPOSTA REFORMA I ADEQUACIÓ */
.proposta-main {
  gap: 1.35rem;
  padding-bottom: 0.6rem;
}

.proposta-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1.2rem, 2.2vw, 1.7rem);
}

.proposta-hero-copy {
  display: grid;
  align-content: center;
  gap: 0.6rem;
}

.proposta-hero-copy h1 {
  font-size: clamp(2.45rem, 4.2vw, 3.7rem);
  color: var(--blue);
  line-height: 0.96;
}

.proposta-subtitle {
  color: #8a3e22;
  font-weight: 600;
  font-size: 1.03rem;
}

.proposta-intro {
  color: #31495d;
  max-width: 58ch;
}

.proposta-intro-compacta {
  margin: 0;
  text-align: left;
  max-width: 72ch;
}

.proposta-visual {
  margin: 0;
  border: 1px solid rgba(30, 45, 59, 0.24);
  border-radius: 16px;
  min-height: 240px;
  overflow: hidden;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at 80% 20%, rgba(194, 94, 60, 0.22), transparent 42%),
    radial-gradient(circle at 22% 78%, rgba(110, 139, 116, 0.2), transparent 46%),
    linear-gradient(155deg, rgba(30, 45, 59, 0.93), rgba(56, 78, 98, 0.82));
  box-shadow: 0 14px 24px rgba(30, 45, 59, 0.18);
}

.proposta-visual figcaption {
  padding: 1rem;
  display: grid;
  gap: 0.2rem;
  border-top: 1px solid rgba(216, 203, 178, 0.26);
  background: rgba(12, 25, 37, 0.46);
}

.proposta-visual span {
  color: #f3eadf;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.36rem;
}

.proposta-visual small {
  color: #d8cbb2;
  letter-spacing: 0.04em;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.proposta-visual-hero {
  min-height: 340px;
}

.proposta-mini-grid .home-card {
  min-height: 165px;
}

.proposta-objectius-grid .home-card {
  min-height: 178px;
}

.proposta-redistribucio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 0.95rem;
  align-items: stretch;
}

.proposta-visual-planol {
  min-height: 380px;
}

.proposta-zones-grid {
  align-content: stretch;
}

.proposta-zones-grid .home-card {
  min-height: 175px;
}

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

.proposta-card-strong {
  min-height: 182px;
  background: linear-gradient(158deg, rgba(244, 233, 220, 0.95), rgba(216, 203, 178, 0.74));
}

.proposta-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.82rem;
}

.proposta-support-main {
  grid-column: span 2;
  min-height: 260px;
}

.proposta-support-small {
  min-height: 220px;
}

.proposta-transition {
  text-align: left;
}

.proposta-transition h2,
.proposta-transition p,
.proposta-tancament p {
  text-align: left;
}

.proposta-tancament {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.proposta-tancament p {
  color: #31495d;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .proposta-hero,
  .proposta-redistribucio-layout,
  .proposta-intervencions-grid,
  .proposta-support-grid,
  .proposta-objectius-grid {
    grid-template-columns: 1fr;
  }

  .proposta-support-main {
    grid-column: auto;
  }

  .proposta-visual-hero,
  .proposta-visual-planol {
    min-height: 300px;
  }

  .proposta-mini-grid,
  .proposta-zones-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .proposta-hero {
    padding: 1rem;
  }

  .proposta-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .proposta-visual,
  .proposta-visual-hero,
  .proposta-visual-planol,
  .proposta-support-main,
  .proposta-support-small {
    min-height: 220px;
  }
}
