/* ============================================
   L'Hospitalet 6.0 - Pure CSS Design System
   ============================================ */

/* Custom Fonts */
@font-face {
  font-family: 'Elahac';
  src: url('../fonts/Elahac-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

h1, h2 {
  font-family: 'Elahac', sans-serif;
}

/* CSS Custom Properties */
:root {
  --primary: #6f3294;
  --primary-dark: #4b1f66;
  --accent: #e61385;
  --background: #ffffff;
  --foreground: #1a1a2e;
  --muted: #717182;
  --muted-bg: #ececf0;
  --border: rgba(111, 50, 148, 0.15);
  --card-shadow: 0 8px 32px rgba(111, 50, 148, 0.15);
  --card-border: 1px solid rgba(111, 50, 148, 0.2);
  --card-bg: rgba(255, 255, 255, 0.1);
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --font-size: 16px;
  --gradient: linear-gradient(135deg, #6f3294 0%, #e61385 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(111, 50, 148, 0.02) 0%, rgba(230, 19, 133, 0.02) 100%);
  --gradient-subtle-reverse: linear-gradient(135deg, rgba(230, 19, 133, 0.03) 0%, rgba(111, 50, 148, 0.03) 100%);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Typography */
h1 { font-size: 1.5rem; font-weight: 500; line-height: 1.5; }
h2 { font-size: 1.25rem; font-weight: 500; line-height: 1.5; }
h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
h4 { font-size: 1rem; font-weight: 500; line-height: 1.5; }

/* Global paragraph rhythm */
p + p {
  margin-top: 0.85rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  /*max-width: 1280px;*/
  margin: 0 auto;
  padding: 0 1rem;
  width: 95%;
}

main {
  flex: 1;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(20px);
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(20px);
}


.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 4.75rem;
  height: auto;
  padding: 0.35rem 1rem;
  width: 95%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.75rem;
  }

  .header__left-logos {
    grid-column: 1;
    justify-self: start;
  }

  .header__actions {
    grid-column: 3;
    justify-self: end;
  }
}

.header__left-logos {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: 0;
}

/* Por debajo del menú desktop el bloque de la izquierda ha de poder encoger si no caben el globo y la hamburguesa */
@media (max-width: 1199px) {
  .header__inner {
    gap: 0.35rem;
  }

  /* Los iconos dreta han de quedar per sobre i sempre cliccables */
  .header__actions {
    position: relative;
    z-index: 2;
  }

  .header__left-logos {
    --hdr-aj-florida-gap: 0.25rem;
    flex-shrink: 1;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
    position: relative;
    z-index: 1;
    align-items: center;
    gap: var(--hdr-aj-florida-gap);
  }

  .header__left-logos .header-dropdown:first-child,
  .header__left-logos > a.icon-btn--ajuntament:first-child {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    display: flex;
    align-items: center;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    align-self: center;
    position: relative;
  }

  .header__left-logos .header__logo {
    flex-shrink: 0;
    min-width: 0;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    box-sizing: border-box;
  }

  .header__left-logos .header__logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--hdr-aj-florida-gap) / 2 - 1px);
    width: 2px;
    height: 2.15rem;
    transform: translateY(-50%);
    background: #c94483;
    border-radius: 1px;
    pointer-events: none;
    display: none;
  }

  .header__left-logos .icon-btn--ajuntament {
    width: auto;
    height: auto;
    min-height: 0;
    min-width: 0;
    max-width: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header__left-logos .icon-btn--ajuntament .icon-btn__image--desktop {
    display: none !important;
  }

  /* Escut Ajuntament: més petit a mòbil */
  .header__left-logos .icon-btn--ajuntament .icon-btn__image--mobile {
    display: block !important;
    width: 3rem;
    height: 3rem;
    max-width: 3rem;
    max-height: 3rem;
    object-fit: contain;
    object-position: center;
    transform: none;
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .header__left-logos {
    --hdr-aj-florida-gap: 0.3rem;
  }

  .header__left-logos .header__logo::before {
    height: 2rem;
  }

  .header__left-logos .icon-btn--ajuntament .icon-btn__image--mobile {
    width: 3.125rem;
    height: 3.125rem;
    max-width: 3.125rem;
    max-height: 3.125rem;
  }
}

.header__left-logos .icon-btn--ajuntament {
  min-width: auto;
  height: auto;
  padding: 0;
}

.header__left-logos .header__logo-icon {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header__left-logos .header__logo-cabecera {
  margin: 0;
}

/* PNG escriptori / SVG mòbil: només al bloc .header__left-logos (no al peu ni altres usos) */
.header__left-logos .header__logo-cabecera--desktop {
  display: block;
  width: 112px;
  height: auto;
  max-width: 112px;
  transform: translateY(-2px);
}

.header__left-logos .header__logo-cabecera--mobile {
  display: none;
}

/* Mòbil/tablet: logo Florida (PNG/SVG) més gran que l’escut Ajuntament */
@media (max-width: 1199px) {
  .header__left-logos .header__logo-cabecera--desktop {
    display: none !important;
  }

  .header__left-logos .header__logo-cabecera--mobile {
    display: block !important;
  }

  .header__left-logos .header__logo-icon {
    width: 5.95rem;
    height: 5.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .header__left-logos .header__logo-icon .header__logo-cabecera--mobile {
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
}

@media (max-width: 480px) {
  .header__left-logos .header__logo-icon {
    width: 6.45rem;
    height: 6.45rem;
  }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo-icon {
  width: 3rem;
  height: 3rem;
}

.header__logo-icon img:not(.header__logo-cabecera) {
  max-width:78px;
  width: 78px;
  height: auto;
  display: block;
  margin-top: -14px;
  margin-left: -20px;
}

.header__logo-text {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--primary);
  transition: color 0.3s;
}

.header__logo-text {
  color: #ffffff;
}

/* Navigation — tablet “medio” usa hamburguesa; en desktop centrado óptimo (columnas 1fr | auto | 1fr) */
.nav {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1200px) {
  .nav {
    display: flex;
    grid-column: 2;
    justify-self: center;
  }
}

.nav__link {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  transition: all 0.3s;
  color: #ffffff;
  white-space: nowrap;
}

.nav__link:hover, .nav__link--active {
  color: var(--accent);
  background-color: rgba(230, 19, 133, 0.08);
}

.nav__link--active {
  background-color: rgba(230, 19, 133, 0.1);
  box-shadow: 0 2px 8px rgba(230, 19, 133, 0.2);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Portátiles estrechos: un poco menos de padding / logo si falta hueco — mismo tamaño de letra */
@media (min-width: 1200px) and (max-width: 1349px) {
  .nav__link {
    padding: 0.55rem 0.72rem;
  }
  .header__left-logos .icon-btn--ajuntament .icon-btn__image--desktop {
    width: 228px;
    max-height: 80px;
  }
}

.header__search {
  display: none;
  position: relative;
  max-width: 200px;
}

@media (min-width: 1024px) {
  .header__search { display: flex; }
}

.header__search-input {
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.875rem;
  width: 100%;
  height: 2.25rem;
  outline: none;
  transition: border-color 0.3s;
}

.header__search-input::placeholder {
  color: #ffffff;
  opacity: 0.5;
}


.header__search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: #ffffff;
  opacity: 0.5;
}


.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
}

#langDropdown .icon-btn {
  width: 3.2rem;
  height: 3.2rem;
}

#langDropdown .icon-btn svg,
#langDropdown .icon-btn i {
  width: 24px;
  height: 24px;
  font-size: 24px;
}


.icon-btn:hover {
  background: rgba(230, 19, 133, 0.08);
  color: var(--accent);
}

.icon-btn__image {
  width: 182px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

/* Escut sols (logo_aj_magenta_icon.svg): només es mostra a mòbil/tablet via media query */
.icon-btn__image--mobile {
  display: none;
}

.icon-btn--ajuntament {
  width: auto;
  min-width: 220px;
  height: 4.5rem;
  padding: 0 1rem;
  border-radius: 999px;
}

.icon-btn--ajuntament .icon-btn__image--desktop {
  width: 245px;
  max-height: 84px;
}

@media (min-width: 1200px) {
  .header__left-logos .icon-btn--ajuntament .icon-btn__image--desktop {
    display: block;
    width: 255px;
    max-height: 88px;
    transform: translateY(2px);
  }

  .header__left-logos .icon-btn--ajuntament .icon-btn__image--mobile {
    display: none !important;
  }
}

/* Header Dropdowns */
.header-dropdown {
  position: relative;
}

.header-dropdown__panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  z-index: 100;
}

.header-dropdown.is-open .header-dropdown__panel {
  display: block;
}

.header-dropdown__title {
  display: block;
  padding: 0.5rem 1rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.header-dropdown__item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: background 0.2s;
  cursor: pointer;
}

.header-dropdown__item:hover {
  background: rgba(111, 50, 148, 0.06);
}

.header-dropdown__item--active {
  color: var(--primary);
  font-weight: 600;
}

.header-dropdown__item--active::before {
  content: "\2713\00a0";
}

.header-dropdown__item--large {
  font-size: 1.1rem;
}

.header-dropdown__divider {
  height: 1px;
  background: var(--border);
  margin: 0.4rem 0;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
}

.mobile-menu-btn i {
  pointer-events: none;
}

@media (max-width: 1199px) {
  .mobile-menu-btn svg,
  .mobile-menu-btn i {
    width: 28px;
    height: 28px;
    font-size: 28px;
    line-height: 1;
  }
}

@media (min-width: 1200px) {
  .mobile-menu-btn { display: none; }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: #ffffff;
  z-index: 100;
  padding: 2rem 1.5rem;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-nav__title {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.25rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  border-radius: 12px;
  transition: all 0.3s;
}

.mobile-nav__link:hover, .mobile-nav__link--active {
  color: var(--accent);
  background-color: rgba(230, 19, 133, 0.08);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.overlay.is-open {
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: auto;
  background: rgba(111, 50, 148, 0.03);
  border-top: 1px solid rgba(111, 50, 148, 0.1);
}

.footer__inner {
  padding: 3rem 1rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
}

.footer__brand-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--primary);
}

.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--primary);
  opacity: 0.7;
  margin-top: 0.5rem;
}

