@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Manrope:wght@200..800&display=swap');
@import "../lib/bootstrap/css/bootstrap.min.css";
@import "../lib/swiper/swiper-bundle.min.css";

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
:root { font-size: 16px; }
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; margin-top: 0 !important; }
body { margin: 0; font-family: "Manrope", sans-serif; color: #1A1A2E; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { transition: color 0.2s ease; }
h1,h2,h3,h4,h5,h6 { font-family: "Bricolage Grotesque", sans-serif; margin: 0; padding: 0; line-height: 1.2; }
ul,ol { margin: 0; padding: 0; list-style: none; }
p { font-family: "Manrope", sans-serif; margin: 0 0 1rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
  padding: 0 2rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
@media (max-width: 767px) {
  header { padding: 0 1rem; height: 70px; }
}

.navbrand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.navbrand img { height: 42px; width: auto; }
@media (max-width: 767px) {
  .navbrand img { height: 34px; }
}

/* Menú */
.menu-right {
  align-items: center;
  justify-content: flex-end;
  display: flex;
  width: auto;
}
@media (max-width: 1024px) { .menu-right { display: none; } }

.menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.menu li { list-style: none; }
.menu li a {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1A1A2E;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 1rem;
  letter-spacing: 0.03em;
}
.menu li a:hover { text-decoration: underline; }
.menu li.current-menu-item a { text-decoration: underline; }

/* Hamburguesa */
.trigger_menu {
  display: none;
  position: fixed;
  right: 0; top: 0;
  width: 80px; height: 80px;
  z-index: 9999;
}
@media (max-width: 1024px) { .trigger_menu { display: block; } }
@media (max-width: 767px)  { .trigger_menu { width: 70px; height: 70px; } }

.open-menu {
  width: 70px; height: 80px;
  display: block;
  top: 0; right: 0;
  position: absolute;
  z-index: 9999999;
  border: none;
  background-color: #fff;
  cursor: pointer;
}
@media (max-width: 767px) { .open-menu { height: 70px; } }
.open-menu span {
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; margin-left: -15px;
  border-bottom: 2px solid #1A1A2E;
  height: 0;
  transition: all 0.15s ease;
}
.open-menu span:nth-child(1) { margin-top: -9px; }
.open-menu span:nth-child(3) { margin-top: 9px; }
.menu-opened .open-menu span:nth-child(1) { margin-top: 0; animation: menu1 0.15s 0.1s ease forwards; }
.menu-opened .open-menu span:nth-child(2) { opacity: 0; }
.menu-opened .open-menu span:nth-child(3) { margin-top: 0; animation: menu2 0.15s 0.1s ease forwards; }
@keyframes menu1 { 100% { transform: rotate(45deg); } }
@keyframes menu2 { 100% { transform: rotate(-45deg); } }

/* Menú mòbil */
#mobile-nav {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
}
@media (max-width: 767px) { #mobile-nav { top: 70px; } }
#mobile-nav {
  background: #fff;
  z-index: 9998;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 20px rgba(0,0,0,.07);
}
@media (min-width: 1025px) { #mobile-nav { display: none !important; } }
#mobile-nav .menu { flex-direction: column; width: 100%; }
#mobile-nav .menu li { padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,.06); width: 100%; }
#mobile-nav .menu li:last-child { border-bottom: none; }
#mobile-nav .menu li a { font-size: 17px; display: block; text-align: center; padding: 0; }
.menu-opened #mobile-nav { display: block; }
body.no-scroll { overflow: hidden; }

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero {
  margin-top: 80px;
  position: relative;
  min-height: 60vh;
}
@media (max-width: 767px) { .hero { min-height: 55vh; margin-top: 70px; } }

.swiper-hero {
  width: 100%;
  min-height: 60vh;
}
@media (max-width: 767px) { .swiper-hero { min-height: 55vh; } }

.swiper-hero .swiper-slide {
  min-height: 60vh;
  overflow: hidden;
}
@media (max-width: 767px) { .swiper-hero .swiper-slide { min-height: 55vh; } }

.swiper-hero .swiper-slide img {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) { .swiper-hero .swiper-slide img { min-height: 55vh; } }

.hero-placeholder {
  background-color: #b0cdd6;
}

.swiper-hero .swiper-pagination { bottom: 1.5rem; }
.swiper-hero .swiper-pagination-bullet { background: rgba(255,255,255,0.6); opacity: 1; }
.swiper-hero .swiper-pagination-bullet-active { background: #fff; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  padding: 5rem 1.5rem;
  pointer-events: none;
}
.hero-overlay .container { text-align: center; pointer-events: all; }

.hero-overlay h1,
.hero-overlay p {
  color: #fff;
}
.hero-overlay h1 { pointer-events: all; }
.hero-overlay p { pointer-events: all; }

.hero-overlay h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #fff;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,.2);
}

/* Botons */
.btn-pink {
  display: inline-block;
  background-color: #E91E8C;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 2.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-pink:hover { background-color: #c91278; color: #fff; transform: translateY(-1px); }

.btn-purple {
  display: inline-block;
  background-color: #5B4899;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 2.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-purple:hover { background-color: #493a7d; color: #fff; transform: translateY(-1px); }

.link-pink {
  color: #E91E8C;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.link-pink:hover { text-decoration: underline; color: #E91E8C; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: 6rem 0;
}
@media (max-width: 767px) { .about { padding: 4rem 0; } }

.about h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1.25rem;
}
.about p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}
.about p:last-child { margin-bottom: 0; }

.about-img .about-photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) { .about-img { margin-top: 2.5rem; } }

