:root {
  --paper: #f3f3f3;
  --paper-2: #ffffff;
  --ink: #141414;
  --logo: #4d4d4d;
  --logo-suau: #8b8b8b;
  --ink-soft: var(--logo);
  --line: rgba(77, 77, 77, 0.22);
  --orange: #ff8a3d;
  --orange-2: #ffb07a;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Rubik", "Segoe UI", sans-serif;
  --ample: 1120px;
  --cap: 8.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.menu-obert {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #e86f2a;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

mark {
  background: var(--orange);
  color: var(--ink);
  padding: 0.08em 0.22em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--orange);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

.fixa {
  position: sticky;
  top: 0;
  z-index: 40;
}

.barra {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  background: var(--logo);
  color: #fff;
  padding: 0.45rem 1.25rem;
  font-size: 0.84rem;
}

.barra-horari {
  margin: 0;
  margin-right: auto;
  color: #fff;
}

.barra a,
.barra a:hover,
.barra a:focus-visible {
  color: var(--orange);
  text-decoration: none;
}

.barra a:hover,
.barra a:focus-visible {
  color: var(--orange-2);
}

.cap {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  min-height: 5.6rem;
  padding: 0.65rem 1.25rem 0.45rem;
  background: rgba(243, 243, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.marca {
  display: flex;
  align-items: center;
  align-self: center;
  margin-right: auto;
}

.marca img {
  height: 58px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.65rem;
}

.menu a {
  color: var(--logo);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 0.35rem 0 0.2rem;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.menu a:hover,
.menu a:focus-visible,
.menu a[aria-current="page"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.idiomes {
  display: flex;
  align-self: flex-end;
  margin: 0 0 calc(0.2rem + 3px) 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.idiomes button {
  border: 0;
  background: transparent;
  padding: 0.12rem 0.38rem;
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.idiomes button.actiu {
  background: var(--ink);
  color: var(--orange);
}

.menu-boto {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.menu-boto span {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 2px;
  background: var(--ink);
}

.menu-boto span:nth-child(1) { top: 0.85rem; }
.menu-boto span:nth-child(2) { top: 1.25rem; }
.menu-boto span:nth-child(3) { top: 1.65rem; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--cap));
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}

.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 42%, rgba(10, 10, 10, 0.12) 100%);
}

.hero-text {
  width: min(100% - 2.5rem, var(--ample));
  margin: 0 auto;
  padding: 4rem 0 8.5rem;
}

.sobre {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.hero h1,
.pagina h1,
.facil h2,
.plataforma h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
}

.hero-sub {
  max-width: 32rem;
  margin: 1.1rem 0 0;
  font-size: 1.4rem;
}

.hero-accions,
.accions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-accions {
  margin-top: 1.85rem;
}

.hero .boto {
  font-size: 1.05rem;
  padding: 0.95rem 1.45rem;
}

.boto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
}

.boto:hover,
.boto:focus-visible {
  background: var(--orange-2);
  color: var(--ink);
}

.boto-fosc {
  background: var(--ink);
  color: #fff;
}

.boto-fosc:hover,
.boto-fosc:focus-visible,
a.boto-fosc:hover,
a.boto-fosc:focus-visible {
  background: #3a3a3a;
  color: #fff;
}

.boto-linia {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px #fff;
}

.boto-linia:hover,
.boto-linia:focus-visible {
  background: #fff;
  color: var(--ink);
}

.embolcall {
  width: min(100% - 2.5rem, var(--ample));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
  padding: 4.5rem 0;
}

.any {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.2rem, 9vw, 6.5rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.intro .any {
  color: var(--logo-suau);
}

.intro h2,
.bloc h2,
.targeta h2,
.permis h2,
.modalitat h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.intro h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.intro p,
.bloc p,
.targeta p,
.permis p,
.modalitat p {
  margin: 0;
  color: var(--ink-soft);
}

.bloc p + p,
.bloc .etiqueta {
  margin-top: 0.95rem;
}

.modalitat p {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.facil {
  background: var(--ink);
  color: #fff;
  padding: 4rem 0;
}

.facil .embolcall {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.wordmark {
  width: min(100%, 380px);
  height: auto;
  margin: 0 0 2.4rem;
}

.facil h2 {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
}

.facil p {
  max-width: 40rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.plataforma {
  background: var(--orange);
  padding: 3.5rem 0;
}

.plataforma .embolcall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.plataforma h2 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.plataforma .boto {
  flex-shrink: 0;
}

.pxp-costat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: stretch;
  margin-top: 0.4rem;
  padding-bottom: 2.5rem;
}

.pxp-accio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.75rem;
}

.pxp-accio p {
  margin: 0;
  max-width: 18em;
  color: var(--orange);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.pxp-costat img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.dues {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 4rem 0;
}

.targeta,
.permis,
.modalitat {
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.targeta img,
.foto-ample {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.targeta div,
.permis div,
.modalitat {
  padding: 1.15rem 1.2rem 1.3rem;
}

.modalitat {
  overflow: visible;
}

.targeta h2,
.permis h2 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.7rem;
}

.etiqueta {
  margin: 0;
  font-weight: 800;
  color: var(--ink) !important;
}

.targeta a,
.mes {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 800;
  color: var(--orange);
  text-decoration: none;
}

.targeta div {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  padding: 1.5rem 1.4rem 1.6rem;
}

.targeta h2,
.targeta .etiqueta,
.targeta p,
.targeta a {
  margin: 0;
}

.crida {
  padding: 0;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(12, 12, 12, 0.84) 0%, rgba(12, 12, 12, 0.5) 58%, rgba(12, 12, 12, 0.32) 100%),
    url("https://images.pexels.com/photos/37112146/pexels-photo-37112146.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover no-repeat;
}

.crida .embolcall {
  background: none;
  min-height: 17rem;
  padding: 3.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.crida h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.pagina {
  background: var(--ink);
  color: #fff;
  padding: 3.2rem 0 2.4rem;
}

.pagina h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.pagina p,
.pagina h2 {
  max-width: 40rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
}

.bloc {
  padding: 2.5rem 0 1rem;
}

.bloc h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.graella {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 4rem;
}

.permis img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #fff;
  padding: 0.6rem;
}

.modalitats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.5rem 0 2rem;
}

.foto-bloqueig {
  padding-bottom: 4rem;
}

.foto-bloqueig img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.foto-bloqueig img.sencera,
.targeta img.sencera {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #fff;
}

.contacte-cos {
  padding: 2.2rem 0 4rem;
}

.contacte-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

form,
.fitxa {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.camp {
  display: block;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.camp input,
.camp textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(20, 20, 20, 0.22);
  background: #fff;
  color: var(--ink);
}

.camp textarea {
  min-height: 140px;
  resize: vertical;
}

.casella {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.8rem 0;
  font-weight: 500;
}

.casella input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  accent-color: var(--ink);
}

.mel {
  position: absolute;
  left: -9999px;
}

.notes {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.notes h3 {
  font-size: 1rem;
  margin: 0.6rem 0;
}

.notes ul {
  margin: 0;
  padding-left: 1.1rem;
}

.fitxa p {
  margin: 0 0 0.7rem;
}

.fitxa a {
  font-weight: 700;
}

.mapa-embed {
  width: 100%;
  height: 240px;
  border: 0;
  margin: 0.8rem 0;
}

.prosa {
  padding: 2.2rem 0 4rem;
  max-width: 48rem;
}

.prosa h2,
.prosa h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.prosa h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.45rem;
}

.prosa h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.15rem;
}

.prosa p,
.prosa li {
  color: var(--ink-soft);
}

.prosa ul {
  padding-left: 1.2rem;
}

.prosa table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.95rem;
}

.prosa th,
.prosa td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.mapa-llista {
  padding: 2rem 0 4rem;
}

.mapa-llista a {
  font-weight: 800;
  font-size: 1.2rem;
}

.mapa-llista li {
  margin: 0.45rem 0;
}

.peu {
  background: var(--ink);
  color: #fff;
}

.peu a,
.peu a:hover,
.peu a:focus-visible {
  color: var(--orange);
  text-decoration: none;
}

.peu a:hover,
.peu a:focus-visible {
  color: var(--orange-2);
}

.peu-grid {
  width: min(100% - 2.5rem, var(--ample));
  margin: 0 auto;
  padding: 2.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr auto;
  align-items: start;
  gap: 1.5rem 2rem;
}

.peu-logo {
  height: 48px;
  width: auto;
  margin: 0 0 0.9rem;
}

.segueix-titol {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.ig {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: var(--orange);
}

.ig svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

.peu a.ig,
.peu a.ig:hover,
.peu a.ig:focus-visible {
  color: var(--ink);
  background: var(--orange);
}

.peu a.ig:hover,
.peu a.ig:focus-visible {
  background: var(--orange-2);
}

.peu-nom {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
}

.peu p {
  margin: 0 0 0.35rem;
}

.peu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.peu nav a,
.enllac,
.enllac:hover,
.enllac:focus-visible {
  color: var(--orange);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 600;
}

.enllac:hover,
.enllac:focus-visible {
  color: var(--orange-2);
}

.kit {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.4rem;
}

.peu .peu-legal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.4rem 1.15rem;
  width: 100%;
  max-width: none;
}

.peu .peu-legal a,
.peu .peu-legal .enllac,
.peu .peu-legal .enllac:hover,
.peu .peu-legal .enllac:focus-visible {
  color: var(--logo-suau);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.peu .peu-legal a:hover,
.peu .peu-legal a:focus-visible,
.peu .peu-legal .enllac:hover,
.peu .peu-legal .enllac:focus-visible {
  color: var(--orange);
}

.kit img {
  align-self: center;
  height: 84px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.cookies {
  position: fixed;
  z-index: 60;
  right: 1rem;
  bottom: 1rem;
  width: min(26rem, calc(100% - 2rem));
  background: var(--ink);
  color: #fff;
  padding: 1rem 1rem 1rem 1.1rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

html.cookies-ok .cookies,
.cookies[hidden] {
  display: none;
}

.cookies p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
}

.cookies-accions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}

.cookies a,
.cookies a:hover,
.cookies a:focus-visible {
  color: var(--orange);
  text-decoration: none;
  font-size: 0.85rem;
  text-align: center;
}

.cookies a:hover,
.cookies a:focus-visible {
  color: var(--orange-2);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .graella,
  .peu-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1040px) {
  .idiomes {
    margin-bottom: 0;
    margin-left: 0;
  }

  .menu-boto {
    display: inline-block;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.8rem 1.25rem 1.2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .menu.obert {
    display: flex;
  }

  .menu a {
    font-size: 1.15rem;
    padding: 0.45rem 0;
  }
}

@media (max-width: 800px) {
  .menu-boto {
    display: inline-block;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.8rem 1.25rem 1.2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .menu.obert {
    display: flex;
  }

  .menu a {
    font-size: 1.15rem;
    padding: 0.45rem 0;
  }

  .intro,
  .dues,
  .modalitats,
  .contacte-grid,
  .pxp-costat,
  .crida .embolcall,
  .graella,
  .peu-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .plataforma .embolcall,
  .crida .embolcall {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookies {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .fixa,
  .cookies,
  .menu-boto,
  .hero-accions,
  .kit {
    display: none;
  }

  body {
    background: #fff;
  }
}