.footer__heading {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: var(--primary);
  opacity: 0.7;
  padding: 0.25rem 0;
  transition: all 0.3s;
}

.footer__link:hover {
  color: var(--accent);
  opacity: 1;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(111, 50, 148, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: var(--primary);
  opacity: 0.6;
}

.footer__bottom p {
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 2rem 1.5rem 1.25rem;
}

.page-intro {
  background: #ffffff;
  padding: 1.25rem 0 0.5rem;
}

.page-header .container::after {
  content: "";
  display: table;
  clear: both;
}

.page-header__title {
  font-size: 3.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

.pixels-interior__title{
  display: inline-block;
  margin-bottom: 20px;
}

.pixels-interior__title img {
  width: 80%;
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-interior__title {
  float: right;
  margin-top: 17px;
  padding: 0;
  margin-right: 0;
  max-width: min(52%, 28rem);
  width: auto;
  box-sizing: border-box;
}

.logo-interior__title img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.reservar-button{
  width: 100%;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.5em;
  color: var(--primary);
  font-weight: 510;
  letter-spacing: 2px;
  border-top: var(--card-border);
  text-align: center;
  padding-top: 10px;
  position: absolute;
  transition: all 0.3s;
  bottom: 0;
  height:60px;
  left:0;
}

.reservar-button:hover{
  font-weight: 710;
  color: var(--accent);
  transform: translateY(-1px) scale(1.05);
  transition: all 1s;
  padding-top:7px;
  background:rgba(111, 50, 148, 0.2);
}

.page-interior__title{
  display: -webkit-inline-flex;
  display: inline-flex;
  font-size: 7rem;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 1200px) {
  .logo-interior__title {
    margin-right: -1.875rem;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .page-header .container:has(.logo-interior__title)::after {
    display: none;
  }

  .page-header .container:has(.logo-interior__title) {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
  }

  .page-header .container:has(.logo-interior__title) .page-interior__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(1.65rem, 3.8vw, 2.85rem);
    line-height: 1.08;
  }

  .page-header .container:has(.logo-interior__title) .pixels-interior__title {
    flex: 0 0 auto;
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }

  .page-header .container:has(.logo-interior__title) .pixels-interior__title img {
    width: 48px;
    max-width: none;
    height: auto;
  }

  .page-header .container:has(.logo-interior__title) .logo-interior__title {
    float: none;
    clear: none;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    margin-left: auto;
    max-width: none;
    width: auto;
  }

  .page-header .container:has(.logo-interior__title) .logo-interior__title img {
    width: auto;
    height: auto;
    max-height: clamp(2.65rem, 5vw, 3.35rem);
    max-width: min(10.5rem, 30vw);
    margin: 0;
    object-fit: contain;
  }

  /* Sense logo Florida: títol + gràfic píxels a la mateixa línia; la resta del contingut (intro, etc.) a sota */
  .page-header .container:not(:has(.logo-interior__title)) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.35rem;
  }

  .page-header .container:not(:has(.logo-interior__title)) .page-interior__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.06;
  }

  .page-header .container:not(:has(.logo-interior__title)) .pixels-interior__title {
    flex: 0 0 auto;
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }

  .page-header .container:not(:has(.logo-interior__title)) .pixels-interior__title img {
    width: 48px;
    max-width: none;
    height: auto;
  }

  .page-header .container:not(:has(.logo-interior__title)) .pixels-interior__title ~ * {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .page-header__title { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .page-header__title { font-size: 5rem; }
}

@media (max-width: 767px) {
  /* Fila compacta només quan hi ha logo Florida + títol (presentació/galeria) */
  .page-header .container:has(.logo-interior__title)::after {
    display: none;
  }

  .page-header .container:has(.logo-interior__title) {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
  }

  .page-header .container:has(.logo-interior__title) .page-interior__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(1rem, 4.2vw, 1.5rem);
    line-height: 1.05;
  }

  .page-header .container:has(.logo-interior__title) .pixels-interior__title {
    flex: 0 0 auto;
    margin-bottom: 0;
    vertical-align: middle;
    display: flex;
    align-items: center;
  }

  .page-header .container:has(.logo-interior__title) .pixels-interior__title img {
    width: 40px;
    flex-shrink: 0;
  }

  .page-header .container:has(.logo-interior__title) .logo-interior__title {
    float: none;
    clear: none;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    margin-left: auto;
    max-width: none;
    width: auto;
  }

  .page-header .container:has(.logo-interior__title) .logo-interior__title img {
    width: auto;
    max-height: 2.75rem;
    max-width: min(8.75rem, 38vw);
    height: auto;
    margin: 0;
    object-fit: contain;
  }

  /* Sense logo Florida: mateixa fila títol + píxels; el que ve després dels píxels a línia nova */
  .page-header .container:not(:has(.logo-interior__title)) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.45rem;
    row-gap: 0.25rem;
  }

  .page-header .container:not(:has(.logo-interior__title)) .page-interior__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(1.85rem, 7vw, 2.85rem);
    line-height: 1.06;
  }

  .page-header .container:not(:has(.logo-interior__title)) .pixels-interior__title {
    flex: 0 0 auto;
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }

  .page-header .container:not(:has(.logo-interior__title)) .pixels-interior__title img {
    width: 40px;
    height: auto;
    max-width: none;
    display: block;
    flex-shrink: 0;
  }

  .page-header .container:not(:has(.logo-interior__title)) .pixels-interior__title ~ * {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
  }
}