/* ==========================================================================
   SERVEIS
   ========================================================================== */
.serveis {
  padding: 5rem 0;
  background-color: #F2F2F2;
}
@media (max-width: 767px) { .serveis { padding: 4rem 0; } }

.serveis-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.serveis-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 0.75rem;
}
.serveis-header p {
  font-size: 1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.servei-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.servei-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A2E;
  margin: 1rem 0 0.5rem;
}
.servei-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.55;
  margin: 0;
}

.servei-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.25rem;
}
.servei-icon.pink   { background-color: #E91E8C; }
.servei-icon.purple { background-color: #5B4899; }

.serveis-link { text-align: center; margin-top: 2.5rem; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
  padding: 6rem 0;
  background: #fff;
  text-align: center;
}
@media (max-width: 767px) { .cta-section { padding: 4rem 0; } }

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
  background-color: #fff;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid #eee;
}
.footer-inner { text-align: center; }
.footer-distintiu {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 0.25rem;
}
.footer-copy {
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

/* ==========================================================================
   PÀGINA SERVEIS
   ========================================================================== */

/* Intro header */
.serveis-intro-header {
  margin-top: 80px;
  padding: 5rem 1.5rem 4rem;
  background: #F8F8F8;
}
@media (max-width: 767px) { .serveis-intro-header { margin-top: 70px; padding: 3.5rem 1.5rem 3rem; } }

.serveis-intro-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1rem;
}
.serveis-intro-header p {
  font-size: 1.05rem;
  color: #555;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid de serveis */
.serveis-grid {
  padding: 5rem 0;
  background: #fff;
}
@media (max-width: 767px) { .serveis-grid { padding: 3.5rem 0; } }

.sg-item { padding: 0.5rem 0 1rem; }

.sg-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.sg-icon.pink   { background-color: #E91E8C; }
.sg-icon.purple { background-color: #5B4899; }

.sg-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 0.5rem;
}
.sg-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Per què triar-nos */
.per-que {
  padding: 5rem 0;
  background: #F8F8F8;
}
@media (max-width: 767px) { .per-que { padding: 3.5rem 0; } }

.per-que h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 3rem;
}

.pq-item {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  height: 100%;
}
.pq-item h4 {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #E91E8C;
  margin-bottom: 0.6rem;
}
.pq-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* CTA Demana cita */
.cita-cta {
  padding: 6rem 0;
  background: #fff;
}
@media (max-width: 767px) { .cita-cta { padding: 4rem 0; } }

.cita-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1rem;
}
.cita-cta p {
  font-size: 1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.cita-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   PÀGINA LA BOTIGA
   ========================================================================== */

/* Hero */
.botiga-hero {
  margin-top: 80px;
  min-height: 55vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
}
@media (max-width: 767px) { .botiga-hero { margin-top: 70px; min-height: 45vh; } }

.botiga-hero-overlay {
  width: 100%;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  padding: 4rem 1.5rem;
}
.botiga-hero-overlay h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.botiga-hero-overlay p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}
.botiga-hero-overlay * { color: rgba(255,255,255,0.9); }

/* Presentació */
.botiga-presentacio {
  padding: 6rem 0;
  background: #fff;
}
@media (max-width: 767px) { .botiga-presentacio { padding: 4rem 0; } }

.botiga-presentacio h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1.25rem;
}
.botiga-presentacio p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}
.botiga-presentacio p:last-child { margin-bottom: 0; }

