@charset "utf-8";
/* ==========================================================================
   Cosgra · Innomotics – estils base
   Disseny de referència: Figma «Landing Innomotics HV C · Desktop · ES», 1440 px d'amplada
   Les media queries són a media.css.
   ========================================================================== */

:root {
    --blue: #1a44f5;
    --lime: #e2f000;
    --ink: #0b0b0b;
    --white: #ffffff;
    --grey-cosgra: #f0f0f0;
    --grey-100: #f2f2f0;
    --grey-200: #d6d6d6;
    --grey-400: #9a9a9a;          /* contrast insuficient com a text (README, I-3) */
    --grey-700: #4a4a4a;
    --row-grey: rgba(214, 214, 214, .3);
    --error: #d6281e;             /* 4,41:1 sobre #f0f0f0 (README, I-4) */
    --success: #1e8a4c;
    --container: 1200px;
    --gutter: 24px;
    --side: max(var(--gutter), calc((100% - var(--container)) / 2));
    --header-h: 95px;
    --ease: cubic-bezier(.25, .7, .25, 1);
}

/* ---------- reset (com exemple) ---------- */
* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { padding: 0; margin: 0; background: var(--white); font-family: var(--ff-main); font-weight: 400; font-size: 16px; line-height: 24px; color: var(--ink); }
article, aside, details, figcaption, figure, footer, header, main, nav, section, address { display: block; margin: 0; padding: 0; font-style: normal; }
img { border: 0; max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { padding: 0; margin: 0; font-weight: 400; }
ul, ol { list-style: none; padding: 0; margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
table { border-collapse: collapse; border-spacing: 0; }
[hidden] { display: none !important; }

.row { width: var(--container); max-width: calc(100% - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.c-blue { color: var(--blue); }
.c-lime { color: var(--lime); }

/* ---------- focus ---------- */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--white); }
[tabindex="-1"]:focus-visible { outline: none; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--ink); color: var(--white); font-family: var(--ff-ui); font-weight: 600; padding: 12px 20px; }
.skip-link:focus { top: 0; }
.skip-link:focus-visible { outline-color: var(--lime); outline-offset: 0; }

/* ---------- tipografia (estils de text del Figma) ---------- */
.t-display-xl { font-size: 80px; line-height: 74px; letter-spacing: -1.6px; }
.t-display-l { font-size: 56px; line-height: 60px; letter-spacing: -.84px; }
.t-h2 { font-size: 44px; line-height: 50px; letter-spacing: -.44px; }
.t-h3 { font-size: 28px; line-height: 34px; letter-spacing: -.14px; }
.t-h4 { font-size: 20px; line-height: 26px; font-weight: 500; }
.t-lead { font-size: 20px; line-height: 27px; }
.t-small { font-size: 14px; line-height: 20px; }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: 1.04px; text-transform: uppercase; }
/* subratllat llima darrere el text (Figma: rectangle de la mida del text) */
.mark { display: inline-block; background: var(--lime); padding-right: 6px; }
.eyebrow--mark { display: inline-block; background: var(--lime); padding: 4px 14px 4px 8px; margin-left: -8px; align-self: flex-start; }

/* ---------- botons (cantonades rectes, com al dossier) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 55px; padding: 16px 28px; border: 1.5px solid transparent; font-family: var(--ff-ui); font-weight: 600; font-size: 16px; line-height: 20px; text-align: center; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--outline-white { border-color: var(--white); color: var(--white); }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); }
@media (hover: hover) {
    .btn--lime:hover { background: var(--white); border-color: var(--white); }
    .btn--blue:hover { background: var(--ink); border-color: var(--ink); }
    .btn--outline-white:hover { background: var(--white); color: var(--ink); }
    .btn--outline-ink:hover { background: var(--ink); color: var(--white); }
}
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   HEADER (fix amb jquery.sticky)
   ========================================================================== */
