/* Self-hosted fonts (SIL Open Font License) — no external requests */
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('../fonts/albert-sans-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Albert Sans'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('../fonts/albert-sans-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../fonts/albert-sans-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../fonts/albert-sans-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Gilda Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/gilda-display-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Gilda Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/gilda-display-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   GINKGO BENESTAR — Full d'estils únic
   --------------------------------------------------------------------------
   · Mobile-first: els estils base són per a mòbil (390 px); a sota hi ha
     els ajustos per a tauleta (min-width: 700px) i escriptori (min-width: 1040px).
   · Colors i tipografies de marca: secció 1 (variables). Canviar-los aquí
     els canvia a tota la web.
   ========================================================================== */

/* 1. VARIABLES DE MARCA ----------------------------------------------------- */
:root {
  --cream: #E1CA9B;        /* fons del cartell */
  --paper: #F7EFE0;        /* paper (fons clar principal) */
  --gold: #E0CA9B;         /* text daurat sobre verd */
  --gold-line: #A88B57;    /* línies daurades sobre fons clar (decoratives) */
  --green: #233427;        /* verd profund: textos i superfícies fosques */
  --green-body: #3E5239;   /* verd del text corrent */
  --green-night: #101D12;  /* verd molt fosc */

  --font-title: "Gilda Display", Georgia, "Times New Roman", serif;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. BASE ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--green-body);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;          /* 17 px */
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gold-line); }

h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--green); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold-line);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: var(--gold); padding: 10px 16px; border-radius: 2px;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* 3. TIPOGRAFIA DE MARCA ---------------------------------------------------- */
.title {
  font-family: var(--font-title);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1.75rem, 6.4vw, 2.75rem);
  line-height: 1.15;
}
.title--light { font-weight: 300; }

/* "track": etiqueta petita en majúscules espaiades */
.track {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #5E4C2A;           /* daurat fosc: llegible sobre fons clar */
  margin: 0 0 .9rem;
}
.on-dark .track { color: var(--gold); opacity: .85; }

.lead { font-weight: 300; font-size: 1.125rem; line-height: 1.7; }

/* Doble filet daurat: línia llarga + línia curta centrada a sota */
.rule {
  display: block; width: min(260px, 70%); height: 7px; margin: 1.25rem auto 1.5rem;
  background:
    linear-gradient(currentColor, currentColor) center top / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center bottom / 34% 1px no-repeat;
  color: var(--gold-line);
}
.on-dark .rule { color: var(--gold); }
.rule--left { margin-left: 0; background-position: left top, left bottom; }

/* 4. FONS -------------------------------------------------------------------- */
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }

/* Patró subtil de fulles (5%) per a fons clars */
.bg-pattern { position: relative; isolation: isolate; }
.bg-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../svg/patro-fulles.svg") 0 0 / 320px repeat;
  opacity: .05;
}

/* Bandes fosques amb textura de fulles + vel verd */
.on-dark { color: var(--gold); background: var(--green); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--gold); }
.texture { position: relative; isolation: isolate; overflow: hidden; }
.texture__img { position: absolute; inset: 0; z-index: -2; }
.texture__img img { width: 100%; height: 100%; object-fit: cover; }
.texture::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 29, 18, .72), rgba(16, 29, 18, .82));
}