.botiga-info-box {
  background: #F8F8F8;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 767px) { .botiga-info-box { margin-top: 2rem; } }

.botiga-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.botiga-info-item strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1A1A2E;
  display: block;
  margin-bottom: 0.2rem;
}
.botiga-info-item p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
.botiga-info-item a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
.botiga-info-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.botiga-info-icon.pink { background-color: #E91E8C; }

/* Productes */
.botiga-productes {
  padding: 5rem 0;
  background: #F8F8F8;
}
@media (max-width: 767px) { .botiga-productes { padding: 4rem 0; } }

.botiga-productes h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 0.75rem;
}
.botiga-productes > .container > .text-center p {
  font-size: 1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
}

.bp-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
}
.bp-card h4 {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #5B4899;
  margin-bottom: 1rem;
}
.bp-card ul { list-style: none; padding: 0; margin: 0; }
.bp-card ul li {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.bp-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6rem;
  width: 7px; height: 7px;
  background-color: #E91E8C;
  border-radius: 50%;
}

/* Mapa */
.botiga-mapa {
  padding: 5rem 0;
  background: #fff;
}
@media (max-width: 767px) { .botiga-mapa { padding: 4rem 0; } }

.botiga-mapa h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 0.75rem;
}
.botiga-mapa > .container > .text-center p {
  font-size: 1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
}
.botiga-mapa-embed {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2.5rem;
}
.botiga-mapa-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Botó outline */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #1A1A2E;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 2.25rem;
  border-radius: 100px;
  border: 2px solid #1A1A2E;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background: #1A1A2E;
  color: #fff;
}

/* ==========================================================================
   PÀGINA CONTACTE
   ========================================================================== */

.contacte-intro {
  margin-top: 80px;
  background: #F8F8F8;
  background-size: cover;
  background-position: center center;
}
@media (max-width: 767px) { .contacte-intro { margin-top: 70px; } }

.contacte-intro-overlay {
  padding: 5rem 1.5rem 4rem;
}
@media (max-width: 767px) { .contacte-intro-overlay { padding: 3.5rem 1.5rem 3rem; } }

/* Amb imatge destacada */
.contacte-intro.has-hero-img .contacte-intro-overlay {
  padding: 7rem 1.5rem;
  background: rgba(0,0,0,0.4);
}
.contacte-intro.has-hero-img h1 { color: #fff; }
.contacte-intro.has-hero-img p  { color: rgba(255,255,255,0.9); }

.contacte-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1rem;
}
.contacte-intro p {
  font-size: 1.05rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.contacte-contingut {
  padding: 5rem 0 6rem;
  background: #fff;
}
@media (max-width: 767px) { .contacte-contingut { padding: 3.5rem 0 4rem; } }

.contacte-contingut h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1.75rem;
}

