/* Joieria Nova · estructura del motlle, colors de la casa (carbó, blanc i gris clar de la web i del logo), 06/12/2026 */
@font-face { font-family: "Playfair Display"; src: url(/static/fonts/playfair-display.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url(/static/fonts/raleway.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url(/static/fonts/crimson-text.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --c-carbo: #2d2e2c;     /* el fosc de la web vella i del logo */
  --c-carbo-2: #262725;
  --c-text: #1a1a1a;
  --c-muted: #4c4c4c;
  --c-gris: #f0f0f0;      /* seccions clares de la web vella */
  --c-gris-2: #e4e4e4;
  --c-gris-foto: #e9e9e9; /* fons de les fotos de producte */
  --c-linia: #b6b5ba;
  --c-mig: #707070;
  --c-clar: #e4e4e4;      /* text sobre carbó */
  --c-clar-2: #b6b5ba;
  --f-body: "Raleway", "Segoe UI", Arial, sans-serif;
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-logo: "Crimson Text", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.55; color: var(--c-text); background: #fff; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
abbr { text-decoration: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--c-mig); outline-offset: 3px; }

/* franja de proposta (Sense Quota) */
.demo-franja { background: #111; color: #f1f1f1; font: 600 13px/1.35 var(--f-body); text-align: center; padding: 7px 12px; }
.salta { position: absolute; left: 8px; top: -80px; z-index: 200; background: #fff; color: var(--c-text); padding: 12px 18px; min-height: 44px; font-weight: 700; }
.salta:focus { top: 8px; }

/* ===== logo: el símbol gran al costat del nom, com l'original ===== */
.logo { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: #fff; }
.logo-simbol { display: block; width: 52px; flex: none; color: currentColor; }
.logo-simbol svg { width: 100%; height: auto; }
.logo-nom { font-family: var(--f-logo); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: .2px; white-space: nowrap; }
.logo--gran .logo-simbol { width: 64px; }
.logo--gran .logo-nom { font-size: 46px; }
.logo--petit { gap: 10px; }
.logo--petit .logo-simbol { width: 34px; }
.logo--petit .logo-nom { font-size: 25px; }

/* ===== franja clara (horari i telèfon) ===== */
.topbar { background: var(--c-gris); color: var(--c-text); font-size: 13px; font-weight: 600; line-height: 30px; text-align: center; }
.topbar a { text-decoration: underline; text-underline-offset: 2px; }

/* ===== capçalera carbó amb el logo centrat ===== */
.masthead { background: var(--c-carbo); display: flex; justify-content: center; padding: 26px 0 12px; }
.mainnav { position: relative; z-index: 40; background: var(--c-carbo); display: flex; justify-content: center; align-items: center; height: 56px; }
.menu { display: flex; align-items: center; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 0 16px; font-size: 14px; font-weight: 500; line-height: 44px; color: #fff; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.menu > li > a:hover, .menu > li > a[aria-current] { box-shadow: inset 0 -1px 0 #fff; }
.sub { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 190px; padding: 12px 0; background: #fff; z-index: 70; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.te-sub:hover > .sub, .te-sub:focus-within > .sub { display: block; }
.sub a { display: block; padding: 8px 24px; font-size: 16px; color: var(--c-muted); text-align: center; }
.sub a:hover, .sub a[aria-current] { color: var(--c-text); text-decoration: underline; }
.idiomes { display: flex; gap: 2px; margin-left: 18px; }
.idiomes a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; font-size: 13px; font-weight: 600; color: var(--c-clar-2); }
.idiomes a.on { color: #fff; box-shadow: inset 0 -2px 0 #fff; }

.stickynav { position: fixed; top: 0; left: 0; right: 0; height: 56px; background: var(--c-carbo); z-index: 80; transform: translateY(-110%); visibility: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.3); }
.stickynav-in { display: flex; justify-content: center; align-items: center; gap: 14px; height: 56px; }
.stickynav-tel { color: #fff; font-weight: 700; font-size: 15px; margin-left: 10px; }
@supports (animation-timeline: scroll()) {
  .stickynav { animation: stick-in linear both; animation-timeline: scroll(root block); animation-range: 230px 231px; }
}
@keyframes stick-in { from { transform: translateY(-110%); visibility: hidden; } to { transform: none; visibility: visible; } }

.mobilebar { display: none; }
.barra-mobil { display: none; }

/* ===== botons de la casa: carbó ple i línia carbó ===== */
.btn-ple { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 26px; background: var(--c-carbo); color: #fff; border: 1px solid var(--c-carbo); border-radius: 6px; font: 600 16px var(--f-body); cursor: pointer; transition: background .2s; }
.btn-ple:hover { background: var(--c-muted); }
.btn-ple svg, .btn-linia svg { width: 18px; height: 18px; flex: none; }
.btn-linia { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border: 1px solid var(--c-carbo); border-radius: 6px; font-size: 16px; font-weight: 600; color: var(--c-text); background: #fff; transition: background .2s, color .2s; }
.btn-linia:hover { background: var(--c-carbo); color: #fff; }
.btn-tel { font-size: 19px; font-weight: 700; letter-spacing: .3px; font-variant-numeric: tabular-nums; }

/* ===== portada: foto gran d'una joia ===== */
.hero { background: #b7a194; }
.hero-img { width: 100%; height: clamp(420px, 60vh, 596px); object-fit: cover; object-position: 50% 52%; }

/* intro: blanc, com la web vella */
.intro { background: #fff; padding: 80px 20px 70px; text-align: center; }
.intro h1 { font-family: var(--f-serif); font-size: 46px; font-weight: 500; line-height: 1.12; color: var(--c-text); max-width: 900px; margin: 0 auto 14px; }
.intro-sub { font-size: 20px; line-height: 30px; color: var(--c-muted); margin-bottom: 34px; }
.intro-accions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* dues fotos grans */
.duo { background: #fff; padding: 0 0 100px; }
.duo-in { max-width: 1060px; margin: 0 auto; padding: 0 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.duo-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--c-gris); }
.duo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.duo-img:hover img { transform: scale(1.03); }
.duo-peu { position: absolute; left: 0; bottom: 0; padding: 10px 18px; background: rgba(45,46,44,.88); color: #fff; font-family: var(--f-serif); font-size: 20px; border-top-right-radius: 8px; }

/* frase gran + la vitrina de la botiga */
.statement { background: var(--c-gris); padding: 100px 20px 110px; }
.statement-in { max-width: 1060px; margin: 0 auto; }
.statement h2 { font-family: var(--f-serif); font-size: 54px; font-weight: 400; line-height: 1.1; color: var(--c-text); max-width: 760px; margin-bottom: 56px; }
.statement-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.statement-foto { border-radius: 10px; overflow: hidden; background: var(--c-gris-2); }
.statement-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.statement-text h2, .statement-text h3 { font-family: var(--f-serif); font-size: 32px; font-weight: 500; line-height: 1.2; color: var(--c-text); margin-bottom: 18px; }
.statement-text p { font-size: 17px; line-height: 1.7; color: var(--c-muted); margin-bottom: 28px; }
.statement--curt { background: #fff; padding: 90px 20px 100px; }
.statement--curt h2 { font-size: 40px; text-align: center; max-width: 900px; margin: 0 auto; }

/* bloc de taller: foto + text */
.service { display: grid; grid-template-columns: 58% 1fr; align-items: center; gap: 0 60px; padding: 110px max(20px, calc((100% - 1060px) / 2)); background: #fff; }
.service-col { align-self: stretch; }
.service-img { width: 100%; height: 540px; object-fit: cover; border-radius: 10px; }
.service-text { max-width: 560px; }
.service-pre { font-family: var(--f-serif); font-size: 18px; color: var(--c-muted); margin-bottom: 8px; }
.service-text h2 { font-family: var(--f-serif); font-size: 32px; font-weight: 500; line-height: 1.2; color: var(--c-text); margin-bottom: 22px; }
.service-text p { font-size: 17px; line-height: 1.65; color: var(--c-muted); margin-bottom: 18px; }
.service-text p + .line-link { margin-top: 30px; }
.line-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 15px; font-weight: 600; color: var(--c-text); }
.line-link-bar { width: 120px; height: 1px; background: currentColor; margin-right: 19px; flex: none; transition: width .3s; }
.line-link:hover .line-link-bar { width: 150px; }
.service--fosc { background: var(--c-carbo); }
.service--fosc .service-text p { color: var(--c-clar); font-size: 18px; }

/* la botiga: foto de l'interior amb el text a sobre */
.banner { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; padding: 110px 20px; text-align: center; color: #fff; background: #555; overflow: hidden; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-in { position: relative; max-width: 640px; padding: 46px 48px 50px; background: rgba(45,46,44,.9); border-radius: 10px; }
.banner h2 { font-family: var(--f-serif); font-size: 38px; font-weight: 400; line-height: 1.15; margin-bottom: 20px; }
.banner p { font-size: 18px; line-height: 1.6; color: var(--c-clar); margin-bottom: 30px; }
.banner-accions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-thick { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: #fff; border: 1px solid #fff; border-radius: 6px; font-size: 17px; font-weight: 600; color: var(--c-text); transition: background .2s, color .2s; }
.btn-thick:hover { background: transparent; color: #fff; }
.btn-thick--linia { background: transparent; color: #fff; }
.btn-thick--linia:hover { background: #fff; color: var(--c-text); }

/* el mapa, com a la web vella (imatge fixa: sense cookies fins que es clica) */
.mapa { background: #fff; padding: 0 15px 90px; }
.mapa-in { position: relative; max-width: 1250px; margin: -40px auto 0; }
.mapa-img { display: block; border-radius: 10px; overflow: hidden; background: var(--c-gris); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.mapa-img img { width: 100%; height: 420px; object-fit: cover; }
.mapa-boto { position: absolute; left: 24px; bottom: 54px; }
.mapa-credit { font-size: 13px; color: var(--c-muted); margin-top: 8px; text-align: right; }

/* peces destacades */
.latest { background: var(--c-gris); padding: 100px 15px 50px; }
.latest-in { max-width: 1250px; margin: 0 auto; }
.latest-title { font-family: var(--f-serif); font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--c-text); margin: 0 0 34px; }
.carousel-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.slide { display: block; color: var(--c-text); }
.slide-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--c-gris-foto); }
.slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.slide:hover .slide-img img { transform: scale(1.03); }
.slide-txt { display: block; padding: 20px 2px 30px; }
.slide h3 { font-family: var(--f-serif); font-size: 23px; font-weight: 500; line-height: 1.25; color: var(--c-text); margin-bottom: 8px; }
.slide-p { display: block; font-size: 16px; color: var(--c-muted); margin-bottom: 14px; }
.slide-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 600; font-size: 15px; color: var(--c-text); border-bottom: 1px solid var(--c-text); }

/* Instagram: graella de fotos seves */
.insta { background: var(--c-gris); padding: 80px 15px 100px; }
.insta-in { max-width: 1250px; margin: 0 auto; color: var(--c-text); text-align: center; }
.insta-t { font-family: var(--f-serif); font-size: 30px; font-weight: 400; line-height: 1.3; margin-bottom: 30px; }
.insta-peu { margin-top: 30px; }
.insta-graella { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.insta-graella img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background: #fff; transition: opacity .3s; }
.insta-graella:hover img { opacity: .9; }

/* ===== peu (carbó, com el de la web vella) ===== */
.site-footer { background: var(--c-carbo); color: #fff; padding-top: 80px; }
.widgets { max-width: 1313px; margin: 0 auto; display: flex; padding: 0 20px 30px; }
.wcol { width: 260px; flex: none; }
.wcol--signe { flex: 1; width: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; text-align: right; }
.widget { margin-bottom: 34px; padding-right: 30px; }
.widget h2 { font-family: var(--f-serif); font-size: 21px; font-weight: 400; line-height: 1.2; color: #fff; margin-bottom: 18px; }
.widget p { font-size: 16px; line-height: 1.6; color: var(--c-clar); }
.widget a { color: var(--c-clar); }
.widget a:hover { color: #fff; text-decoration: underline; }
.widget li { font-size: 16px; }
.widget li a { display: inline-flex; align-items: center; min-height: 34px; min-width: 44px; }
.widget-tel a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 30px; color: #fff; }
.widget-tel svg { width: 24px; height: 24px; }
.widget-mobil a { display: flex; align-items: center; min-height: 44px; }
.idiomes--peu { margin-left: -10px; }
.xarxes { display: flex; gap: 6px; margin-left: -10px; }
.xarxes a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; }
.xarxes svg { width: 22px; height: 22px; }
.logo--peu .logo-simbol { width: 50px; }
.logo--peu .logo-nom { font-size: 34px; }
.signe { font-family: var(--f-serif); font-size: 17px; color: var(--c-clar-2); }
.kitdigital { max-width: 1313px; margin: 0 auto; padding: 22px 20px 26px; border-top: 1px solid #454644; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 18px 30px; }
.kitdigital img { height: 40px; width: auto; }
.kitdigital .kd-ue { height: 38px; }
.copyright { border-top: 1px solid #454644; padding: 20px; font-size: 14px; text-align: center; color: var(--c-clar-2); }

/* ===== interiors (clars, com la web vella) ===== */
.pagehead { position: relative; background: var(--c-gris); color: var(--c-text); text-align: center; padding: 90px 20px 70px; overflow: hidden; }
.pagehead-in { position: relative; max-width: 820px; margin: 0 auto; }
.pagehead h1 { font-family: var(--f-serif); font-size: 46px; font-weight: 500; line-height: 1.12; }
.pagehead-sub { font-family: var(--f-body); font-size: 20px; font-weight: 500; line-height: 1.5; color: var(--c-muted); margin-top: 14px; }
.pagehead-text { font-size: 17px; line-height: 1.7; color: var(--c-muted); margin: 22px auto 0; max-width: 720px; }

.galeria { background: var(--c-gris); padding: 90px 15px 100px; }
.galeria .latest-title { text-align: center; }
.galeria-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 1250px; margin: 0 auto; }
.galeria-in img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }

/* horari, adreça i telèfons (pàgina de contacte i personalitzat) */
.retol-peca { max-width: 520px; color: var(--c-text); }
.retol-peca h2 { font-family: var(--f-serif); font-size: 22px; font-weight: 500; color: var(--c-text); margin: 28px 0 10px; }
.retol-peca h2:first-child { margin-top: 0; }
.retol-horari { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; font-size: 17px; font-variant-numeric: tabular-nums; }
.retol-horari div { display: contents; }
.retol-horari dt { font-weight: 600; }
.retol-horari dd { color: var(--c-muted); }
.retol-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; border-bottom: 1px solid var(--c-linia); }
.retol-tels { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.retol-gran { font-size: 24px; font-weight: 700; }

.cats { background: #fff; padding: 70px 15px 90px; }
.cats-t { font-family: var(--f-serif); font-size: 34px; font-weight: 400; color: var(--c-text); text-align: center; margin-bottom: 34px; }
.cats-in { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cat { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--c-gris-foto); }
.cat-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s; }
.cat:hover img { transform: scale(1.03); }
.cat-nom { position: absolute; left: 0; bottom: 0; padding: 10px 20px; background: rgba(45,46,44,.88); color: #fff; font-family: var(--f-serif); font-size: 22px; border-top-right-radius: 8px; }

.peces { background: #fff; padding: 70px 15px 100px; }
.peces .latest-title { max-width: 1250px; margin: 0 auto 34px; padding: 0 10px; }
.peces--mes { background: var(--c-gris); }
.peces-graella { max-width: 1250px; margin: 0 auto; padding: 0 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.peca-card { display: block; color: var(--c-text); }
.peca-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--c-gris-foto); }
.peca-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.peca-card:hover img { transform: scale(1.04); }
.peca-card-nom { display: block; margin-top: 14px; font-family: var(--f-serif); font-size: 19px; line-height: 1.3; color: var(--c-text); }
.peca-card-text { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--c-muted); }
.peces-grup { max-width: 1250px; margin: 46px auto 22px; padding: 0 10px; font-family: var(--f-serif); font-size: 24px; font-weight: 500; color: var(--c-text); }
.peces-grup a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; border-bottom: 1px solid var(--c-text); }
.peces .latest-title + .peces-grup { margin-top: 0; }

.subnav { background: var(--c-gris); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 15px 40px; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--c-mig); border-radius: 6px; color: var(--c-text); background: #fff; font-size: 15px; font-weight: 600; }
.subnav a[aria-current] { background: var(--c-carbo); border-color: var(--c-carbo); color: #fff; }

.molles { display: flex; align-items: center; gap: 10px; max-width: 1150px; margin: 0 auto; padding: 30px 20px 0; color: var(--c-muted); font-size: 15px; }
.molles a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--c-text); border-bottom: 1px solid transparent; }
.molles a:hover { border-bottom-color: var(--c-text); }
.peca { max-width: 1150px; margin: 0 auto; padding: 30px 20px 100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; color: var(--c-text); }
.peca-fotos { display: grid; gap: 16px; }
.peca-foto { background: var(--c-gris-foto); border-radius: 10px; overflow: hidden; }
.peca-foto img { width: 100%; height: auto; }
.peca-text h1 { font-family: var(--f-serif); font-size: 44px; font-weight: 500; line-height: 1.1; color: var(--c-text); margin-bottom: 14px; }
.peca-resum { font-family: var(--f-serif); font-size: 22px; line-height: 1.4; color: var(--c-muted); margin-bottom: 26px; }
.peca-desc p { font-size: 17px; line-height: 1.65; margin-bottom: 10px; }
.peca-accions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.contacte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 70px; max-width: 1150px; margin: 0 auto; padding: 70px 20px 110px; }
.contacte--form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.form { color: var(--c-text); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form-avis { background: var(--c-gris); border-left: 3px solid var(--c-carbo); padding: 14px 18px; font-size: 15px; margin-bottom: 22px; }
.camp { margin-bottom: 16px; }
.camp label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.camp input, .camp textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--c-mig); background: #fff; color: var(--c-text); font: 16px var(--f-body); border-radius: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; }
.check a { text-decoration: underline; }
.check input { -webkit-appearance: none; appearance: none; width: 44px; height: 44px; margin: -11px 0 -11px -11px; flex: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Crect x='11.5' y='11.5' width='21' height='21' rx='3' fill='%23ffffff' stroke='%23707070'/%3E%3C/svg%3E") center / 44px 44px no-repeat; }
.check input:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Crect x='11.5' y='11.5' width='21' height='21' rx='3' fill='%232d2e2c' stroke='%232d2e2c'/%3E%3Cpath d='M16 22.5l4 4 8-9' fill='none' stroke='%23ffffff' stroke-width='2.5'/%3E%3C/svg%3E"); }
.form-obl { font-size: 14px; color: var(--c-muted); margin: 6px 0 18px; }
.form fieldset[disabled] .btn-ple { background: var(--c-mig); border-color: var(--c-mig); cursor: not-allowed; }
.rgpd { margin-top: 30px; font-size: 13px; line-height: 1.6; color: var(--c-muted); }
.rgpd p { margin-bottom: 4px; }
.rgpd-t { font-weight: 700; color: var(--c-text); }
.rgpd a { color: var(--c-text); text-decoration: underline; }

.legal { max-width: 820px; margin: 0 auto; padding: 60px 20px 110px; color: var(--c-text); }
.legal h2 { font-family: var(--f-serif); font-size: 26px; font-weight: 500; margin: 34px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal a { text-decoration: underline; }
.pendent { color: var(--c-muted); font-style: italic; }
.mapaweb ul { list-style: none; padding: 0; }
.mapaweb li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.mapaweb-peces { columns: 2; column-gap: 40px; }
.mapaweb-peces li { break-inside: avoid; margin: 0; }

/* ====================================================== */
/* ===== tauleta i mòbil (la navegació canvia aquí) ===== */
/* ====================================================== */
@media (max-width: 1024px) {
  .topbar, .masthead, .mainnav, .stickynav { display: none; }
  .mobilebar { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; height: 66px; background: var(--c-carbo); padding-left: 14px; }
  .logo--mobil { min-height: 48px; gap: 10px; }
  .logo--mobil .logo-simbol { width: 38px; }
  .logo--mobil .logo-nom { font-size: 29px; }
  .mobilebar-accions { display: flex; align-items: center; height: 66px; padding-right: 6px; }
  .idiomes--mobil { margin: 0; }
  .burger { width: 52px; height: 52px; padding: 0 14px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
  .burger span { display: block; width: 22px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 66px; left: 0; right: 0; background: var(--c-carbo); padding: 0 0 20px; border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 66px); overflow-y: auto; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu li a { display: flex; align-items: center; min-height: 52px; padding: 0 22px; font-size: 15px; font-weight: 600; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mobile-menu li a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
  .mobile-menu .mm-sub a { padding-left: 42px; text-transform: none; font-weight: 500; color: var(--c-clar); }

  /* barra fixa de trucar / WhatsApp / com arribar */
  body { padding-bottom: 64px; }
  .barra-mobil { display: grid; grid-template-columns: 1.15fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; height: 64px; background: var(--c-carbo); border-top: 1px solid #454644; padding-bottom: env(safe-area-inset-bottom); }
  .barra-mobil a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 56px; margin: 4px 3px; border-radius: 6px; font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; }
  .barra-mobil svg { width: 19px; height: 19px; flex: none; }
  .barra-mobil .bm-truca { background: #fff; color: var(--c-text); }
  .barra-mobil .bm-wa { border: 1px solid var(--c-clar-2); }

  .hero-img { height: 420px; }
  .intro { padding: 60px 24px 56px; }
  .duo { padding-bottom: 70px; }
  .statement { padding: 70px 24px 80px; }
  .statement h2 { font-size: 40px; margin-bottom: 40px; }
  .statement-duo { gap: 36px; }
  .service { grid-template-columns: 1fr 1fr; gap: 0 40px; padding: 80px 24px; }
  .service-img { width: 100%; height: 420px; }
  .line-link-bar { width: 60px; }
  .line-link:hover .line-link-bar { width: 80px; }
  .peces-graella { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insta-graella { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .widgets { flex-wrap: wrap; }
  .wcol { width: 50%; }
  .wcol--signe { width: 100%; align-items: flex-start; text-align: left; }
  .widget li a { min-height: 44px; }
  .kitdigital { justify-content: flex-start; }
  .contacte, .contacte--form { grid-template-columns: 1fr; gap: 50px; }
  .peca { gap: 40px; }
}

/* ===== mòbil ===== */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .demo-franja { font-size: 12px; padding: 6px 10px; }
  .hero-img { height: 270px; object-position: 50% 55%; }
  .intro { padding: 32px 20px 36px; }
  .intro h1 { font-size: 33px; line-height: 1.15; margin-bottom: 8px; }
  .intro-sub { font-size: 17px; line-height: 1.4; margin-bottom: 22px; }
  .intro-accions { flex-direction: column; align-items: stretch; gap: 10px; }
  .duo { padding: 0 0 50px; }
  .duo-in { grid-template-columns: 1fr; gap: 16px; padding: 0 16px; }
  .duo-img { aspect-ratio: 4 / 3; }
  .statement { padding: 50px 20px 56px; }
  .statement h2 { font-size: 32px; line-height: 1.2; margin-bottom: 28px; }
  .statement-duo { grid-template-columns: 1fr; gap: 26px; }
  .statement-foto img { aspect-ratio: 1 / 1; }
  .statement-text h2, .statement-text h3 { font-size: 26px; }
  .statement--curt { padding: 50px 20px 56px; }
  .statement--curt h2 { font-size: 28px; text-align: left; }
  .service { display: block; padding: 44px 16px 50px; }
  .service-img { width: 100%; height: 300px; margin: 0 auto 28px; border-radius: 10px; }
  .service-text { padding: 0 4px; }
  .service-text h2 { font-size: 27px; }
  .banner { min-height: 0; padding: 60px 16px; }
  .banner-in { padding: 30px 22px 34px; }
  .banner h2 { font-size: 30px; }
  .banner p { font-size: 17px; }
  .btn-thick { width: 100%; }
  .mapa { padding: 0 16px 56px; }
  .mapa-in { margin-top: -24px; }
  .mapa-img img { height: 300px; object-position: 50% 45%; }
  .mapa-boto { position: static; display: flex; width: 100%; margin-top: 12px; }
  .mapa-credit { text-align: left; }
  .latest { padding: 56px 16px 20px; }
  .latest-title { font-size: 27px; margin-bottom: 22px; }
  .carousel-track { grid-template-columns: 1fr; gap: 10px; }
  .slide-txt { padding: 16px 2px 26px; }
  .insta { padding: 50px 16px 60px; }
  .insta-t { font-size: 25px; margin-bottom: 20px; }
  .insta-peu .btn-linia { width: 100%; padding: 8px 14px; font-size: 15px; }
  .insta-graella { gap: 6px; }
  .site-footer { padding-top: 60px; }
  .wcol { width: 100%; }
  .wcol:nth-child(3), .wcol:nth-child(4) { width: 50%; }
  .widget-tel a { font-size: 28px; }
  .kitdigital { gap: 16px 22px; }
  .kitdigital img { height: 34px; }
  .kitdigital .kd-ue { height: 32px; }
  .pagehead { padding: 48px 20px 40px; }
  .pagehead h1 { font-size: 34px; }
  .pagehead-sub { font-size: 18px; }
  .galeria { padding: 50px 16px 60px; }
  .galeria-in { grid-template-columns: 1fr 1fr; }
  .cats { padding: 44px 16px 60px; }
  .cats-in { grid-template-columns: 1fr; gap: 16px; }
  .cats-t { font-size: 28px; }
  .peces { padding: 44px 10px 70px; }
  .peces-graella { grid-template-columns: 1fr 1fr; gap: 26px 12px; padding: 0 6px; }
  .peca-card-nom { font-size: 17px; }
  .peca-card-text { font-size: 14px; }
  .peca { grid-template-columns: 1fr; padding: 16px 16px 70px; gap: 28px; }
  .peca-text h1 { font-size: 32px; }
  .peca-resum { font-size: 19px; }
  .peca-accions { flex-direction: column; }
  .peca-accions a { width: 100%; }
  .contacte { padding: 40px 16px 80px; }
  .retol-horari { gap: 6px 18px; font-size: 16px; }
  .mapaweb-peces { columns: 1; }
}
