/* GPT000000000001 - 2026-11-25 - Crea el sistema visual i adaptable del Club Tir Olímpic Girona. */
/* GPT000000000002 - 2026-11-25 - Millora la llegibilitat dels avisos i de la informació prèvia al contacte. */
/* GPT000000000003 - 2026-11-25 - Integra el mapa estàtic al disseny de contacte i en manté llegible l’atribució. */
/* GPT000000000004 - 2026-11-25 - Afegeix estils de navegació per a la ruta visible de les pàgines interiors. */
/* GPT000000000005 - 2026-11-25 - Dissenya el menú hamburguesa, enriqueix les transicions i millora la ela geminada. */

/* GPT000000000001 - Carrega la tipografia local i defineix els colors i les mides compartides. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #10243a;
  --deep: #0b1e32;
  --blue: #20476e;
  --ink: #12253a;
  --muted: #4e5c6c;
  --gold: #f5c650;
  --paper: #f8f7f3;
  --white: #fff;
  --line: #dedfdc;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
  --max: 77rem;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3377ac; outline-offset: 4px; }
.on-dark :focus-visible, .footer :focus-visible { outline-color: var(--gold); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font: 800 clamp(2.65rem, 5.4vw, 5rem)/.97 var(--display); letter-spacing: -.018em; }
h3 { font: 800 clamp(1.7rem, 2.5vw, 2.25rem)/1.04 var(--display); }
p + p { margin-top: .9rem; }
.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6.1rem); }
.section + .section:not(.calendar-band) { padding-top: clamp(1.4rem, 3vw, 2.75rem); }
.eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .875rem; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow::before { content: ""; width: 1.65rem; height: 3px; background: #ae720c; flex: none; }
.on-dark .eyebrow::before, .subhero .eyebrow::before { background: var(--gold); }
.intro { color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.17rem); max-width: 39rem; }
.section-heading { margin-bottom: clamp(1.45rem, 3vw, 2.5rem); }
.section-heading h2 + p, .section-heading .eyebrow + h2 { margin-top: .65rem; }
.split-heading { display: flex; justify-content: space-between; gap: 1.35rem 3rem; align-items: end; flex-wrap: wrap; }
.split-heading > p { max-width: 27rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .67rem 1.15rem; border: 1px solid transparent; border-radius: .25rem; font-weight: 750; font-size: .94rem; line-height: 1.3; text-decoration: none; text-align: center; transition: background-color .16s, color .16s, border-color .16s; }
.btn-primary { background: var(--gold); color: var(--deep); }
.btn-primary:hover { background: #ffd87b; }
.btn-outline { color: var(--navy); border-color: #738295; background: transparent; }
.btn-outline:hover { background: #e8ecf0; }
.on-dark .btn-outline { color: var(--white); border-color: #bac8d3; }
.on-dark .btn-outline:hover { background: #ffffff20; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.text-link { color: #214d77; font-weight: 700; overflow-wrap: anywhere; }
.text-link:hover { color: #102e4b; }
.skip { position: fixed; z-index: 10; top: .65rem; left: .65rem; translate: 0 -180%; background: var(--gold); color: var(--navy); padding: .7rem 1rem; font-weight: 700; }
.skip:focus { translate: 0; }

/* GPT000000000001 - Manté el menú i el contacte a l’abast en totes les pantalles. */
.site-header { position: sticky; z-index: 5; top: 0; border-top: 4px solid var(--gold); border-bottom: 1px solid #e7e5dd; background: var(--paper); }
.header-inner { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.2rem); min-height: 5.2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { width: 3rem; height: 3rem; }
.brand-name { font: 800 1.55rem/.89 var(--display); letter-spacing: .015em; text-transform: uppercase; }
.brand-name span { display: block; }
.brand-name span + span { color: var(--blue); }
.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(.6rem, 1.24vw, 1.35rem); list-style: none; margin: 0; padding: 0; }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 2.85rem; font-size: .92rem; font-weight: 650; text-decoration: none; color: #3d4d61; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--deep); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { position: absolute; inset: auto 0 .23rem; height: 2px; background: #bd820d; content: ""; }
.header-contact { flex: none; margin-inline-start: auto; min-height: 2.6rem; background: var(--navy); color: var(--white); }
.header-contact:hover { background: var(--blue); }
/* GPT000000000005 - Dibuixa el botó hamburguesa i diferencia els estats obert i tancat. */
.menu-toggle { display: none; align-items: center; justify-content: center; gap: .58rem; min-width: 3rem; min-height: 3rem; padding: .4rem .8rem; flex: none; color: var(--navy); background: #f0eee7; border: 1px solid #d9d7cf; border-radius: .45rem; font-size: .9rem; font-weight: 750; }
.menu-toggle:hover { background: #e9e6dc; }
.menu-toggle[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.menu-toggle-icon { position: relative; display: block; width: 1.3rem; height: 1rem; }
.menu-toggle-icon span { position: absolute; inset-inline-start: 0; inset-block-start: calc(50% - 1px); width: 100%; border-top: 2px solid currentColor; transform-origin: center; }
.menu-toggle-icon span:nth-child(1) { transform: translateY(-5px); }
.menu-toggle-icon span:nth-child(2) { width: 75%; }
.menu-toggle-icon span:nth-child(3) { transform: translateY(5px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { color: var(--gold); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) { transform: rotate(-45deg); }
.nav-quick-contact { display: none; }

/* GPT000000000004 - Manté la ruta de navegació llegible en escriptori i en mòbil. */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem .6rem; list-style: none; margin: 0; padding: .55rem 0; color: var(--muted); font-size: .875rem; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .6rem; color: #6b7885; }
.breadcrumbs a { font-weight: 700; color: var(--blue); }

/* GPT000000000001 - Dóna protagonisme a la fotografia real i als accessos més consultats. */
.hero { isolation: isolate; display: grid; align-items: center; position: relative; min-height: clamp(31.5rem, 42vw, 41rem); background: var(--deep); color: var(--white); overflow: hidden; }
.hero-media { position: absolute; z-index: -2; inset: 0 0 0 31%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 55%; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, var(--deep) 13%, #0b1e32 29%, #0b1e32e8 38%, #0b1e3254 64%, #0b1e3214 100%), linear-gradient(0deg, #0b1e3270, transparent 45%); }
.hero-inner { padding-block: clamp(2.75rem, 6vw, 6rem); }
.hero .eyebrow { color: #f7d780; }
.hero h1 { margin-block: .9rem 1.25rem; font-size: clamp(5rem, 10vw, 10.1rem); line-height: .8; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--gold); }
.hero-lead { max-width: 26rem; color: #edf2f6; font-size: clamp(1rem, 1.48vw, 1.2rem); }
.hero .btn-row { margin-top: 1.7rem; }
.quick { background: var(--navy); color: #ebf0f5; border-top: 1px solid #ffffff2f; }
.quick-inner { display: grid; grid-template-columns: 1.12fr .95fr 1.1fr; }
.quick-item { padding: 1.15rem clamp(1rem, 2.4vw, 2.3rem); border-inline-end: 1px solid #ffffff29; }
.quick-item:first-child { padding-inline-start: 0; }
.quick-item:last-child { border-inline-end: 0; }
.quick-item strong { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .875rem; }
.quick-item a, .quick-item span { display: inline-block; margin-top: .28rem; font-size: .96rem; }

/* GPT000000000001 - Presenta les instal·lacions en una graella fotogràfica amb ampliació accessible. */
.gallery { display: grid; grid-template-columns: 1.36fr 1fr 1fr; grid-template-rows: repeat(2, clamp(9.6rem, 15vw, 14rem)); gap: .85rem; }
.gallery-card { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); min-height: 0; }
.gallery-card:first-child, .gallery-card:nth-child(2) { grid-row: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-card:focus-visible { z-index: 1; }
.gallery-card span { position: absolute; inset: auto 0 0; background: linear-gradient(transparent, #0b1e32f5); padding: 2.25rem 1rem .85rem; color: var(--white); font-weight: 700; }
.gallery-dialog { margin: auto; max-width: min(68rem, calc(100% - 1.5rem)); width: fit-content; padding: 0; border: 1px solid #748da5; background: var(--deep); color: var(--white); }
.gallery-dialog::backdrop { background: #071624e5; }
.gallery-dialog img { margin-inline: auto; max-height: 74vh; object-fit: contain; }
.gallery-toolbar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; padding: .7rem 1rem; }
.gallery-toolbar p { font-weight: 700; margin-right: auto; }
.gallery-toolbar .btn { min-height: 2.6rem; }

/* GPT000000000001 - Destaca el calendari i permet consultar les dates en format de text. */
.calendar-band { background: var(--navy); color: var(--white); overflow: hidden; }
.calendar-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 6vw, 6rem); }
.calendar-feature h2 span { color: var(--gold); }
.calendar-feature .intro { margin-block: 1rem 1.5rem; color: #d4e0ed; }
.calendar-preview { display: block; padding: clamp(.55rem, 1vw, 1rem); background: var(--white); }
.calendar-preview img { width: 100%; }
.event-social { --event: #e3e7eb; }
.event-fase { --event: #f8e3a4; }
.event-club { --event: #f8d3b8; }
.event-mes { --event: #dceab6; }
.calendar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.month { border: 1px solid var(--line); background: var(--white); padding: 1rem; }
.month h3 { margin: .1rem 0 .65rem; }
.month ul { list-style: none; padding: 0; margin: 0; }
.month li { display: flex; align-items: start; gap: .6rem; padding: .45rem 0; border-top: 1px solid #e9e8e3; }
.month time { flex: 0 0 2.15rem; border-radius: .15rem; background: var(--event, #f0ede8); color: var(--navy); text-align: center; font-weight: 750; }
.event-label { display: block; font-size: .875rem; color: var(--muted); }
.month-empty { color: var(--muted); }
.calendar-source { display: block; max-width: 65rem; margin-top: 1.1rem; border: 1px solid var(--line); }
.calendar-source img { width: 100%; }
.month-picker { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .85rem; margin-bottom: 1.1rem; }
.month-picker label { font-weight: 700; }
.month-picker select { min-height: 2.65rem; padding-inline: .75rem; background: var(--white); color: var(--ink); border: 1px solid #9ba5b0; border-radius: .25rem; }

/* GPT000000000001 - Reutilitza la jerarquia visual a les pàgines internes i a les preguntes plegables. */
.subhero { position: relative; isolation: isolate; display: grid; align-items: end; background: var(--navy); color: var(--white); min-height: clamp(17.5rem, 31vw, 23rem); overflow: hidden; }
.subhero img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.subhero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #0b1e32fa, #0b1e32c9 42%, #0b1e3233 100%), linear-gradient(0deg, #0b1e3270, transparent 53%); }
.subhero-inner { padding-block: 2.25rem clamp(2.75rem, 5vw, 4.7rem); }
.subhero h1 { font-size: clamp(3.35rem, 7vw, 7rem); text-transform: uppercase; max-width: 66rem; }
.subhero p { margin-top: .85rem; color: #eaf1f7; max-width: 44rem; font-size: clamp(1.04rem, 1.55vw, 1.25rem); }
.subhero p.eyebrow { color: var(--gold); margin: 0 0 .55rem; font-size: .875rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1.1rem, 4vw, 3.2rem); }
.prose { max-width: 48rem; }
.wrap.prose { margin-inline: max(var(--gutter), calc((100% - var(--max)) / 2)) auto; width: min(48rem, calc(100% - 2 * var(--gutter))); }
.prose p, .panel p { color: var(--muted); }
.prose h2 + p, .prose h3 + p, .panel h2 + p, .panel h3 + p { margin-top: .85rem; }
.prose p + h2, .prose p + h3 { margin-top: 1.65rem; }
.prose .btn, .panel .btn { margin-top: 1.25rem; }
.panel { padding: clamp(1.15rem, 3.5vw, 2.3rem); background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); min-width: 0; }
.panel h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.members { background: #efefeb; }
.members .panel { height: 100%; }
.faq-list { margin-top: 1.1rem; max-width: 59rem; }
.faq-list details { background: var(--white); border: 1px solid var(--line); margin-bottom: .55rem; }
.faq-list summary { position: relative; padding: 1rem 3rem 1rem 1rem; list-style: none; cursor: pointer; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; font-size: 1.35rem; color: var(--blue); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 1rem 1rem; color: var(--muted); }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.resource-list { margin: .85rem 0 0; padding: 0; list-style: none; }
.resource-list li { padding: .65rem 0; border-top: 1px solid var(--line); }
.resource-list a { font-weight: 700; overflow-wrap: anywhere; }

/* GPT000000000001 - Facilita el contacte, els horaris i el mapa. */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1rem, 4vw, 3rem); }
/* GPT000000000003 - Reserva més amplada a la cartografia i manté junts l’adreça i els botons de ruta. */
.location-grid { grid-template-columns: minmax(15.5rem, .8fr) minmax(0, 1.45fr); }
.location-actions { display: grid; justify-items: start; margin: 1.15rem 0 .95rem; }
.location-actions .btn { margin-top: 0; }
.contact-map { min-width: 0; border: 1px solid var(--line); background: var(--white); }
.contact-map img { width: 100%; }
.contact-map figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; padding: .6rem .85rem; font-size: .875rem; color: var(--muted); }
.contact-block h3 { margin-top: 1.25rem; }
.contact-block address { font-style: normal; margin-top: .45rem; }
.hours { margin-block: .8rem 0; }
.hours div { display: flex; justify-content: space-between; gap: .4rem 1.5rem; flex-wrap: wrap; padding-block: .52rem; border-top: 1px solid var(--line); }
.hours dd { margin: 0; font-weight: 750; }

/* GPT000000000002 - Estableix una jerarquia de lectura per als textos legals i el resum del formulari. */
.legal-copy h2 { font-size: clamp(2.05rem, 4vw, 3.2rem); }
.legal-copy p, .legal-copy li, .legal-copy dd { overflow-wrap: anywhere; }
.legal-copy ul { color: var(--muted); padding-inline-start: 1.35rem; }
.legal-details { margin: .9rem 0 1.1rem; border-top: 1px solid var(--line); }
.legal-details > div { padding-block: .55rem; border-bottom: 1px solid var(--line); }
.legal-details dt { font-weight: 750; }
.legal-details dd { margin-inline-start: 0; color: var(--muted); }
.direct-contact { margin-top: .85rem; overflow-wrap: anywhere; }
.privacy-note { padding: .72rem .85rem; background: var(--paper); border-inline-start: 3px solid var(--gold); }

/* GPT000000000001 - Agrupa la informació pràctica, les xarxes i els documents al peu. */
.footer { background: var(--deep); color: #e5edf5; padding-top: clamp(2.5rem, 5vw, 4.2rem); }
.footer-grid { display: grid; grid-template-columns: 1.12fr .95fr .95fr; gap: 1.5rem 2rem; padding-bottom: 2rem; }
.footer .brand-name span + span { color: var(--gold); }
.footer address { font-style: normal; margin-top: .85rem; }
.footer h2 { font-size: 1.85rem; margin-bottom: .75rem; color: var(--white); }
.footer a:not(.brand) { overflow-wrap: anywhere; text-decoration-color: #95a7ba; }
.footer a:hover { text-decoration-color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.footer-bottom { border-top: 1px solid #ffffff30; padding-block: 1rem; color: #c5d2df; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .9rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }

/* GPT000000000001 - Ajusta la navegació, les galeries i les columnes a les pantalles estretes. */
@media (min-width: 1051px) {
  .header-inner { justify-content: space-between; }
  .site-nav, .header-contact { margin-inline-start: 0; }
}
@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; min-height: 4.4rem; gap: .65rem; padding-block: .5rem; }
  .brand img { width: 2.65rem; height: 2.65rem; }
  .brand-name { font-size: 1.39rem; }
  .site-nav { order: 4; margin: 0; width: 100%; }
  .site-nav ul { flex-wrap: wrap; gap: 0 .9rem; }
/* GPT000000000005 - El desplegable queda sobre el contingut i es pot desplaçar amb poca alçada disponible. */
  .site-header:not([data-enhanced]) { position: static; }
  .site-header[data-enhanced] .menu-toggle { display: flex; margin-inline-start: auto; }
  .site-header[data-enhanced] .header-contact { display: none; }
  .site-header[data-enhanced] .site-nav {
    position: absolute;
    display: none;
    inset-block-start: calc(100% + .55rem);
    inset-inline-end: var(--gutter);
    width: min(26rem, calc(100% - 2 * var(--gutter)));
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
    padding: .65rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    border: 1px solid var(--line);
    border-block-start: 3px solid var(--gold);
    border-radius: .45rem;
    box-shadow: 0 .9rem 2.25rem #10243a38;
  }
  .site-header[data-enhanced] .site-nav[data-open] { display: block; }
  .site-header[data-enhanced] .site-nav ul { display: grid; gap: .15rem; }
  .site-header[data-enhanced] .site-nav a { min-height: 2.8rem; padding: .5rem .75rem; font-size: .96rem; white-space: normal; border-radius: .25rem; }
  .site-header[data-enhanced] .site-nav a::after { display: none; }
  .site-header[data-enhanced] .site-nav a:hover { background: #ece9e0; }
  .site-header[data-enhanced] .site-nav a[aria-current] { color: var(--deep); background: #f7eccd; font-weight: 800; }
  .site-header[data-enhanced] .site-nav a[aria-current]::after { display: block; inset: .5rem auto .5rem 0; width: 3px; height: auto; background: #a9700b; }
  .site-header[data-enhanced] .nav-quick-contact { display: block; margin-top: .2rem; padding-top: .25rem; border-top: 1px solid var(--line); }
  .site-header[data-enhanced] .nav-quick-contact a { color: var(--blue); }
  .hero { min-height: 33rem; }
}
@media (max-width: 730px) {
  html { scroll-padding-top: 5.2rem; }
  .hero { min-height: 34rem; align-items: end; }
  .hero-media { inset: 0; }
  .hero-media img { object-position: 64% 43%; }
  .hero::after { background: linear-gradient(0deg, #0b1e32fc 10%, #0b1e32e6 43%, #0b1e325c 77%, #0b1e3222 100%); }
  .hero h1 { font-size: clamp(4rem, 17.8vw, 6.6rem); }
  .hero-inner { padding-block: 6rem 2.4rem; }
  .quick-inner { grid-template-columns: 1fr 1fr; }
  .quick-item { padding: .85rem .7rem .9rem; }
  .quick-item:nth-child(2) { border-inline-end: 0; }
  .quick-item:last-child { grid-column: 1 / -1; border-top: 1px solid #ffffff29; padding-inline-start: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, clamp(8rem, 31vw, 13.5rem)); gap: .6rem; }
  .gallery-card:first-child, .gallery-card:nth-child(2) { grid-row: auto; }
  .gallery-card span { padding: 1.3rem .55rem .45rem; font-size: .875rem; }
  .calendar-feature, .two-col, .contact-grid, .resource-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .header-contact { display: none; }
  .calendar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* GPT000000000003 - El mapa conserva la proporció de la imatge també en pantalles estretes. */
  .contact-map figcaption { padding-inline: .65rem; }
}
/* GPT000000000005 - Evita que la font desplaci el punt volat de la ela geminada en els encapçalaments catalans. */
:is(h1, h2, h3):lang(ca) { font-feature-settings: "locl" 0; }
#titol-installacions, #instal-lacions-club { letter-spacing: normal; }

/* GPT000000000005 - Aplica només moviment breu, amb el contingut visible i sense retardar la càrrega. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-inner, .subhero-inner { animation: text-enter .52s cubic-bezier(.2,.65,.3,1); }
  .motion-visible { animation: content-enter .44s cubic-bezier(.2,.65,.3,1); }
  .gallery-card.motion-visible:nth-child(2n) { animation-delay: .06s; animation-fill-mode: backwards; }
  .gallery-dialog[open] { animation: content-enter .24s ease-out; }
  .menu-toggle { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
  .menu-toggle-icon span { transition: transform .22s ease, opacity .15s ease; }
  .site-header[data-enhanced] .site-nav[data-open] { animation: menu-enter .23s ease-out; }
}
@media (min-width: 731px) and (prefers-reduced-motion: no-preference) {
  .hero-media img, .subhero > img { animation: photo-settle .82s cubic-bezier(.2,.65,.3,1); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .16s, color .16s, border-color .16s, translate .2s; }
  .btn:hover { translate: 0 -2px; }
  .btn:active { translate: 0 0; }
  .gallery-card:hover img { transform: scale(1.04); }
}
@keyframes text-enter {
  from { transform: translateY(.67rem); }
  to { transform: none; }
}
@keyframes content-enter {
  from { opacity: .92; transform: translateY(.5rem); }
  to { opacity: 1; transform: none; }
}
@keyframes menu-enter {
  from { opacity: .82; transform: translateY(-.42rem); }
  to { opacity: 1; transform: none; }
}
@keyframes photo-settle {
  from { transform: scale(1.026); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