/* 5. CAPÇALERA ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(35, 52, 39, .97);
  color: var(--gold);
  border-bottom: 1px solid rgba(224, 202, 155, .18);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { width: 132px; height: auto; }

.header-tools { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: flex; gap: 2px; font-size: .75rem; letter-spacing: .14em; font-weight: 600; }
.lang-switch a, .lang-switch span {
  display: inline-block; padding: 8px 6px; text-decoration: none; line-height: 1;
}
.lang-switch [aria-current="true"] { border-bottom: 1px solid var(--gold); }
.lang-switch a { opacity: .7; }
.lang-switch a:hover { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: 10px 22px;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border: 1px solid currentColor; border-radius: 0; cursor: pointer;
  background: transparent; color: inherit;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--green); border-color: var(--gold); }
.btn--gold:hover { background: transparent; color: var(--gold); }
.btn--ghost { color: var(--gold); border-color: rgba(224, 202, 155, .6); }
.btn--ghost:hover { background: var(--gold); color: var(--green); border-color: var(--gold); }
.btn--green { background: var(--green); color: var(--gold); border-color: var(--green); }
.btn--green:hover { background: transparent; color: var(--green); }
.btn--small { min-height: 38px; padding: 8px 14px; font-size: .7rem; }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  background: none; border: 0; color: var(--gold); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 22px; height: 1px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background-color .3s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menú mòbil: panell desplegable */
.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--green); border-bottom: 1px solid rgba(224, 202, 155, .2);
  padding: 8px var(--gutter) 28px;
}
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav li + li { border-top: 1px solid rgba(224, 202, 155, .12); }
.site-nav a {
  display: block; padding: 14px 0; text-decoration: none;
  font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.site-nav a:hover { color: #fff6e3; }
.site-nav .btn { margin-top: 18px; width: 100%; padding: 12px 22px; letter-spacing: .18em; }

/* 6. HERO -------------------------------------------------------------------- */
.hero {
  min-height: min(calc(92svh - var(--header-h)), 860px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 72px 0 80px;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 0; }
.hero__logo { width: min(80vw, 520px); }
.hero__tagline {
  margin: 1.6rem 0 0; font-size: .75rem; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; line-height: 1.9;
}
.hero__line {
  font-family: var(--font-title); font-weight: 300; font-size: clamp(1.6rem, 7vw, 2.6rem);
  line-height: 1.2; margin: 0;
}
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2.2rem; }
.hero__ctas .btn { min-width: 150px; }

/* 7. SECCIONS ----------------------------------------------------------------- */
.section { padding: 76px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head .lead { margin-top: .25rem; }

/* 8. PROMO D'OBERTURA ------------------------------------------------------- */
.promo { padding: 64px 0; color: var(--green); }
.promo .sec-head { margin-bottom: 36px; }
.promo .rule { color: var(--green); opacity: .55; }
.promo .track { color: var(--green); opacity: .8; }
.promo__grid { display: grid; gap: 16px; }
.promo-card {
  background: var(--paper); padding: 26px 22px; border: 1px solid rgba(35, 52, 39, .14);
  text-align: center;
}
.promo-card__big {
  display: block; font-family: var(--font-title); font-weight: 300;
  font-size: 2.6rem; line-height: 1; color: var(--green); margin-bottom: .6rem;
}
.promo-card h3 {
  font-family: var(--font-body); font-size: .75rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: .7rem;
}
.promo-card p { font-size: .975rem; }
.promo-card ul { font-size: .95rem; margin-top: .5rem; text-align: left; }
.promo-card li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px dotted rgba(35, 52, 39, .3); }
.promo-card del { opacity: .6; font-weight: 300; }
.promo-card .now { font-weight: 600; white-space: nowrap; }

/* 9. UN ESPAI PER A TU ------------------------------------------------------ */
.intro { display: grid; gap: 40px; align-items: center; }
.intro__text { text-align: center; }
.intro__logo { width: 150px; margin: 0 auto 28px; }
.motto {
  font-family: var(--font-title); font-weight: 300; text-transform: uppercase;
  letter-spacing: .14em; font-size: 1.05rem; color: var(--green); margin-top: 1.6rem;
}

/* Espais per a fotos reals (FOTO PENDENT) */
.photo { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--green); }
.photo picture { display: block; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: url("../svg/fulla-daurada.svg") center / 34% auto no-repeat,
              rgba(16, 29, 18, .55);
}
.photo--wide { aspect-ratio: 3 / 2; }

/* 10. CARTA DE PREUS ---------------------------------------------------------- */
.price-list { display: grid; gap: 30px; max-width: 760px; margin: 0 auto; }
.item-head { display: flex; align-items: baseline; gap: 10px; }
.item-name {
  font-family: var(--font-title); font-weight: 400; font-size: 1.3rem; line-height: 1.3;
  letter-spacing: .02em; color: var(--green); flex: 0 1 auto;
}
.dur { font-family: var(--font-body); font-style: italic; font-weight: 300; font-size: .95rem; letter-spacing: 0; white-space: nowrap; }
.leader { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted var(--gold-line); transform: translateY(-.35em); }
.price { flex: none; margin: 0; font-weight: 300; font-size: 1.125rem; white-space: nowrap; color: var(--green); }
.item-desc { margin: .4rem 0 0; font-weight: 300; font-size: 1rem; }

.on-dark .item-name, .on-dark .price { color: var(--gold); }
.on-dark .leader { border-color: rgba(224, 202, 155, .5); }

/* Bloc destacat (Tractament personalitzat, Xecs regal...) */
.feature {
  margin: 56px auto 0; max-width: 760px; text-align: center;
  padding: 36px 24px; border: 1px solid rgba(168, 139, 87, .45);
  background: rgba(247, 239, 224, .65);
}
.feature h3 { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .08em; font-size: 1.35rem; }
.feature .rule { margin: 1rem auto 1.2rem; width: 160px; }

/* Banda amb el lema */
.band { padding: 88px 0; text-align: center; }
.band__leaf { width: 54px; margin: 0 auto 22px; }
.band__motto {
  font-family: var(--font-title); font-weight: 300; text-transform: uppercase;
  letter-spacing: .14em; font-size: clamp(1.4rem, 5.6vw, 2.4rem); line-height: 1.35; margin: 0;
}
.band__sig { margin-top: 1rem; font-weight: 300; letter-spacing: .04em; }

/* Rituals amb foto */
.split { display: grid; gap: 44px; align-items: start; }

/* 11. IOGA -------------------------------------------------------------------- */
.yoga { padding: 84px 0; }
.yoga .lead { color: #efe2c4; }
.styles { display: grid; gap: 18px; margin-bottom: 56px; }
.style-card { border: 1px solid rgba(224, 202, 155, .3); padding: 26px 22px; text-align: center; background: rgba(16, 29, 18, .35); }
.style-card img { width: 34px; margin: 0 auto 14px; }
.style-card h3 { font-family: var(--font-title); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.style-card p { color: #efe2c4; font-weight: 300; }

.yoga-info { display: grid; gap: 48px; }
.yoga-info h3.sub {
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; margin-bottom: .35rem;
}
.yoga-info .sub-note { font-weight: 300; font-size: .95rem; color: #efe2c4; margin-bottom: 1.4rem; }
.schedule dt { font-family: var(--font-title); font-size: 1.25rem; margin-top: 1.1rem; }
.schedule dt:first-child { margin-top: 0; }
.schedule dd { margin: .25rem 0 0; color: #efe2c4; font-weight: 300; }
.schedule dd + dd { margin-top: .1rem; }
.yoga .price-list { gap: 14px; }
.yoga .item-name { font-family: var(--font-body); font-size: 1rem; font-weight: 400; letter-spacing: .01em; }
.yoga .item-name .dur { font-size: .9rem; }
.yoga .price { font-size: 1.05rem; }
.footnote { margin-top: 1.4rem; font-size: .875rem; font-weight: 300; color: #efe2c4; }

/* 12. XECS REGAL -------------------------------------------------------------- */
.gift { display: grid; gap: 40px; align-items: center; }
.gift__img { margin: 0; max-width: 420px; justify-self: center; width: 100%; box-shadow: 0 30px 60px -30px rgba(16, 29, 18, .45); }
.gift__img { aspect-ratio: 4 / 5; overflow: hidden; }
.gift__img picture { display: block; height: 100%; }
.gift__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.gift__text { text-align: center; }
.gift__note { font-size: .95rem; font-style: italic; font-weight: 300; margin-top: 1rem; }
.gift__text .btn { margin-top: 1.6rem; }

/* 13. HORARI, CONTACTE I MAPA ------------------------------------------------- */
.visit { display: grid; gap: 44px; }
.info-block + .info-block { margin-top: 36px; }
.info-block h3 {
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--green); margin-bottom: .8rem;
}
.hours { margin: 0; }
.hours div { display: flex; flex-direction: column; justify-content: space-between; gap: 2px 16px; padding: 10px 0; border-bottom: 1px dotted rgba(168, 139, 87, .6); }
.hours dt { font-family: var(--font-title); font-size: 1.15rem; color: var(--green); }
.hours dd { margin: 0; font-weight: 300; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; }
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--gold-line); }
.contact-list a { text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.map { margin-top: 32px; aspect-ratio: 4 / 3; background: #e9dcc2; border: 1px solid rgba(168, 139, 87, .35); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.15); }

/* Formulari */
.form-card { background: var(--paper); padding: 30px 22px; border: 1px solid rgba(168, 139, 87, .4); }
.form-card h3 { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .08em; font-size: 1.4rem; margin-bottom: .4rem; }
.form-card > p { font-weight: 300; }
.field { margin-top: 18px; }
.field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.field .opt { font-weight: 300; letter-spacing: .04em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--green);
  background: #fffaf0; border: 1px solid rgba(62, 82, 57, .35); border-radius: 0;
  padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(168, 139, 87, .35); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: .95rem; font-weight: 300; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; }
.form-actions .btn { width: 100%; }
.form-status { margin: 16px 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.is-ok { color: var(--green); font-weight: 600; }
.form-status.is-error { color: #8a2c1d; font-weight: 600; }

/* 14. PEU ----------------------------------------------------------------------- */
.site-footer { padding: 64px 0 96px; text-align: center; font-size: .95rem; }
.site-footer__logo { width: 210px; margin: 0 auto; }
.site-footer .sig { font-family: var(--font-title); font-weight: 300; font-size: 1.2rem; margin: 1.4rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 1.8rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { margin-top: 1.8rem; font-size: .8rem; opacity: .75; }
.footer-legal a { margin: 0 .4em; }

/* WhatsApp flotant (només mòbil/tauleta) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--gold);
  border: 1px solid rgba(224, 202, 155, .55);
  box-shadow: 0 8px 22px -8px rgba(16, 29, 18, .6);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-2px); }

/* 15. PÀGINES LEGALS -------------------------------------------------------- */
.legal { padding: 64px 0 80px; }
.legal h1 { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .08em; font-size: clamp(1.6rem, 6vw, 2.4rem); text-align: center; }
.legal h2 { font-family: var(--font-title); font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal h3 {
  font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--green); margin: 1.6rem 0 .5rem;
}
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal li + li { margin-top: .3em; }
.legal a { overflow-wrap: anywhere; }
.legal-updated { text-align: center; font-size: .9rem; font-weight: 300; font-style: italic; margin-bottom: 2rem; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.5rem; }

/* Marques per omplir abans de publicar (titular, NIF...). Vegeu README_EDITAR.md */
.todo { background: #f3dfb3; color: #3b2f17; padding: 0 .3em; }

/* Taules legals: a mòbil, cada fila és una fitxa; a partir de 700 px, taula */
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .95rem; line-height: 1.5; }
.legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th { display: block; }
.legal-table thead {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.legal-table tr { border-top: 1px solid rgba(168, 139, 87, .6); padding: 12px 0; }
.legal-table tr:last-child { border-bottom: 1px solid rgba(168, 139, 87, .6); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 3px 0; font-weight: 300; }
.legal-table tbody th { font-weight: 600; color: var(--green); }
.legal-table td::before {
  content: attr(data-label); display: block;
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #5E4C2A;
}
.legal-table code, .legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; color: var(--green); }

/* 15b. BOTÓ AMB ASPECTE D'ENLLAÇ, MAPA SOTA DEMANDA I AVÍS DEL FORMULARI ---- */
.link-btn {
  display: inline; padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px;
}
.link-btn:hover { text-decoration-color: var(--gold-line); }
/* Sense JavaScript aquests botons no farien res: s'amaguen */
html:not(.js) [data-cookie-settings], html:not(.js) [data-map-load] { display: none; }

.footer-legal-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px;
  margin-top: 1rem; font-size: .8rem; opacity: .85;
}
.footer-legal-nav a, .footer-legal-nav .link-btn { padding: 6px 0; }

.map__placeholder {
  height: 100%; min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 28px 22px; text-align: center; color: var(--green);
}
.map__placeholder img { width: 30px; }
.map__placeholder p { margin: 0; max-width: 34em; font-size: .9rem; font-weight: 300; line-height: 1.5; }
.map__placeholder .map__link { font-size: .85rem; }

.form-legal {
  margin: 22px 0 0; padding-top: 16px; border-top: 1px dotted rgba(168, 139, 87, .6);
  font-size: .78rem; line-height: 1.55; font-weight: 300;
}
.form-legal b { font-weight: 600; color: var(--green); }

/* 15c. CONSENTIMENT DE COOKIES --------------------------------------------------
   Primera capa: franja inferior (no bloqueja la pàgina).
   Segona capa: diàleg <dialog> amb les categories. Els textos són a main.js. */
.cc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--green); color: var(--gold);
  border-top: 1px solid rgba(224, 202, 155, .35);
  box-shadow: 0 -14px 34px -20px rgba(16, 29, 18, .75);
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom, 0px));
}
.cc-banner[hidden] { display: none; }
.cc-banner__inner { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; display: grid; gap: 14px; }
.cc-banner__title {
  margin: 0 0 .25rem; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.cc-banner__text { margin: 0; font-size: .875rem; font-weight: 300; line-height: 1.55; color: #efe2c4; }
.cc-banner__text a { color: var(--gold); }
.cc-banner :focus-visible { outline-color: var(--gold); }
.cc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cc-actions .btn { min-height: 44px; padding: 8px 6px; font-size: .68rem; letter-spacing: .12em; }

html.cc-open body { padding-bottom: var(--cc-h, 0px); }
html.cc-open .wa-float { bottom: calc(var(--cc-h, 0px) + 14px); }

.cc-dialog {
  width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto;
  margin: auto; padding: 0; border: 1px solid rgba(168, 139, 87, .5); border-radius: 0;
  background: var(--paper); color: var(--green-body);
  box-shadow: 0 30px 70px -30px rgba(16, 29, 18, .7);
}
.cc-dialog::backdrop { background: rgba(16, 29, 18, .62); }
.cc-dialog__body { position: relative; padding: 30px 20px 24px; }
.cc-dialog__title {
  font-family: var(--font-title); text-transform: uppercase; letter-spacing: .08em;
  font-size: 1.35rem; line-height: 1.2; padding-right: 36px;
}
.cc-dialog__intro { margin: .8rem 0 1.2rem; font-size: .95rem; font-weight: 300; }
.cc-close {
  position: absolute; top: 12px; right: 10px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; color: var(--green); cursor: pointer;
}
.cc-close svg { width: 20px; height: 20px; }
.cc-cat { border-top: 1px dotted rgba(168, 139, 87, .7); padding: 16px 0; }
.cc-cat:last-of-type { border-bottom: 1px dotted rgba(168, 139, 87, .7); }
.cc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cc-cat__head label {
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green); cursor: pointer;
}
.cc-cat__state { display: block; font-size: .78rem; font-weight: 300; letter-spacing: .02em; text-transform: none; font-style: italic; }
.cc-cat p { margin: .5rem 0 0; font-size: .9rem; font-weight: 300; line-height: 1.55; }

/* Interruptor (checkbox amb role="switch") */
.cc-switch {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; margin: 0;
  width: 50px; height: 28px; border-radius: 14px; cursor: pointer;
  background: rgba(62, 82, 57, .28); border: 1px solid rgba(35, 52, 39, .35);
  transition: background-color .25s var(--ease);
}
.cc-switch::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fffaf0; box-shadow: 0 1px 3px rgba(16, 29, 18, .35);
  transition: transform .25s var(--ease);
}
.cc-switch:checked { background: var(--green); border-color: var(--green); }
.cc-switch:checked::before { transform: translateX(22px); background: var(--gold); }
.cc-switch:disabled { cursor: not-allowed; opacity: .55; }
.cc-switch:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; }

.cc-dialog__actions { display: grid; gap: 10px; margin-top: 22px; }
.cc-dialog__actions .btn { width: 100%; color: var(--green); }
.cc-dialog__actions .btn--green { color: var(--gold); }
.cc-dialog__actions .btn--green:hover { color: var(--green); }
.cc-dialog__actions .btn:not(.btn--green):hover { background: var(--green); color: var(--gold); }
.cc-dialog__more { margin: 16px 0 0; font-size: .85rem; text-align: center; }

/* 16. ANIMACIONS ----------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 17. TAULETA (≥ 700 px) -------------------------------------------------------- */
@media (min-width: 700px) {
  :root { --gutter: 40px; --header-h: 72px; }
  body { font-size: 1.0625rem; }
  .section { padding: 100px 0; }
  .brand img { width: 150px; }
  .header-cta { display: inline-flex; }
  .site-nav .nav-cta-mobile { display: none; }
  .promo__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .styles { grid-template-columns: repeat(3, 1fr); }
  .yoga-info { grid-template-columns: 1fr 1fr; gap: 64px; }
  .form-card { padding: 40px 36px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .form-actions .btn { width: auto; }
  .feature { padding: 44px 48px; }
  .photo--wide { aspect-ratio: 16 / 9; }
  .hours div { flex-direction: row; flex-wrap: wrap; align-items: baseline; }

  /* Taules legals: format taula */
  .legal-table { display: table; font-size: .9rem; }
  .legal-table thead { display: table-header-group; position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .legal-table tbody { display: table-row-group; }
  .legal-table tr { display: table-row; border: 0; padding: 0; }
  .legal-table tr:last-child { border: 0; }
  .legal-table th, .legal-table td { display: table-cell; padding: 10px 12px 10px 0; border-bottom: 1px dotted rgba(168, 139, 87, .6); }
  .legal-table thead th {
    font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #5E4C2A;
    border-bottom: 1px solid var(--gold-line);
  }
  .legal-table td::before { content: none; }

  /* Cookies */
  .cc-dialog__body { padding: 36px 36px 30px; }
  .cc-dialog__actions { grid-template-columns: repeat(3, 1fr); }
  .cc-dialog__actions .btn { padding: 10px 8px; letter-spacing: .12em; font-size: .7rem; }
  .cc-actions .btn { font-size: .72rem; letter-spacing: .16em; }
}

/* 18. ESCRIPTORI (≥ 1040 px) ---------------------------------------------------- */
@media (min-width: 1040px) {
  body { font-size: 1.125rem; }
  .section { padding: 120px 0; }
  .hero { min-height: min(calc(90vh - var(--header-h)), 900px); }
  .hero__tagline { font-size: .82rem; }

  .promo__grid { max-width: 980px; margin: 0 auto; gap: 24px; }
  .promo-card { padding: 34px 40px; }
  .split .photo { aspect-ratio: 5 / 4; }
  .intro { grid-template-columns: 1.05fr .95fr; gap: 88px; }
  .intro__text { text-align: left; }
  .intro__text .rule { margin-left: 0; background-position: left top, left bottom; }
  .intro__logo { margin-left: 0; }
  .price-list--2col { max-width: none; grid-template-columns: 1fr 1fr; gap: 40px 72px; }
  .split { grid-template-columns: 1.35fr 1fr; gap: 80px; }
  .split .price-list { max-width: none; }
  .gift { grid-template-columns: 1fr 1fr; gap: 88px; }
  .gift__text { text-align: left; }
  .gift__text .rule { margin-left: 0; background-position: left top, left bottom; }
  .visit { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .wa-float { display: none; }
  .site-footer { padding-bottom: 64px; }

  /* Cookies: text a l'esquerra, botons a la dreta */
  .cc-banner { padding-top: 18px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .cc-banner__inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
  .cc-actions { grid-template-columns: repeat(3, 150px); gap: 10px; }
}

/* 19. MENÚ D'ESCRIPTORI (≥ 1200 px): per sota, menú hamburguesa */
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .js .site-nav, .site-nav {
    display: block; position: static; background: none; border: 0; padding: 0;
    flex: 1 1 auto;
  }
  .site-nav ul { flex-direction: row; justify-content: center; gap: 24px; }
  .site-nav li + li { border: 0; }
  .site-nav a {
    padding: 8px 0; font-size: .72rem; letter-spacing: .16em; white-space: nowrap;
    border-bottom: 1px solid transparent; transition: border-color .3s;
  }
  .site-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
  .site-nav .nav-cta-mobile { display: none; }
  .site-header__inner { gap: 24px; }
  .header-tools { gap: 16px; }
}

@media (min-width: 1360px) {
  .site-nav ul { gap: 32px; }
}