.sticky-wrapper { position: relative; z-index: 90; height: var(--header-h) !important; }
.site-header { position: relative; z-index: 90; width: 100%; background: var(--blue); color: var(--white); transition: box-shadow .3s ease; }
.is-sticky .site-header { box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
/* Figma: logo a x=120 i botó acabat a x=1413 (1440) */
.head-inn { display: flex; align-items: center; height: var(--header-h); padding: 0 max(var(--gutter), calc(var(--side) - 93px)) 0 var(--side); }
.lockup { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; margin-right: 71px; }
.lockup img:first-child { width: 128.475px; }
.lockup-div { width: 1px; height: 28px; background: var(--white); }
.lockup img:last-child { width: 83.385px; }
.main-nav ul { display: flex; gap: 12px; }
.main-nav li:nth-child(1) { width: 121px; }
.main-nav li:nth-child(2) { width: 158px; }
.main-nav li:nth-child(3) { width: 83px; }
.main-nav a { display: inline-block; font-size: 16px; line-height: 24px; padding: 2px 0; background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1.5px; transition: background-size .3s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current] { background-size: 100% 1.5px; }
.head-actions { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; min-width: 24px; min-height: 24px; font-family: var(--ff-ui); font-weight: 700; font-size: 14px; line-height: 20px; text-decoration: underline; text-underline-offset: 3px; }
.lang-list { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); z-index: 95; min-width: 130px; padding: 6px 0; background: var(--white); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.lang-list a { display: block; padding: 8px 16px; font-size: 15px; line-height: 22px; color: var(--ink); }
.lang-list a:hover { background: var(--grey-cosgra); }
.lang-list a[aria-current] { font-weight: 700; }
.head-phone { font-size: 16px; line-height: 20px; font-weight: 700; white-space: nowrap; padding: 2px 0; }
.head-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.head-cta { flex: 0 0 auto; }
.hamburger { display: none; }

/* ==========================================================================
   MENÚ MÒBIL (diàleg)
   ========================================================================== */
html.dialog-open { overflow: hidden; }
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--blue); color: var(--white); overflow-y: auto; padding-bottom: 40px; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); }
.dialog-close { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--white); }
.dialog-close::before, .dialog-close::after { content: ""; position: absolute; width: 20px; height: 2px; background: var(--white); transform: rotate(45deg); }
.dialog-close::after { transform: rotate(-45deg); }
.mobile-menu nav { padding: 24px var(--gutter) 0; }
.mobile-menu nav li { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.mobile-menu nav a { display: block; padding: 16px 0; font-size: 28px; line-height: 34px; letter-spacing: -.14px; }
.mobile-menu-extra { padding: 32px var(--gutter) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.mobile-menu-extra .head-phone { font-size: 20px; line-height: 26px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 765px; background: var(--ink); color: var(--white); overflow: clip; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left top; }
.hero-inn { position: relative; z-index: 1; padding: 76px 0; }
.hero-cnt { width: 600px; max-width: 100%; }
.hero-logo { width: 362px; }
.hero-title { margin-top: 92px; }
.hero-sub { width: 335px; max-width: 100%; margin-top: 26px; }
.hero-note { margin-top: 26px; color: rgba(255, 255, 255, .8); }
.hero .btn-group { margin-top: 27px; }
.badge-48 { position: absolute; z-index: 1; top: 253px; right: max(var(--gutter), calc((100% - var(--container)) / 2 - 32px)); width: 164px; height: 165px; border-radius: 84px; background: var(--blue); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; white-space: nowrap; }
.badge-48-top { font-size: 16px; line-height: 20px; font-weight: 700; }
.badge-48-num { font-family: var(--ff-ui); font-weight: 600; font-size: 56px; line-height: 60px; letter-spacing: -.84px; }
.hero-trust { position: absolute; z-index: 1; bottom: 18px; right: max(6px, calc((100% - 1440px) / 2 + 6px)); color: var(--white); white-space: nowrap; }

/* ==========================================================================
   03 · STOCK 48 H
   ========================================================================== */
.stock-sec { padding: 100px 0; }
.stock-row { display: flex; align-items: center; gap: 80px; }
.stock-txt { flex: 1 1 0; min-width: 0; }
.stock-txt .t-lead { margin-top: 24px; }
.stock-media { position: relative; flex: 0 0 600px; aspect-ratio: 600 / 420; overflow: hidden; background: var(--ink); }
.stock-media img { width: 100%; height: 100%; object-fit: cover; }
.stock-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 47.62%; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .55)); }
.stock-claim { position: absolute; z-index: 1; left: 32px; right: 24px; bottom: 32px; color: var(--white); }

/* ==========================================================================
   04 · HV C AIR-COOLED (#hvc)
   ========================================================================== */
