/* =========================================================
   COPIRAL — Estils de la web
   Basat en el disseny «COPIRAL · Home · Desktop» (Adobe XD)
   i la maqueta copiral_home_mockup_v2.html
   ========================================================= */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-display: swap;
	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: "Manrope";
	src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-display: swap;
	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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Colors del disseny */
	--green: #2f7a3f;
	--green-hover: #245e31;
	--green-dark: #173a2b;
	--lime: #d7ed21;
	--lime-dark: #a9bf19;
	--blue: #064783;
	--blue-badge: #3d7fc4;
	--orange: #d8752b;
	--ink: #1e2620;
	--muted: #5f6a60;
	--paper: #ffffff;
	--soft: #f5f5f2;
	--soft-green: #f9faf5;
	--line: #e2e8dc;
	--cream: #f5efdf;

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--max: 1160px;
	--gutter: 24px;
	--radius: 22px;
	--section: clamp(64px, 8.5vw, 124px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-badge); outline-offset: 3px; }

.container { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; z-index: 200; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- Tipografia ---------- */
.eyebrow { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin: 0 0 12px; }
.eyebrow--lime { color: var(--lime); }
.eyebrow--light { color: #f1e8c7; }
.section-title { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.12; letter-spacing: -.025em; color: var(--green); font-weight: 500; margin-bottom: 14px; }
.section-title--blue { color: var(--blue); }
.lead { color: var(--muted); max-width: 640px; font-size: 1rem; }
.lead--ink { color: var(--ink); }
.center .lead { margin-inline: auto; }
.note { font-size: .74rem; color: var(--muted); max-width: 520px; }

/* ---------- Botons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 13px 18px 13px 20px; border-radius: 999px; background: var(--green); color: #fff;
	font-size: .74rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; border: 0; transition: transform .2s, background-color .2s; }
.btn:hover { transform: translateY(-2px); background: var(--green-hover); }
.btn__icon { width: 14px; height: 14px; flex: none; }
.btn--lime { background: var(--lime); color: #1b3420; }
.btn--lime:hover { background: #e3f54a; }
.btn--small { padding: 10px 14px 10px 16px; font-size: .66rem; gap: 10px; }

/* ---------- Menú flotant ---------- */
.site-header { position: absolute; z-index: 50; top: 28px; left: 0; right: 0; }
.topnav { width: min(1120px, calc(100% - 64px)); margin-inline: auto; display: flex; align-items: center; gap: 20px;
	padding: 10px 12px 10px 20px; background: #fff; border-radius: 999px; box-shadow: 0 10px 35px rgba(0,0,0,.13); position: relative; }
.logo { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--blue); }
.logo__img { height: 40px; width: auto; }
.logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border: 4px solid var(--lime-dark); border-right-color: transparent;
	border-radius: 50%; font-weight: 800; font-size: 1rem; color: var(--blue); transform: rotate(-20deg); }
.logo__mark::first-letter { display: inline-block; }
.logo__text { font-size: 1.08rem; font-weight: 800; letter-spacing: .05em; line-height: 1; }
.logo__text small { display: block; font-size: .44rem; letter-spacing: .08em; text-transform: uppercase; color: #57708a; font-weight: 600; margin-top: 3px; }
.logo--light, .logo--light .logo__mark { color: #fff; }
.logo--light .logo__text small { color: #c6d0c6; }

.topnav__panel { flex: 1; display: flex; justify-content: center; }
.navlinks { display: flex; gap: clamp(10px, 1.6vw, 26px); align-items: center; }
.navlinks a { font-size: .64rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; color: #15251b; padding: 6px 0; border-bottom: 2px solid transparent; }
.navlinks a:hover { color: var(--green); }
.navlinks a[aria-current] { border-bottom-color: var(--lime-dark); }
.topnav__actions { display: flex; align-items: center; gap: 10px; }
.langs--inline { display: none; }
.langs--menu { position: relative; }
.langs--menu summary { list-style: none; cursor: pointer; font-size: .66rem; font-weight: 700; color: var(--muted); padding: 8px 10px; border-radius: 999px; }
.langs--menu summary::-webkit-details-marker { display: none; }
.langs--menu summary::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.langs--menu[open] summary, .langs--menu summary:hover { background: var(--soft); }
.langs--menu ul { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; box-shadow: 0 10px 25px rgba(0,0,0,.12); padding: 6px; min-width: 64px; }
.langs--menu ul a { display: block; padding: 6px 12px; font-size: .7rem; font-weight: 700; border-radius: 8px; }
.langs--menu ul a:hover { background: var(--soft); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 14px; } .menu-toggle span:nth-child(2) { top: 19px; } .menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
	.topnav { width: calc(100% - 36px); }
	.navlinks { gap: 12px; } .navlinks a { font-size: .58rem; }
}
@media (max-width: 960px) {
	.site-header { top: 14px; }
	.topnav { width: calc(100% - 24px); border-radius: 28px; padding: 8px 8px 8px 16px; }
	.topnav__actions { margin-left: auto; }
	.menu-toggle { display: block; }
	.langs--menu { display: none; }
	.topnav__panel { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 22px;
		box-shadow: 0 12px 28px rgba(0,0,0,.15); padding: 14px 22px 20px; flex-direction: column; }
	.topnav__panel.is-open { display: flex; }
	.navlinks { flex-direction: column; align-items: stretch; gap: 0; }
	.navlinks a { display: block; font-size: .8rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.navlinks a[aria-current] { color: var(--green); border-bottom-color: var(--line); }
	.langs--inline { display: flex; gap: 8px; margin-top: 16px; }
	.langs--inline a { display: block; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--soft); }
	.langs--inline a[aria-current] { background: var(--green); color: #fff; }
}
@media (max-width: 480px) {
	.topnav__cta { display: none; }
	.logo__text { font-size: .95rem; }
	.logo__mark { width: 32px; height: 32px; border-width: 3px; }
}

/* ---------- Imatges provisionals (quan encara no s'ha pujat la foto) ---------- */
.is-placeholder, span.is-placeholder { background: linear-gradient(135deg, #294b39 0%, #82916b 46%, #c4a06b 100%); }
span.is-placeholder { display: block; }

/* ---------- 1. Capçalera ---------- */
.hero { position: relative; min-height: clamp(650px, 64vw, 940px); display: flex; align-items: center; color: #fff; overflow: hidden; background-color: var(--green-dark); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(8,30,20,.78) 0%, rgba(12,31,22,.45) 48%, rgba(8,25,18,.12) 100%), linear-gradient(180deg, rgba(0,0,0,.25) 0, transparent 30%); }
.hero__content { padding: 150px 0 150px; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { margin-bottom: 26px; text-align: center; }
.hero__title { font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; text-align: center; max-width: 820px; margin: 0 auto 30px; }
.hero__bottom { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__text { max-width: 360px; font-size: .95rem; color: #f1f3ed; margin: 0; }

/* ---------- 2. Àmbits clau ---------- */
.pillars { position: relative; z-index: 2; margin-top: -96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pillar { min-height: 140px; padding: 22px 22px; border-radius: 14px 14px 14px 14px; box-shadow: 0 12px 26px rgba(23,43,25,.12); }
.pillar:nth-child(4n+1) { background: #9bbce0; } .pillar:nth-child(4n+2) { background: #cbdcf1; }
.pillar:nth-child(4n+3) { background: #9ddfe2; } .pillar:nth-child(4n+4) { background: #c5f0ef; }
.pillar small { display: block; font-size: .58rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #0a477d; margin-bottom: 8px; }
.pillar__title { display: block; color: var(--blue); font-size: clamp(1.1rem, 1.9vw, 1.6rem); line-height: 1.08; font-weight: 500; max-width: 9em; }

/* ---------- Seccions ---------- */
.section { padding: var(--section) 0; position: relative; }

/* 3. Xifres */
.stats { padding-top: 96px; padding-bottom: 110px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--lime-dark); text-align: left; margin: 30px auto 0; max-width: 1000px; }
.stat { padding: 30px 24px 40px; border-right: 1px solid var(--lime-dark); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--green); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; font-weight: 500; margin-bottom: 14px; }
.stat span { display: block; font-weight: 600; }
.stat small { display: block; color: var(--muted); font-size: .74rem; margin-top: 10px; }

/* 4. Sobre Copiral */
.about { background: var(--soft); padding: 72px 0; }
.about__grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 64px; }
.about__images { display: grid; grid-template-columns: .22fr 1fr; gap: 16px; min-height: 420px; margin-left: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2)); }
.about__strip, .about__main { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.about__strip { border-radius: 0 20px 20px 0; object-position: 80% 50%; }
.about__main { border-radius: 20px; }
.about__copy { padding: 18px 0; display: flex; flex-direction: column; align-items: flex-start; }
.about__copy .btn { margin-top: 40px; align-self: flex-end; }

/* 5. Procés */
.process { padding-bottom: 40px; overflow-x: clip; }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; position: relative; z-index: 1; }
.process-card__media { position: relative; margin-bottom: 22px; }
.process-card__img { width: 100%; height: 230px; object-fit: cover; border-radius: 16px; }
.process-card__btn { position: absolute; right: 14px; bottom: 14px; }
.process-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
.process-card p { font-size: .8rem; color: var(--muted); margin: 0; }

/* Decoració: traços llima del disseny */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--arc { width: 380px; height: 380px; right: max(-150px, calc((100vw - var(--max)) / 2 - 240px)); top: 46%;
	border: 36px solid var(--lime-dark); border-radius: 50%; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(10deg); }
.deco--hook { width: 70px; height: 300px; right: max(30px, calc((100vw - var(--max)) / 2 + 120px)); top: 10px;
	border-radius: 40px; background: var(--lime-dark); transform: rotate(-12deg); clip-path: inset(0 0 0 0 round 40px); }

/* 6. Solucions */
.solutions { padding-top: 56px; overflow-x: clip; }
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; position: relative; z-index: 1; }
.solution-card { border: 1px solid var(--line); border-radius: 24px; padding: 30px 22px 22px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.solution-card:nth-child(2n) { background: #eff6ed; }
.solution-card__head { display: flex; justify-content: space-between; gap: 20px; width: 100%; margin-bottom: 16px; }
.solution-card .solution-card__meta { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); max-width: 16em; margin: 0; }
.solution-card__num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .56rem; font-weight: 700; background: #eff6ed; color: var(--green); }
.solution-card:nth-child(2n) .solution-card__num { background: var(--green); color: #fff; }
.solution-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; font-weight: 500; margin-bottom: 8px; max-width: 18em; }
.solution-card p { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.solution-card .btn { margin-top: auto; }

/* 7. Petjada de carboni */
.footprint { background: var(--soft-green); }
.footprint__top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.footprint .section-title { font-size: clamp(2.1rem, 3.6vw, 3rem); margin: 18px 0 20px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric { border-radius: 16px; padding: 22px 16px 26px; background: #eef4e7; border: 1px solid #dce9c9; }
.metric:nth-child(2) { background: #f8e8d6; border-color: #f0d7b9; }
.metric small { display: block; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #55733f; }
.metric:nth-child(2) small { color: #b2652a; }
.metric strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--blue); line-height: 1.1; margin: 16px 0 6px; letter-spacing: -.02em; }
.metric:nth-child(2) strong { color: var(--orange); }
.metric b { display: block; font-weight: 600; margin-bottom: 14px; }
.metric:nth-child(2) b { color: var(--blue); }
.metric p { font-size: .72rem; color: var(--muted); margin: 0; }
.iso { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 24px 18px; display: flex; gap: 24px; align-items: center; }
.iso strong { color: var(--blue); font-size: 1.45rem; font-weight: 600; }
.iso span { font-size: .8rem; color: var(--muted); flex: 1; }
.iso__icon { width: 18px; height: 18px; color: var(--ink); flex: none; }
a.iso:hover { border-color: var(--blue-badge); }

/* Cicle */
.cycle { --r: 38.46%; --icon: 92px; /* radi = 200 / 520 del SVG */ position: relative; width: 680px; max-width: 100%; aspect-ratio: 1 / 1; margin: 70px auto 60px; }
.cycle__arrows { position: absolute; inset: 0; width: 100%; height: 100%; color: #9bbf5c; overflow: visible; }
.cycle__arrows path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 3 5; animation: cycle-flow 2.4s linear infinite; }
@keyframes cycle-flow { to { stroke-dashoffset: -16; } }
.cycle__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 160px; }
.cycle__sack-img { width: 100%; }
.sack { position: relative; min-height: 190px; padding: 34px 14px 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	color: #fff; background: var(--orange); border-radius: 18px 18px 22px 22px / 14px 14px 30px 30px; box-shadow: inset 0 -10px 18px rgba(0,0,0,.08); }
.sack::before, .sack::after { content: ""; position: absolute; top: -6px; width: 22px; height: 22px; background: var(--orange); border-radius: 50%; }
.sack::before { left: -6px; } .sack::after { right: -6px; }
.sack strong { font-size: 1.35rem; line-height: 1.1; font-weight: 500; text-transform: uppercase; margin-bottom: 14px; }
.sack span { font-size: .72rem; line-height: 1.35; }

.cycle__stages { position: absolute; inset: 0; }
/* La unitat icona + text es col·loca sobre la circumferència (--x, --y calculats a la plantilla) */
.stage { position: absolute; left: calc(50% + var(--x) * var(--r)); top: calc(50% + var(--y) * var(--r));
	width: var(--icon); height: var(--icon); margin: calc(var(--icon) / -2) 0 0 calc(var(--icon) / -2);
	transition: opacity .5s, transform .5s; transition-delay: calc(var(--i) * 120ms); }
.cycle.will-animate:not(.is-visible) .stage { opacity: 0; transform: scale(.85); }
.stage__icon { position: relative; display: grid; place-items: center; width: var(--icon); height: var(--icon); border-radius: 50%; background: var(--cream); }
.stage__icon img { width: 58%; height: 58%; object-fit: contain; }
.stage__num { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-badge); color: #fff; font-size: .7rem; font-weight: 700;
	display: grid; place-items: center; left: -4px; top: -4px; }
.stage__body { position: absolute; width: 150px; font-size: .64rem; line-height: 1.4; }
.stage__title { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; line-height: 1.25; }
.stage__text { display: block; color: var(--ink); }
.stage--right .stage__body { left: calc(100% + 14px); top: 0; }
.stage--left .stage__body { right: calc(100% + 14px); top: 0; text-align: right; }
.stage--left .stage__num { left: auto; right: -4px; }
.stage--bottom .stage__body { top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 190px; text-align: center; }

.benefits__title { margin-top: 28px; }
.benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.benefit { padding: 18px 12px 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.benefit__icon { width: 28px; height: 28px; display: grid; place-items: center; background: var(--lime-dark); border-radius: 50%; margin-bottom: 8px; }
.benefit__icon img { width: 16px; height: 16px; }
.benefit h4 { font-size: .8rem; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.benefit p { font-size: .66rem; color: var(--muted); margin: 0; }

/* 8. Bàner */
.banner { position: relative; min-height: clamp(460px, 44vw, 640px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; background-color: #80582d; }
.banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(50,30,10,.55), rgba(50,30,10,0) 65%); }
.banner__content { padding: 60px 0; }
.banner__title { font-size: clamp(2.1rem, 3.9vw, 3.1rem); line-height: 1.05; letter-spacing: -.025em; font-weight: 500; max-width: 520px; margin-bottom: 18px; }
.banner p { max-width: 420px; font-size: .9rem; }

/* 9. Com treballem */
.work { background: var(--soft-green); }
.work__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-bottom: 28px; }
.work__head .section-title { margin-bottom: 0; }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 26px; box-shadow: 0 8px 25px rgba(21,45,21,.06); }
.work-card__img { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.work-card small { font-size: .6rem; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.work-card h3 { font-size: 1.05rem; font-weight: 600; margin: 10px 0 12px; }
.work-card h3 a:hover { color: var(--green); }
.work-card p { font-size: .74rem; color: var(--muted); margin: 0; }

/* 10. Crida final */
.cta { padding: 56px 0 40px; position: relative; z-index: 2; }
.cta__pill { position: relative; min-height: 220px; border-radius: 120px; background: var(--green); color: #fff; padding: 40px 80px; display: flex; align-items: center; }
.cta__pill.has-image { padding-right: 300px; }
.cta__copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 500; line-height: 1.15; margin-bottom: 4px; }
.cta__copy p { font-size: .85rem; margin-bottom: 22px; }
.cta__img { position: absolute; right: 0; bottom: -60px; width: 300px; max-height: 480px; object-fit: contain; object-position: bottom; }

/* ---------- Peu ---------- */
.site-footer { background: #191b19; color: #fff; padding: 56px 0 30px; position: relative; z-index: 1; }
.site-footer__top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 35px 60px; padding-bottom: 48px; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand .logo__img { height: 48px; }
.site-footer__title { font-size: .78rem; font-weight: 700; margin: 0 0 14px; }
.site-footer__top li { color: #c7cec7; font-size: .74rem; margin-bottom: 10px; }
.site-footer__top a:hover, .site-footer__legal a:hover { color: var(--lime); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; color: #b9c0b9; font-size: .68rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; }
.site-footer__legal li + li::before { content: "·"; margin: 0 6px; }

.edit-link { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--blue);
	color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }

/* =========================================================
   Pàgines interiors
   ========================================================= */
.page-header { position: relative; color: #fff; background: var(--green-dark); padding: 150px 0 64px; overflow: hidden; isolation: isolate; }
.page-header--image { min-height: 420px; display: flex; align-items: flex-end; }
.page-header__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-header--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,30,20,.85), rgba(8,30,20,.3)); }
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; margin-bottom: 14px; max-width: 820px; }
.page-header__lead { max-width: 620px; color: #e5ebe3; font-size: 1.05rem; margin: 0; }
.page-header .breadcrumb a { color: var(--lime); }
.page-body { padding: 64px 0 96px; }
.rich { font-size: 1.02rem; }
.rich h2 { color: var(--green); font-weight: 500; font-size: 1.9rem; letter-spacing: -.02em; margin: 1.6em 0 .5em; }
.rich h3 { color: var(--blue); font-weight: 600; margin: 1.4em 0 .4em; }
.rich a { color: var(--green); text-decoration: underline; }
.rich ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.rich ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1em; }
.rich img { border-radius: 16px; }
.container--narrow { max-width: 780px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 40px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 25px rgba(21,45,21,.06); transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card__link { display: block; height: 100%; padding: 14px 14px 22px; }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.card__title { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.card__text { font-size: .82rem; color: var(--muted); }
.card__more { display: inline-block; margin-top: 6px; color: var(--green); font-weight: 700; font-size: .72rem; text-transform: uppercase; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 40px 0; }
.gallery img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery--thumbs { grid-template-columns: repeat(4, 1fr); margin: 12px 0 0; }

.product-detail__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .product-detail__grid { grid-template-columns: 1fr 1fr; } }
.product-detail__img { border-radius: 20px; width: 100%; }
.lead-text { font-size: 1.1rem; color: var(--muted); }
.specs { width: 100%; border-collapse: collapse; margin: 10px 0 28px; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 45%; font-weight: 600; color: var(--blue); }
.downloads { display: grid; gap: 12px; margin-bottom: 28px; }
.downloads small { color: var(--muted); margin-left: 8px; }
.back-link { color: var(--green); font-weight: 600; }

.MarkupPagerNav { display: flex; gap: 8px; justify-content: center; margin: 20px 0; }
.MarkupPagerNav a { display: block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.MarkupPagerNavOn a { background: var(--green); color: #fff; border-color: var(--green); }

/* Contacte */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.3fr; } }
.contact__data dt { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-top: 18px; }
.contact__data dd { margin: 4px 0 0; font-size: 1.05rem; }
.contact__data a:hover { color: var(--green); }
.contact__form { background: var(--soft-green); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.form-row input, .form-row textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.form-row--check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.form-row--check a { text-decoration: underline; }
.form-row--check input { width: auto; margin-top: 5px; accent-color: var(--green); }
.form-row--error input, .form-row--error textarea { border-color: #a32a2a; }
.form-error { color: #a32a2a; font-size: .8rem; }
.alert { padding: 14px 16px; border-radius: 12px; }
.alert--ok { background: #e6f2e8; color: #23592e; }
.alert--error { background: #f7e6e6; color: #a32a2a; }
.hp { position: absolute; left: -9999px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
	.about__grid { grid-template-columns: 1fr; gap: 30px; }
	.about__images { margin-left: 0; min-height: 260px; }
	.about__strip { border-radius: 16px; }
	.about__strip, .about__main { min-height: 260px; }
	.footprint__top { grid-template-columns: 1fr; gap: 28px; }
	.benefit-grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.deco { display: none; }
	.cta__pill { border-radius: 40px; padding: 36px 40px; }
	.cta__pill.has-image { padding-right: 220px; }
	.cta__img { width: 220px; }
}

/* Cicle en pantalles mitjanes i petites: llista vertical (presentació simple) */
@media (max-width: 820px) {
	.cycle { width: 100%; aspect-ratio: auto; margin: 36px 0 24px; display: grid; gap: 22px; }
	.cycle__arrows { display: none; }
	.cycle__center { position: static; transform: none; margin: 0 auto 6px; width: 170px; }
	.cycle__stages { position: relative; display: grid; gap: 18px; padding-left: 0; }
	.cycle__stages::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; border-left: 2px dashed #b9d38a; }
	.stage, .stage--left, .stage--right, .stage--bottom { position: relative; left: auto; top: auto; margin: 0; width: auto; height: auto; display: flex; gap: 16px; align-items: center; --icon: 72px; }
	.stage__body, .stage--left .stage__body, .stage--right .stage__body, .stage--bottom .stage__body { position: static; transform: none; width: auto; text-align: left; font-size: .8rem; }
	.stage__icon { flex: none; }
	.stage--left .stage__num { left: -4px; right: auto; }
}

@media (max-width: 760px) {
	.hero { min-height: 640px; }
	.hero__content { padding: 120px 0 110px; }
	.pillars { grid-template-columns: repeat(2, 1fr); margin-top: -50px; }
	.pillar { min-height: 100px; }
	.stat-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2n) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--lime-dark); }
	.process__grid, .solution-grid, .work__grid { grid-template-columns: 1fr; }
	.process-card__img { height: 220px; }
	.work__head { flex-direction: column; }
	.work-card__img { height: 190px; }
}

@media (max-width: 560px) {
	:root { --gutter: 16px; }
	.hero__title { font-size: clamp(2.2rem, 10.5vw, 3rem); }
	.pillars { gap: 8px; margin-top: -40px; }
	.pillar { padding: 14px; min-height: 92px; }
	.pillar__title { font-size: 1.05rem; }
	.metric { padding: 16px 12px; }
	.metric strong { font-size: 2rem; }
	.iso { flex-wrap: wrap; gap: 8px 16px; }
	.benefit-grid { grid-template-columns: repeat(2, 1fr); }
	.banner { min-height: 460px; }
	.cta__pill, .cta__pill.has-image { border-radius: 30px; padding: 28px 24px; flex-direction: column; align-items: flex-start; }
	.cta__pill.has-image { padding-bottom: 170px; }
	.cta__img { width: 160px; right: 10px; bottom: -40px; }
	.site-footer__top { grid-template-columns: 1fr 1fr; gap: 26px; }
	.site-footer__bottom { flex-direction: column; }
}

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