/* Info lateral */
.contacte-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contacte-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contacte-info-item strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1A1A2E;
  display: block;
  margin-bottom: 0.2rem;
}
.contacte-info-item p { font-size: 0.9rem; color: #555; line-height: 1.5; margin: 0; }
.contacte-info-item a { color: inherit; text-decoration: none; font-weight: inherit; }
.contacte-info-item a:hover { text-decoration: underline; }

/* CF7 — estils del formulari */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  background: #F8F8F8;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: #1A1A2E;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 0.1rem;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  border-color: #E91E8C;
  background: #fff;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; }

.wpcf7 .wpcf7-form-control-wrap { display: block; margin-bottom: 1rem; }

.wpcf7 label {
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A1A2E;
  display: block;
  margin-bottom: 0.4rem;
}

.wpcf7 input[type="submit"] {
  background: #E91E8C;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.85rem 2.5rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}
.wpcf7 input[type="submit"]:hover { background: #c91278; }

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #e91e8c;
  margin-top: 0.25rem;
}
.wpcf7 .wpcf7-response-output {
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 1rem;
  background: #f0faf4;
  color: #1A1A2E;
}

/* ==========================================================================
   UTILS
   ========================================================================== */
.only-phone { display: none; }
@media (max-width: 767px) { .only-phone { display: block !important; } }
.no-phone { display: block; }
@media (max-width: 767px) { .no-phone { display: none !important; } }

/* ==========================================================================
   PÀGINES DE CONTINGUT LEGAL (page.php)
   ========================================================================== */
#pagina {
  padding-top: 80px;
  padding-bottom: 5rem;
  min-height: 70vh;
}
@media (max-width: 767px) { #pagina { padding-top: 70px; } }

.pagina-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 2rem 0;
}
@media (max-width: 767px) { .pagina-inner { padding: 2.5rem 1.25rem 0; } }

.pagina-titol {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 2rem;
}

.pagina-content h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A1A2E;
  margin: 2rem 0 0.6rem;
}
.pagina-content h2:first-child { margin-top: 0; }

.pagina-content p {
  font-family: "Manrope", sans-serif;
  font-size: 0.97rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.pagina-content ul, .pagina-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.pagina-content ul { list-style: disc; }
.pagina-content ol { list-style: decimal; }
.pagina-content li {
  font-family: "Manrope", sans-serif;
  font-size: 0.97rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 0.35rem;
}

.pagina-content strong { color: #1A1A2E; font-weight: 700; }

.pagina-content a { color: #c06; text-decoration: underline; }
.pagina-content a:hover { color: #1A1A2E; }

/* ==========================================================================
   MENÚ LEGAL (FOOTER)
   ========================================================================== */
.footer-legal-nav { margin-top: 0.75rem; }
.footer-legal-menu { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal-menu li a {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-menu li a:hover { color: #1A1A2E; }

.footer-logo-digitalizadores {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
}
.footer-logo-digitalizadores img {
  max-height: 72px;
  width: auto;
  opacity: 0.7;
}

/* ==========================================================================
   SELECTOR D'IDIOMA — DESKTOP (DROPDOWN)
   ========================================================================== */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 1rem;
}
@media (max-width: 1024px) { .lang-switch { display: none; } }

.lang-current {
  background: none;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  padding: 0.28rem 0.55rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #1A1A2E;
  line-height: 1;
  transition: border-color 0.2s;
}
.lang-current:hover { border-color: #999; }
.lang-arrow { font-size: 0.65rem; transition: transform 0.2s; display: inline-block; }
.lang-switch.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  list-style: none;
  margin: 0;
  padding: 0.3rem 0;
  min-width: 60px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  z-index: 9999;
}
.lang-switch.open .lang-dropdown { display: block; }
.lang-dropdown li a {
  display: block;
  padding: 0.4rem 0.85rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1A1A2E;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}
.lang-dropdown li a:hover { background: #f5f5f5; }

/* ==========================================================================
   SELECTOR D'IDIOMA — MÒBIL / TABLET (LLISTAT)
   ========================================================================== */
.lang-mobile-list {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0 0.25rem;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 0.5rem;
}
@media (min-width: 1025px) { .lang-mobile-list { display: none; } }
.lang-mobile-list a {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #888;
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  border-radius: 5px;
  border: 1.5px solid transparent;
  transition: all 0.2s;
}
.lang-mobile-list a.lang-active {
  color: #1A1A2E;
  border-color: #1A1A2E;
}
.lang-mobile-list a:hover { color: #1A1A2E; }