.hvc-intro { display: flex; background: var(--grey-cosgra); min-height: 611px; }
.hvc-txt { flex: 0 0 auto; width: calc(var(--side) + 581px); padding: 96px 90px 63px var(--side); display: flex; flex-direction: column; }
.hvc-txt .t-h2 { margin-top: 20px; }
.hvc-sub { margin-top: 24px; max-width: 456px; }
.hvc-body { margin-top: 24px; color: var(--grey-700); }
.hvc-media { position: relative; flex: 1 1 auto; margin-left: 21px; background: #000000; overflow: hidden; }
.hvc-media img { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; }

/* aspectes destacats (banda llima) */
.highlights { background: var(--lime); padding: 100px 0 74px; }
.highlights-grid { display: grid; grid-template-columns: 412px 414px minmax(0, 335px); }
.highlights-title { grid-row: 1 / span 3; }
.highlights-list { display: contents; }
.hl-item { position: relative; padding-left: 21px; max-width: 307px; }
.hl-item::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 4px; background: var(--ink); }
.hl-item:nth-child(odd) { grid-column: 2; }
.hl-item:nth-child(even) { grid-column: 3; max-width: 335px; }
.hl-item:nth-child(1), .hl-item:nth-child(2) { grid-row: 1; }
.hl-item:nth-child(3), .hl-item:nth-child(4) { grid-row: 2; margin-top: 20px; }
.hl-item:nth-child(5) { grid-row: 3; margin-top: 26px; }

/* especificacions tècniques */
.specs { background: var(--grey-cosgra); padding: 100px 0 96px; }
.specs-grid { display: flex; align-items: flex-start; padding-bottom: 16px; }
.specs-side { flex: 0 0 225px; padding-bottom: 48px; }
.specs-label { display: block; width: fit-content; margin-top: 36px; font-size: 16px; line-height: 20px; font-weight: 700; }
.specs-label + .dash-list { margin-top: 8px; }
.dash-list li::before { content: "— "; }
.specs-tables { flex: 1 1 auto; display: flex; gap: 26px; margin-left: 146px; padding-top: 112px; min-width: 0; }
.spec-table { flex: 0 1 406px; min-width: 0; background: var(--white); text-align: left; }
.spec-table caption { background: var(--ink); color: var(--white); padding: 20px 20px 20px 25px; font-size: 16px; line-height: 20px; font-weight: 700; text-align: left; }
.spec-table td:not([colspan]) { white-space: nowrap; }
.spec-table th, .spec-table td { font-weight: 400; vertical-align: top; text-align: left; padding: 16px 0 16px 24px; }
.spec-table tr > :first-child { padding-left: 25px; }
.spec-table tr > :last-child { padding-right: 7px; }
.spec-table td[colspan] { padding-right: 25px; }
.spec-note td { color: var(--grey-400); }
.spec-note--strong td { padding-top: 0; color: var(--ink); font-weight: 700; line-height: 20px; }
.spec-size { background: var(--row-grey); }
.spec-size th { color: var(--ink); }
.spec-muted th, .spec-muted td { color: var(--grey-400); }
.spec-table .spec-col-a { width: 187px; }
.specs-ctas { display: flex; justify-content: flex-end; }

/* aplicacions (banda llima amb imatge) */
.apps { display: flex; background: var(--lime); min-height: 315px; }
.apps-media { flex: 0 0 50%; position: relative; overflow: hidden; }
.apps-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.apps-txt { flex: 1 1 auto; padding: 49px var(--gutter) 56px 57px; }
.apps-txt .t-h3 { margin-top: 24px; max-width: 547px; color: var(--grey-700); }

/* ==========================================================================
   06 · GAMA INNOMOTICS (#gama)
   ========================================================================== */
