/* -------------------------------------------------
   GENERALS
-------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

strong {
  font-weight: 700;
  color: #054f87;
}

p a {
  color: #054f87;
  text-decoration: none;
  font-weight: 800;
}

p a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------
   BARRA SUPERIOR
-------------------------------------------------- */
.top-bar {
  background-color: #054f87;
  color: #fff;
  font-family: "Lora", serif;
  font-size: 14px;
  position: relative;
  padding: 14px 0;
}
.intro__inner figure {
  margin: 0;
}

.top-bar__inner {
  max-width: 1300px;
  width: 95%;
  margin: 0 auto;
  position: relative;
}

.top-bar__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 500;
  white-space: nowrap;
}

.lang-switch {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-60%);
}

.lang-switch a {
  color: #fff;
  text-decoration: none;
  margin-left: 12px;
  font-weight: 500;
}

.lang-switch a.active {
  text-decoration: underline;
}

.more-grid a {
  color: inherit;
  text-decoration: none;
}
/* -------------------------------------------------
   INTRO
-------------------------------------------------- */
.intro__inner {
  max-width: 1100px;
  width: 95%;
  margin: 40px auto;
}

.intro__subtitle {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 25px;
  text-align: center;
}

.intro__title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  max-width: 1100px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.main-photo img {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* -------------------------------------------------
   AUTOR
-------------------------------------------------- */
.author {
  margin-bottom: 50px;
}

.author__inner {
  max-width: 1100px;
  width: 100%;
  margin: 30px auto 5px auto;
  font-family: "Inter", sans-serif;
  position: relative;
}

.author__inner::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background-color: #054f87;
  margin-top: 8px;
}

.author__name {
  font-weight: 700;
  margin: 0;
}

.author__date {
  font-size: 14px;
  margin: 0;
  opacity: 0.7;
}

/* -------------------------------------------------
   CONTINGUT
-------------------------------------------------- */
.content__inner {
  max-width: 900px;
  width: 95%;
  margin: 30px auto;
  font-size: 18px;
  line-height: 1.6;
  font-family: "Lora", serif;
}

.content__inner p {
  margin-bottom: 5px;
  font-weight: 500;
}

.content-photo {
  max-width: 900px;
  width: 100%;
  margin: 35px auto 10px auto;
}

.content-photo figcaption {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
  font-family: "Inter", sans-serif;
}

.question {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 21px;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------
   BLOC DESTACAT
-------------------------------------------------- */
.quote-block {
  max-width: 900px;
  width: 100%;
  margin: 50px auto;
}

.quote-block hr {
  border: none;
  border-top: 1px solid #bbb;
  margin: 0;
}

.quote-inner {
  padding: 25px 0 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.quote-icon {
  width: 90px;
  margin-top: 5px;
}

.quote-text-group {
  max-width: 700px;
}

.quote-text {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 20px 0;
}

.quote-author {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.3;
}

.quote-author strong {
  font-size: 18px;
}

/* -------------------------------------------------
   MÉS INNOVACIÓ — GRID 3 TARJETES
-------------------------------------------------- */
.more-section {
  max-width: 900px;
  width: 100%;
  margin: 60px auto 80px auto;
}

.more-title {
  font-family: "Lora", serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.more-line {
  height: 5px;
  background-color: #054f87;
  margin-bottom: 40px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  position: relative;
}

.more-grid::before,
.more-grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ccc;
}

.more-grid::before {
  left: calc(33.333% - 17.5px);
}

.more-grid::after {
  right: calc(33.333% - 17.5px);
}

.more-img {
  width: 100%;
  height: auto;
  background-color: #c8c0b6;
  margin-bottom: 15px;
}

.more-headline {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 15px 0;
}

.more-author {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.3;
}

.more-author strong {
  color: #054f87;
  font-size: 16px;
}

/* -------------------------------------------------
   FOOTER
-------------------------------------------------- */
.footer2 {
  margin-top: 60px;
  padding-bottom: 60px;
  background: #fff;
}

.footer-line {
  border: none;
  border-top: 1px solid #ccc;
  width: 100%;
  margin-bottom: 40px;
}

.footer-inner {
  max-width: 900px;
  width: 95%;
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-family: "Lora", serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.footer-text {
  font-size: 14px;
  line-height: 1.4;
  color: #777;
  max-width: 900px;
  margin: 0 auto;
}

/* -------------------------------------------------
   MEDIA QUERIES RESPONSIVE
-------------------------------------------------- */

/* Tablet */
@media (max-width: 1000px) {
  .intro__title {
    font-size: 38px;
  }

  .quote-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .quote-icon {
    margin-bottom: 15px;
  }

  .more-grid {
    grid-template-columns: 1fr 1fr;
  }

  .more-grid::before,
  .more-grid::after {
    display: none;
  }
}

/* Mòbil */
@media (max-width: 700px) {
  .top-bar__title {
    font-size: 8px;
    white-space: normal;
    text-align: left;
    line-height: 1.2;
    width: 90%;
  }
  .lang-switch a {
    margin-left: 5px;
  }
  .top-bar {
    font-size: 10px;
  }
  .intro__title {
    font-size: 30px;
  }

  .more-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  /* marge lateral universal per a la versió mòbil */
  body {
    padding-left: 12px;
    padding-right: 12px;
  }
}


