html { scroll-behavior: smooth; scroll-padding-top: var(--header-height, 118px); }
.edit-tool-button, .header-edit-button-container, .sqs-frontend-overlay-editor-widget, .sqs-frontend-overlay-editor-widget-label { display: none !important; }
.contact-status { font-size: 1rem; }
.header-announcement-bar-wrapper > div:not([class]) { position: static; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.header--menu-open .header-menu { opacity: 1; visibility: visible; pointer-events: auto; }
/* Content-based sections keep the form and photographs inside their own layout. */
.pm-section { display: block; position: relative; height: auto; min-height: 0; padding: clamp(48px, 6vw, 88px) 0; color: #353029; background: #fff; }
.pm-section *, .pm-section *::before, .pm-section *::after { box-sizing: border-box; }
.pm-wrap { width: min(1200px, 88%); margin: 0 auto; }
.pm-section h2 { font-size: clamp(36px, 4.3vw, 64px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 28px; font-weight: 400; }
.pm-section h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 14px; font-weight: 400; }
.pm-section p { font-size: 18px; line-height: 1.55; margin: 0 0 20px; text-align: left; }
.pm-samples, .pm-outro { background: #ece4d8; }
.pm-sample-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pm-sample-image { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.pm-sample-callout { margin-top: 28px; }
.pm-section .pm-button { display: inline-flex; justify-content: center; align-items: center; width: auto; max-width: 100%; min-height: 48px; padding: 14px 24px; border: 1px solid #353029; border-radius: 5px; background: #353029; color: #fff; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: .035em; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; }
.pm-button:hover { opacity: .85; }
.pm-button:focus-visible, .pm-form input:focus-visible, .pm-form textarea:focus-visible { outline: 2px solid #856749; outline-offset: 4px; }
.pm-button:disabled { opacity: .6; cursor: wait; }
.pm-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; }
.pm-project-grid img { display: block; width: 100%; height: clamp(230px, 24vw, 340px); object-fit: contain; }
.pm-contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 8vw, 110px); }
.pm-contact a { color: inherit; }
.pm-form { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.pm-form label { font-size: 16px; line-height: 1.4; }
.pm-form label span { font-size: 13px; }
.pm-form input, .pm-form textarea { display: block; width: 100%; padding: 13px 16px; border: 1px solid #b6b0a7; border-radius: 4px; background: #fff; color: #353029; font: inherit; font-size: 16px; line-height: 1.5; margin: 0 0 12px; }
.pm-form textarea { min-height: 150px; resize: vertical; }
.pm-form .pm-button { align-self: flex-start; }
.pm-form .contact-status { margin: 8px 0 0; font-size: 15px; }
.pm-outro { padding: 56px 0; }
.pm-outro h2 { margin: 0; }
@media (max-width: 767px) {
 .pm-wrap { width: 88%; }
 .pm-sample-grid, .pm-contact-grid { grid-template-columns: 1fr; gap: 32px; }
 .pm-section p { font-size: 16px; }
 .pm-sample-image { max-height: 360px; }
 .pm-project-grid { grid-template-columns: 1fr; gap: 28px; }
 .pm-project-grid img { height: auto; max-height: 330px; object-fit: contain; }
 .pm-section .pm-button { font-size: 13px; padding: 13px 18px; }
}
html { scroll-padding-top: var(--header-height, 118px) !important; }

/* Follow the original Serveis typography at every viewport size. */
.pm-section .pm-section-title {
 font-family: var(--heading-font-font-family); font-weight: var(--heading-font-font-weight);
 font-style: var(--heading-font-font-style); letter-spacing: var(--heading-font-letter-spacing);
 line-height: var(--heading-font-line-height); text-transform: var(--heading-font-text-transform);
 margin: 0 0 28px;
}
@media screen and (min-width: 768px), screen and (orientation: landscape) {
 .pm-section .pm-section-title { font-size: min(calc((var(--heading-3-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--heading-3-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--heading-3-size-value) * 1rem))); }
}
@media screen and (max-width: 767px) and (orientation: portrait) {
 .pm-section .pm-section-title { font-size: calc((var(--heading-3-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem); }
}
.pm-outro h2 { text-align: center; }
@media (min-width: 768px) {
 #com-treballem .fe-block-c9c067aaa962fad65c69 { grid-column: 2 / -2 !important; }
 #com-treballem h3 { white-space: nowrap !important; }
}

.pm-footer { display: block; background: #ece4d8; color: #353029; padding: 24px 0 36px; text-align: center; }
.pm-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 28px; }
.pm-footer p, .pm-footer nav, .pm-footer a { font-size: 16px; line-height: 1.6; }
.pm-footer p { margin: 0 0 16px; }
.pm-footer a { color: inherit; }
.pm-footer .pm-copyright { margin: 20px 0 0; }
@media (max-width: 767px) { .pm-footer-grid { grid-template-columns: 1fr; gap: 12px; } .pm-footer nav { font-size: 14px; } }