.gama-sec { padding: 100px 0; }
.gama-head .t-h3 { margin-top: 12px; max-width: 668px; }
.range-grid { display: grid; margin-top: 70px; }
.range-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.range-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.range-card { display: flex; flex-direction: column; background: var(--ink); }
.range-img { background: var(--grey-cosgra); }
.range-img img { width: 100%; aspect-ratio: 592 / 321; object-fit: cover; }
.range-grid--5 .range-img img { aspect-ratio: 233.6 / 240; }
.range-body { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 24px 28px; color: var(--grey-100); }
.range-tag { font-family: var(--ff-ui); font-size: 12px; line-height: 20px; color: var(--white); padding: 0 4px; border: .5px solid var(--grey-200); opacity: .6; }
.range-name { color: var(--lime); }
.range-sub { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.range-grid--5 .range-sub { width: 100%; }
.gama-close { margin-top: 70px; padding-top: 32px; border-top: 1px solid var(--grey-200); }

/* ==========================================================================
   PARTNER (banda blava)
   ========================================================================== */
.partner-sec { background: var(--blue); color: var(--white); padding: 100px 0; }
.partner-row { display: flex; align-items: center; gap: 80px; }
.partner-seal { flex: 0 0 400px; height: 400px; display: flex; align-items: center; justify-content: center; }
.sello { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.sello > img { width: 188.43px; }
.sello-box { display: flex; flex-direction: column; align-items: center; background: var(--lime); border: 1.5px solid var(--lime); }
.sello-inno { display: block; background: var(--ink); padding: 18px 28px; }
.sello-inno img { width: 166.77px; }
.sello-label { display: block; padding: 10px 0; font-family: var(--ff-ui); font-weight: 700; font-size: 20px; line-height: 26px; color: var(--ink); white-space: nowrap; }
.partner-txt { flex: 1 1 0; min-width: 0; }
.partner-txt .t-lead { margin-top: 24px; }
.partner-txt .t-lead + p { margin-top: 24px; color: var(--grey-100); }

/* ==========================================================================
   05 · SERVEI COSGRA
   ========================================================================== */
.service-sec { padding: 100px 0; }
.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; }
.profile { border-left: 2px solid var(--blue); padding: 0 0 10px 24px; }
.profile .t-h3 { max-width: 347px; }
.profile p { margin-top: 16px; color: var(--grey-700); }
.profile:nth-child(1) p { max-width: 291px; }
.profile:nth-child(2) p { max-width: 294px; }
.profile:nth-child(3) p { max-width: 328px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--grey-cosgra); }
.stat-num { font-size: 44px; line-height: 48px; font-weight: 700; letter-spacing: -.44px; color: var(--blue); white-space: nowrap; }
.stat-label { margin-top: 8px; color: var(--grey-700); }

/* ==========================================================================
   07 · CONTACTE I FORMULARI (#contacto)
   ========================================================================== */