/* Sub-menu / Tab Navigation */
.submenu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.submenu__link {
  padding-bottom: 0.75rem;
  font-size: 1rem;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .submenu__link { font-size: 1.125rem; }
}

.submenu__link:hover {
  color: var(--primary);
}

.submenu__link--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

/* Tab Navigation (sticky) */
.tab-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(111, 50, 148, 0.1);
}

.tab-nav__inner {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0 1rem;
}

.tab-nav__link {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.7;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.3s;
}

.tab-nav__link:hover {
  opacity: 1;
  background: rgba(230, 19, 133, 0.05);
}

.tab-nav__link--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
  opacity: 1;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  position: relative;
  padding: 5rem 0 8rem;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, rgba(111, 50, 148, 0.08) 40%, rgba(230, 19, 133, 0.12) 70%, #ffffff 100%);
}

.page-hero__content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.page-hero__title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .page-hero__title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .page-hero__title { font-size: 4.5rem; }
}

.page-hero__subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  opacity: 0.8;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero__subtitle { font-size: 1.5rem; }
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.detail-hero-image {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
}

.detail-hero-image__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.subtitle-inner{
  font-size: 1.73rem;
  font-weight: 374;
  line-height: 1.5;
  color: #666;
  padding-left: 5px;
}

.no-padding{
  padding:0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 22px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--gradient);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(230, 19, 133, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 6px 24px rgba(230, 19, 133, 0.4);
  transform: translateY(-1px);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid #ffffff;
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--outline-purple {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline-purple:hover {
  background: rgba(111, 50, 148, 0.05);
}

.btn--white {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
  border: 1px solid var(--accent);
}

.btn--white:hover {
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.4);
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.btn--submit {
  background: var(--gradient);
  color: #ffffff;
  width: 100%;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(230, 19, 133, 0.3);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background: var(--gradient-subtle);
}

.section--compact-top {
  padding-top: 0rem;
}

.section__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__title--center {
  text-align: center;
}

.section__title--lg {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .section__title--lg { font-size: 2.5rem; }
}

/* Prose content */
.prose {
  max-width: 65ch;
}

.prose p {
  margin-bottom: 1.25em;
  line-height: 1.7;
}

.prose h2 {
  margin-top: 2em;
  margin-bottom: 1em;
}

.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.prose h4,
.missatge-section__content h4 {
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose h4::after,
.missatge-section__content h4::after,
.projecte-layout__aside .card__title::after {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.35rem;
  width: 2.5rem;
}

.prose ol + h3,
.prose ul + h3 {
  margin-top: 0.1em;
}

.prose ul, .prose ol {
  margin: 1em 0 0.35em 0;
  padding-left: 1.625em;
}

.prose ul {
  list-style: disc;
}

.prose ul ul {
  list-style: circle;
  margin-top: 0.35em;
}

.prose ul ul ul {
  list-style: square;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin: 0.5em 0;
}

.prose strong {
  font-weight: 600;
}

.prose a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: var(--accent);
}

/* Notícies / noticias */
.news-section .event-card__title {
  font-size: 1.125rem;
}

/* Detall notícia: el .section__title du 2rem abaix; aquí el titular ha d'anar amb el subtítol i després un salt clar cap a la data. */
.news-detail__title {
  margin-bottom: 0.5rem;
}

.news-detail__date {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.news-detail__date--highlight {
  margin: 0 0 1.35rem;
  padding: 0.7rem 1rem 0.7rem 1rem;
  border-left: 4px solid #c7156e;
  background: rgba(199, 21, 110, 0.09);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.news-detail__date--highlight.news-detail__date--above-title {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.news-detail__date--above-title + .news-detail__title {
  margin-top: 0;
}

.news-detail__date--highlight .news-detail__date-time {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.news-detail__related {
  padding: 1.25rem 1.1rem;
  background: var(--background);
  border: var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
}

.news-detail__related-title {
  font-family: 'Elahac', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--accent);
  color: var(--primary-dark);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .news-detail__related-title {
    font-size: 1.625rem;
  }
}

.news-detail__related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.news-detail__related-meta {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.news-detail__related-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-detail__related-link:hover {
  color: #e879b8;
  text-decoration: underline;
}

.news-detail__related-item {
  margin: 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.news-detail__related-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.news-detail__lead {
  font-size: 1.0625rem;
  color: var(--primary);
  opacity: 0.88;
  font-weight: 500;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.news-detail__subtitle {
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--primary-dark);
  opacity: 0.92;
  margin: 0 0 1.35rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.news-detail__title + .news-detail__subtitle {
  margin-top: 0;
}

.news-detail__links {
  margin: 0 0 1.25rem;
}

.news-detail__links a {
  font-weight: 600;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s;
}

.card-nopadding{
  padding:0;
}

.card:hover {
  box-shadow: 0 12px 48px rgba(111, 50, 148, 0.2);
  transform: translateY(-4px);
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.projecte-layout__aside .card__title {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
}

.projecte-layout__aside .card__description {
  color: var(--foreground);
  font-size: 1rem;
  opacity: 0.85;
}

.card__left{
  min-height:50vh;
  width:50%;
  float:left;
  border-top-left-radius:var(--radius-xl);
  border-bottom-left-radius:var(--radius-xl);
  overflow:hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-nopadding .card__header .card__title{
  font-size:2em;
}

.card-nopadding .card__header{
  margin-bottom:1.5em;
}

.card__right{
  width:50%;
  float:right;
  padding:2em;
}

@media (max-width: 767px) {
  .card__left {
    width: 100%;
    float: none;
    min-height: 220px;
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    border-bottom-left-radius: 0;
  }
  .card__right {
    width: 100%;
    float: none;
  }
}

.card__image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.card__body {
  padding: 1.5rem;
}

.card__description {
  font-size: 0.875rem;
  color: var(--primary);
  opacity: 0.8;
  margin-top: 0.5rem;
}

ul.card__description {
  padding-left: 1.25rem;
  list-style: disc;
}

ul.card__description ul {
  list-style: circle;
  margin-top: 0.35em;
}

ul.card__description ul ul {
  list-style: square;
}

ul.card__description--nested {
  margin-top: 0.5rem;
  list-style: none;
  padding-left: 1rem;
}

ul.card__description--nested > li::before {
  content: "- ";
}

ol.card__description {
  padding-left: 1.25rem;
  list-style: decimal;
}

.card .card__description a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card__inscription-suspended {
  font-weight: 500;
  color: rgba(31, 31, 35, 0.88);
}

.card__location-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.card__address-detail {
  display: block;
  font-size: 0.95em;
  line-height: 1.45;
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(111, 50, 148, 0.1);
  border: 1px solid rgba(111, 50, 148, 0.2);
  color: var(--accent);
}

.card__icon .icon--purple {
  color: var(--primary);
}

.card__icon .icon--pink {
  color: var(--accent);
}

.card__arrow {
  color: var(--accent);
  transition: transform 0.3s;
  font-size: 1.25rem;
}

.card:hover .card__arrow {
  transform: translateX(4px);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Installation Card */
.install-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding-bottom: 3em;
}

.install-card * {
  cursor: pointer;
}

.install-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.install-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 0;
}

.install-card__body {
  padding: 1rem 1.5rem 1.5rem;
}

.install-card__name {
  font-weight: 600;
  font-size: 1.125rem;
}

.install-card__desc {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.install-card__capacity {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  display: inline;
}

.install-card__capacity strong {
  color: var(--primary);
}

.install-card__features-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}

.install-card__features {
  font-size: 0.875rem;
  color: #4b5563;
  list-style: disc;
  padding-left: 1.2rem;
}

.install-card__features ul {
  list-style: circle;
  margin-top: 0.35em;
}

.install-card__features ul ul {
  list-style: square;
}

.install-card__features li {
  padding: 0.125rem 0;
}

/* ============================================
   HERO (Home)
   ============================================ */
.home-hero {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  min-height: 92vh;
  overflow-x: hidden;
  background-image: url('../img/foto_portada.jpg');
  background-size: cover;
  background-position: left;
  background-color: #000;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.15) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 10;
  max-width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  padding-bottom: 5rem;
  margin: 0;
  box-sizing: border-box;
}

.home_hero_center_helper{
  width:95%;
  margin:0 auto;
}
.home-hero__title {
  font-weight: 600;
  color: transparent;
  background-clip: text;
  background-image: var(--gradient);
  margin-top: 0;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-logo{
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  margin-left: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem 0.75rem;
  max-width: calc(100% - 1rem);
}

.hero-logo-image{
  display: block;
  height: auto;
  margin-bottom: 0;
}

.hero-logo-pixels{
  display: block;
  margin-left: 0;
  width: 410px;
  max-width: 100%;
  height: auto;
  margin-bottom: 0;
}

.btn--hero-home{
  background: white;
  color: black;
  font-weight: 300;
}

@media (min-width: 768px) {
  .home-hero__title { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .home-hero__title { font-size: 7.5rem; }
}

@media (max-width: 767px) {
  .home-hero {
    align-items: flex-start;
    background-image: url('../img/foto_portada_mobile.png');
    background-position: center;
    min-height: auto;
    padding-top: 1rem;
  }
  /* Apilar logos y titular sin hueco extra (SVGs traen mucha caja transparente) */
  .home_hero_center_helper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .hero-logo {
    margin-top: 0;
    margin-left: 0.75rem;
    align-items: flex-start;
    align-content: flex-start;
    row-gap: 0.2rem;
    column-gap: 0.45rem;
    margin-bottom: 0.75rem;
  }
  .hero-logo-image {
    width: 122px;
    max-width: 36vw;
    flex: 0 0 auto;
  }
  .hero-logo-pixels {
    width: 205px;
    max-width: min(62vw, 100%);
    flex: 0 1 auto;
    object-fit: contain;
    object-position: top left;
  }
  .home_hero_center_helper > .home-hero__content {
    margin-top: 0;
    padding-top: 0;
  }
  .home-hero__title {
    font-size: clamp(2rem, 8.5vw + 0.65rem, 3.5rem);
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .home-hero__content {
    padding-bottom: 2.25rem;
  }
  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .home-hero__actions .btn {
    width: 100%;
    box-sizing: border-box;
  }
}

.home-hero__subtitle {
  font-size: 1.125rem;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 2.5rem;
  max-width: 38rem;
  line-height: 1.6;
  opacity: 0.92;
}

@media (min-width: 768px) {
  .home-hero__subtitle { font-size: 1.35rem; }
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.home-hero__actions + .home-hero__subtitle {
  margin-top: 1.25rem;
}

/* ============================================
   EQUIPAMENT BLOCKS (Home + Pages)
   ============================================ */
.equipaments-section, .equipaments-section-noblack{
  padding: 2.5rem 0;
}

.equipaments-section{
  background: #000000;
}

.equipament-block {
  display: block;
  border-radius: var(--radius-xl);
  border: 1px solid #e61385;
  transition: transform 0.3s;
}

.equipament-block + .equipament-block,
.space-y-8 > .equipament-block + .equipament-block {
  margin-top: 2rem;
}

.equipament-block:hover {
  transform: scale(1.005);
}

.equipament-block--florida {
  box-shadow: 0 8px 32px rgba(111, 50, 148, 0.3);
}

.equipament-block--torre {
  box-shadow: 0 8px 32px rgba(230, 19, 133, 0.3);
}

.equipament-block__grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .equipament-block__grid { grid-template-columns: 1fr 1fr; }
}

.equipament-block__image {
  position: relative;
  min-height: 680px;
  background: #333;
}

.left_radius_xl{
  border-top-left-radius: var(--radius-xl);
  border-bottom-left-radius: var(--radius-xl);
}

.right_radius_xl{
  border-top-right-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

@media (min-width: 1024px) {
  .equipament-block__image { min-height: 0; }
}

.equipament-block__image .block_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.equipament-block__content {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  /*overflow: hidden;*/
}


.equipament-block__pixels-florida{
  position: absolute;
  width: 74px;
  margin-top: -9px;
  margin-left: 20px;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
  z-index: 1;
}

.equipament-block__pixels-torre{
  position: absolute;
  width: 74px;
  margin-bottom: -20px;
  height: auto;
  right: 0;
  margin-right: 20px;
  bottom: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
  z-index: 10;
}

.equipament-block__content > div,
.equipament-block__content > .equipament-block__cta {
  position: relative;
  z-index: 2;
  
}

.equipament-block__content > .equipament-block__cta{
  border-top: 1px solid rgba(255,255,255,0.5);
  padding-top: 20px;
}

@media (min-width: 768px) {
  .equipament-block__content { padding: 3rem; }
}

.equipament-block__content--florida {
  background: #6f3294;
  border-top-right-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  padding: 2rem;
}

.equipament-block--torre .equipament-block__image{
  border-top-right-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

.equipament-block--florida .equipament-block__image{
  border-top-left-radius: var(--radius-xl);
  border-bottom-left-radius: var(--radius-xl);
}

.equipament-block__content--torre {
  background: #e61385;
  border-top-left-radius: var(--radius-xl);
  border-bottom-left-radius: var(--radius-xl);
  padding: 2rem;
}

.equipament-block__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0rem;
}

.equipament-block__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height:1;
  text-indent: -4px;
}

@media (min-width: 768px) {
  .equipament-block__title { font-size: 4rem; }
}

@media (min-width: 1024px) {
  .equipament-block__title { font-size: 7rem; }
}

.equipament-block__desc {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.equipament-block__list {
  color: #ffffff;
}

.equipament-block__list li {
  align-items: flex-start;
  gap: 0.75rem;
}

.equipament-block__list li::before {
  content: "•";
  font-size: 1rem;
  line-height: 1.5;
}

.equipament-block__list ul {
  list-style: circle;
  margin-top: 0.35em;
  padding-left: 1.25rem;
}

.equipament-block__list ul ul {
  list-style: square;
}

.equipament-block__list ul li::before {
  content: none;
}

.equipament-block__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-weight: 600;
  margin-top: 2rem;
  transition: gap 0.3s;
}

.equipament-block:hover .equipament-block__cta {
  gap: 1rem;
}

/* Pixel decoration overlays */
.equipament-block__pixels {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.equipament-block__content--torre .equipament-block__pixels {
  right: auto;
  left: 0;
  object-position: top left;
}



/* Reverse order for Torre Barrina on desktop */
@media (min-width: 1024px) {
  .equipament-block--torre .equipament-block__image {
    order: 2;
  }
  .equipament-block--torre .equipament-block__content {
    order: 1;
  }
}

/* Equipment blocks — mobile overrides */
@media (max-width: 767px) {
  /* Double the title font size on mobile (base is 2.5rem) */
  .equipament-block__title {
    font-size: clamp(2rem, 10vw, 3.8rem);
    margin-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Reduce photo height on mobile */
  .equipament-block__image {
    min-height: 220px;
  }

  /* Florida: image is on TOP → round top corners, square bottom */
  .equipament-block--florida .equipament-block__image {
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .left_radius_xl {
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  /* Torre: image is on BOTTOM → square top corners, round bottom */
  .equipament-block--torre .equipament-block__image {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
  }
  .right_radius_xl {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
  }

  /* Florida content: sits BELOW the photo → top squared, bottom rounded */
  .equipament-block__content--florida {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
  }

  /* Torre content: sits ABOVE the photo → top rounded, bottom squared */
  .equipament-block__content--torre {
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

.gallery__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f3f4f6;
  cursor: pointer;
  transition: opacity 0.3s;
}

.gallery__item:hover {
  opacity: 0.9;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-orientation: from-image;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  box-sizing: border-box;
  padding: clamp(0.5rem, 2vmin, 1rem);
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.lightbox img#lightbox-img,
.lightbox__inner img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 3.5rem);
  max-height: calc(100dvh - 3.5rem);
  object-fit: contain;
  image-orientation: from-image;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: clamp(0.5rem, 2vmin, 1rem);
  right: clamp(0.5rem, 2vmin, 1rem);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumbs__item {
  color: var(--primary);
  opacity: 0.6;
  transition: all 0.3s;
}

.breadcrumbs__item:hover {
  color: var(--accent);
  opacity: 1;
}

.breadcrumbs__item--active {
  color: var(--accent);
  font-weight: 600;
  opacity: 1;
}

.breadcrumbs__sep {
  color: var(--primary);
  opacity: 0.3;
}

/* ============================================
   FORM
   ============================================ */
.form {
  max-width: none;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(111, 50, 148, 0.05);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 19, 133, 0.1);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__group--checkbox {
  margin-bottom: 1rem;
}

.form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text, #333);
  cursor: pointer;
}

.form__checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  cursor: pointer;
}

.form__checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
}

.form__recaptcha-hint {
  margin: 0 0 1.25rem;
  opacity: 0.85;
}

.form__recaptcha-hint a {
  color: var(--accent);
  text-decoration: underline;
}

.form-status {
  border-radius: var(--radius);
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding: 1rem 1.125rem;
}

.form-status--success {
  background: rgba(111, 50, 148, 0.16);
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(111, 50, 148, 0.18);
  color: var(--primary);
}

.form-status--error {
  background: rgba(230, 19, 133, 0.1);
  color: var(--accent);
}

/* ============================================
   AGENDA
   ============================================ */
  .event-card {
    display: grid;
    grid-template-columns: 1fr 220px;
    grid-template-areas:
      "header image"
      "meta image";
    column-gap: 1.25rem;
    align-items: start;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--card-border);
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
    margin-bottom: 1rem;
  }
  
  .event-card:hover {
    box-shadow: 0 12px 48px rgba(111, 50, 148, 0.2);
    transform: translateY(-2px);
  }

  .event-card[role="link"] {
    cursor: pointer;
    color: inherit;
    outline-offset: 2px;
  }

  .event-card__inline-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .event-card__image {
    grid-area: image;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0.9rem;
    overflow: hidden;
    margin: 0;
  }

  .event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .event-card__header {
    grid-area: header;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .event-card__heading {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  .event-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    width: 100%;
    min-width: 0;
  }

  .event-card__title-row .event-card__title {
    flex: 1 1 10rem;
    min-width: 0;
  }

  .event-card__title-row--section {
    margin-bottom: 2rem;
  }

  .event-card__title-row .section__title {
    flex: 1 1 10rem;
    min-width: 0;
    margin-bottom: 0;
    line-height: 1.15;
  }

  .event-card__badge--suspended {
    flex-shrink: 0;
    display: inline-block;
    padding: 0.22rem 0.55rem;
    border-radius: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    background: rgba(180, 50, 50, 0.12);
    color: #9e1e1e;
    border: 1px solid rgba(180, 50, 50, 0.38);
  }
  
  .event-card__title {
    flex: 1;
    min-width: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
  }

  .event-card__summary {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(31, 31, 35, 0.78);
    max-height: calc(0.9375rem * 1.5 * 4);
    overflow: hidden;
  }

  .event-card__summary p {
    margin: 0 0 0.5em 0;
  }

  .event-card__summary p:last-child {
    margin-bottom: 0;
  }
  
  .event-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
    flex-shrink: 0;
    max-width: 45%;
  }

  .event-card__tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(111, 50, 148, 0.1);
    border: 1px solid rgba(111, 50, 148, 0.2);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
  }

  @media (min-width: 768px) {
    .event-card__header {
      justify-content: flex-start;
      gap: 0.7rem;
    }

    .event-card__title-row .event-card__title,
    .event-card__title-row .section__title {
      flex: 0 1 auto;
    }
  }
  
  .event-card__meta {
    grid-area: meta;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  @media (max-width: 767px) {
    .event-card {
      grid-template-columns: 1fr;
      grid-template-areas:
        "image"
        "header"
        "meta";
      row-gap: 0.9rem;
    }
  }
  
  .event-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9375rem;
    color: #1f1f23;
  }
  
  .event-card__meta-item svg,
  .event-card__meta-item i {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
  }

.agenda-detail__button {
  margin-top: 1.5rem;
}
  

/* ============================================
   CONTACT INFO CARDS
   ============================================ */
.contact-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.contact-layout__image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  display: block;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 2.4fr) minmax(320px, 1.6fr);
    justify-content: start;
  }

  .contact-layout__image {
    position: sticky;
    top: 6rem;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
}

.contact-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card__detail {
  font-size: 0.875rem;
  color: #4b5563;
  padding: 0.25rem 0;
}

.contact-card__detail strong {
  color: var(--primary);
}

/* ============================================
   FEATURED SECTION (Objectius, etc.)
   ============================================ */
.objectives-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .objectives-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .objectives-grid { grid-template-columns: repeat(4, 1fr); }
}

.objective-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.objective-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius-lg);
  background: rgba(111, 50, 148, 0.1);
  border: 1px solid rgba(111, 50, 148, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
}

.objective-card__title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.objective-card__desc {
  font-size: 0.875rem;
  color: #4b5563;
}

/* ============================================
   FORMA PART BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 8rem 0;
  background-size: cover;
  background-position: center;
  background-color: #000;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.cta-banner__content {
  position: relative;
  z-index: 10;
}

.cta-banner__title {
  font-size: 4rem;
  line-height: 1;
  font-weight: 700;
  max-width: 100%;
  color: transparent;
  background-clip: text;
  background-image: var(--gradient);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-banner__title { font-size: 6rem; }
}

.cta-banner__desc {
  font-size: 1.125rem;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail {
  padding: 3rem 0;
}

.service-detail__intro {
  font-size: 1.125rem;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 65ch;
}

.service-detail h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 2rem 0 1rem;
}

.service-detail ul {
  padding-left: 1.5rem;
}

.service-detail ul ul {
  list-style: circle;
  margin-top: 0.35em;
  margin-bottom: 0.35em;
  padding-left: 1.25rem;
}

.service-detail ul ul ul {
  list-style: square;
}

.service-detail ul li {
  position: relative;
  padding: 0.375rem 0;
  color: #4b5563;
}

.service-detail ul li::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.5rem;
}

.service-detail ul ul li::before {
  content: none;
  margin-right: 0;
}

/* Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.pricing-card__label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ============================================
   SITEMAP
   ============================================ */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .sitemap-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .sitemap-grid { grid-template-columns: repeat(4, 1fr); }
}

.sitemap-section h3 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.sitemap-section a {
  display: block;
  padding: 0.15rem 0;
  font-size: 0.875rem;
  color: var(--primary);
  opacity: 0.7;
  transition: all 0.3s;
}

.sitemap-section a:hover {
  color: var(--accent);
  opacity: 1;
}

/* ============================================
   404 PAGE
   ============================================ */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.not-found__code {
  font-size: 6rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.not-found__text {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 1rem 0 2rem;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: #ffffff; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.max-w-none { max-width: none; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Arrow icon (CSS-only) */
.arrow-right::after {
  content: "→";
}

/* ============================================
   MISSATGE PRINCIPAL (que-es.html)
   ============================================ */
.missatge-section {
  padding: 3rem 0;
  background: #ffffff;
}

.missatge-section__heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.missatge-card {
  background: #ffffff;
  border: 1px solid rgba(111, 50, 148, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(111, 50, 148, 0.07);
}

.missatge-card__intro {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.missatge-card__body {
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.missatge-card__features-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.missatge-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.missatge-card__features li {
  font-size: 1rem;
  color: var(--foreground);
  line-height: 1.6;
}

.missatge-card__features li strong {
  color: var(--foreground);
  font-weight: 700;
}

/* ============================================
   EQUIPAMENTS HEADING SECTION (que-es.html)
   ============================================ */
.equipaments-heading-section {
  padding: 3rem 0 1.5rem;
  background: #ffffff;
  text-align: center;
}

.equipaments-heading-section__title {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .equipaments-heading-section__title { font-size: 3.5rem; }
}

.equipaments-heading-section__subtitle {
  color: var(--accent);
  font-size: 1rem;
}

/* ============================================
   ELS NOSTRES OBJECTIUS (objectius.html)
   ============================================ */
.objectiu-section {
  padding: 3rem 0;
  background: var(--gradient-subtle);
}

.objectiu-section__heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.35rem;
  margin-bottom: 1.5rem;
}

.prose .missatge-card__features + .objectiu-section__heading {
  margin-top: 0.15rem;
}

.prose .missatge-card__features + .section__title,
.prose ol + .section__title,
.prose ul + .section__title {
  margin-top: 1.5rem;
}

.objectiu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .objectiu-grid { grid-template-columns: repeat(2, 1fr); }
}

.objectiu-card {
  background: #ffffff;
  border: 1px solid rgba(111, 50, 148, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 12px rgba(111, 50, 148, 0.07);
  overflow: hidden;
}

.objectiu-card__image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}
@media (min-width: 1024px) {
  .objectiu-card__image {
    height: 350px;
  }
}

.objectiu-card__body {
  padding: 1.75rem;
}

.objectiu-card__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.objectiu-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  border-radius: 10px;
  background: rgba(111, 50, 148, 0.1);
  color: var(--accent);
  font-size: 1rem;
}

.objectiu-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.objectiu-card__desc {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.65;
}

.objectiu-card__list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(111, 50, 148, 0.1);
  padding-top: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.objectiu-card__list li {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  padding-left: 1.125rem;
  position: relative;
  line-height: 1.5;
}

.objectiu-card__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 700;
}

.objectiu-card__list ul {
  list-style: circle;
  margin-top: 0.35em;
  padding-left: 1.25rem;
}

.objectiu-card__list ul ul {
  list-style: square;
}

.objectiu-card__list ul li {
  padding-left: 0;
}

.objectiu-card__list ul li::before {
  content: none;
}

/* ============================================
   EIXOS ESTRATÈGICS (objectius.html)
   ============================================ */
.eixos-section {
  padding: 3rem 0;
  background: #ffffff;
}

.eixos-section__heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* ============================================
   SERVICE TAGS & FILTER (serveis.html)
   ============================================ */
.service-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.service-filter__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1.5px solid rgba(111, 50, 148, 0.3);
  background: transparent;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.service-filter__btn:hover {
  border-color: var(--primary);
  background: rgba(111, 50, 148, 0.06);
}

.service-filter__btn--active {
  background: var(--gradient);
  border-color: transparent;
  color: #ffffff;
}

.service-filter__btn--active:hover {
  background: var(--gradient);
  opacity: 0.9;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.875rem;
  margin-bottom: 0.5rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.service-tag--location {
  background: rgba(111, 50, 148, 0.1);
  color: var(--primary);
}

.service-tag--type {
  background: rgba(230, 19, 133, 0.1);
  color: var(--accent);
}

.install-card.is-hidden,
.event-card.is-hidden {
  display: none;
}

/* ============================================
   PROJECTE PAGE LAYOUT
   ============================================ */
.projecte-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}

.projecte-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.projecte-layout__video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.projecte-layout__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
}

@media (max-width: 767px) {
  .projecte-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   FLORIDA PRESENTACIO CAROUSEL
   ============================================ */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a1a2e;
  margin-top: 20px;
}

.carousel__track {
  display: flex;
  height: 580px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
  flex: 0 0 70%;
  height: 100%;
  overflow: hidden;
}

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

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.25s;
}

.carousel__btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel__btn--prev { left: 1.5rem; }
.carousel__btn--next { right: 1.5rem; }

.carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.carousel__dot--active {
  background: #fff;
}

@media (max-width: 768px) {
  .carousel__track { height: 260px; }
  .carousel__btn { width: 36px; height: 36px; font-size: 1rem; }
  .carousel__btn--prev { left: 0.75rem; }
  .carousel__btn--next { right: 0.75rem; }
}

@media (max-width: 480px) {
  .carousel__track { height: 200px; }
}