.contact-sec { background: var(--grey-cosgra); padding: 100px 0; }
.contact-grid { display: flex; align-items: flex-start; gap: 80px; }
.contact-txt { flex: 0 0 480px; }
.contact-txt .t-h2 { margin-top: 24px; }
.contact-txt .t-lead { margin-top: 24px; }
.contact-direct { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contact-direct a { padding: 0; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-form-wrap { flex: 1 1 0; min-width: 0; padding: 48px; }

.lead-form { display: flex; flex-direction: column; gap: 28px; }
/* selector de tipus de sol·licitud: dos botons d'opció amb aspecte de pestanyes */
.lead-switch { display: flex; border: 1.5px solid var(--ink); }
.lead-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.lead-switch label { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 14px 8px; text-align: center; font-family: var(--ff-ui); font-weight: 600; font-size: 16px; line-height: 20px; color: var(--ink); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.lead-switch input:checked + label { background: var(--ink); color: var(--white); }
.lead-switch input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 3px; position: relative; z-index: 1; }
@media (hover: hover) { .lead-switch input:not(:checked) + label:hover { background: rgba(11, 11, 11, .08); } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; grid-column: 1 / -1; min-width: 0; }
.field--half { grid-column: auto; }
.field > label, .field-label { font-size: 16px; line-height: 20px; font-weight: 700; }
.field input, .field textarea { display: block; width: 100%; border: 1px solid var(--grey-400); border-radius: 0; background: transparent; padding: 14px 16px; font-size: 16px; line-height: 24px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.field textarea { height: 120px; resize: vertical; }
.field ::placeholder { color: var(--grey-400); opacity: 1; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field [aria-invalid="true"], .field .nice-select[aria-invalid="true"] { border: 1.5px solid var(--error); padding: 13.5px 15.5px; }
.field-error { font-size: 14px; line-height: 20px; color: var(--error); }

/* nice-select amb l'aspecte dels camps */
.field .nice-select { float: none; height: auto; min-height: 54px; border: 1px solid var(--grey-400); border-radius: 0; background: transparent; padding: 14px 44px 14px 16px; font-size: 16px; line-height: 24px; color: var(--ink); white-space: nowrap; }
.field .nice-select:not(.has-value) .current { color: var(--grey-400); }
.field .nice-select .current { display: block; overflow: hidden; text-overflow: ellipsis; }
.field .nice-select:after { border: 0; width: 16px; height: 16px; right: 16px; top: 50%; margin-top: -8px; transform: none; background: url(../images/ico-chevron-down.svg) no-repeat center / 16px 16px; transition: transform .2s ease; }
.field .nice-select.open:after { transform: rotate(180deg); }
.field .nice-select:focus, .field .nice-select.open { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field .nice-select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.field .nice-select[aria-invalid="true"] { padding-right: 43.5px; }
.field .nice-select.open .list { overflow-y: auto; }
.field .nice-select .list { left: -1px; right: -1px; margin-top: 0; max-height: 300px; overflow-y: hidden; border-radius: 0; border: 1px solid var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.field .nice-select .option { width: auto; text-align: left; border-bottom: 0; background: var(--white); color: var(--ink); font-size: 16px; line-height: 24px; min-height: 0; padding: 10px 16px; white-space: normal; }
.field .nice-select .option.focus, .field .nice-select .option:hover { background: var(--grey-cosgra); }
.field .nice-select .option.selected { font-weight: 700; }
.field .nice-select .option.disabled { display: none; }

/* consentiments */
.consents { display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 20px; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--grey-400); background: var(--white); -webkit-appearance: none; appearance: none; cursor: pointer; display: grid; place-content: center; }
.check input::before { content: ""; width: 11px; height: 6px; border: solid var(--white); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::before { opacity: 1; }
.check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--error); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { color: var(--blue); }
.consents .field-error { margin-left: 32px; }
.form-send { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.form-req { font-size: 14px; line-height: 20px; color: var(--grey-700); }
.form-status { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--error); }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--ink); }

/* estats d'èxit (per al backend: README, I-6) */
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.form-success .ico { width: 48px; height: 48px; }
.form-success p { color: var(--grey-700); }
.link-arrow { font-weight: 700; color: var(--blue); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   PÀGINES LEGALS
   ========================================================================== */
.legal-sec { padding: 100px 0; }
.legal-sec .row { max-width: min(880px, calc(100% - 2 * var(--gutter))); }
.legal-sec h1 { font-size: 56px; line-height: 60px; letter-spacing: -.84px; }
.legal-body { margin-top: 48px; color: var(--grey-700); }
.legal-body > * + * { margin-top: 16px; }
.legal-body h2 { margin-top: 48px; font-size: 28px; line-height: 34px; letter-spacing: -.14px; color: var(--ink); }
.legal-body h3 { margin-top: 32px; font-size: 20px; line-height: 26px; font-weight: 500; color: var(--ink); }
.legal-body ul, .legal-body ol { padding-left: 1.4em; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li + li { margin-top: 8px; }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--ink); }
.legal-body strong { color: var(--ink); }
.legal-body table { width: 100%; font-size: 14px; line-height: 20px; }
.legal-body th, .legal-body td { border: 1px solid var(--grey-200); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-body th { background: var(--grey-cosgra); color: var(--ink); font-weight: 700; }
.legal-pending { padding: 24px; background: var(--grey-cosgra); border-left: 2px solid var(--blue); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--blue); color: var(--white); padding: 80px 0 40px; }
.foot-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px; }
.foot-brand img { width: 205.56px; }
.foot-claim { margin-top: 16px; }
.foot-title { font-size: 16px; line-height: 20px; font-weight: 700; }
.foot-title + * { margin-top: 6px; }
.foot-col * + .foot-title { margin-top: 6px; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--grey-cosgra); font-size: 14px; line-height: 20px; }
.foot-copy, .foot-legal { color: var(--grey-cosgra); }
.foot-legal ul, .foot-langs ul { display: flex; flex-wrap: wrap; }
.foot-legal li + li::before { content: "·"; padding: 0 12px; }
.foot-legal a { display: inline-block; padding: 2px 0; }
.foot-langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; }
.foot-legal a:hover, .foot-langs a:hover, .foot-legal a[aria-current] { text-decoration: underline; text-underline-offset: 3px; }
.foot-langs abbr { text-decoration: none; }
.foot-langs ul { gap: 4px 6px; }

/* ---------- moviment reduït ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
