/* ---------- Stucwerk Rijnmond blocks: shared (replica of the Elementor design) ---------- */
:root {
	--sr-blue: #2F5D8C;
	--sr-blue-hover: #254A6F;
	--sr-black: #000;
	--sr-grey: #A4ACAF;
	--sr-dark: #444;
	--sr-bg: #EBEBEB;
	--sr-bg-2: #DFDFDF;
	--sr-tint-solid: #EAEFF4; /* #2F5D8C at 10% on white */
	/* Type scale (2026-10): one set of sizes for every block. */
	--sr-h1: clamp(34px, 3.4vw, 50px);
	--sr-h2: clamp(26px, 2.5vw, 36px);
	--sr-h3: clamp(21px, 1.9vw, 26px);
	--sr-heading: #1A1D21;
	--sr-body: #33383D;
}

section[class^="sr-"] { position: relative; color: var(--sr-body); font-family: "Roboto", sans-serif; font-size: 17px; line-height: 1.7; }
section[class^="sr-"] *,
section[class^="sr-"] *::before,
section[class^="sr-"] *::after { box-sizing: border-box; }
section[class^="sr-"] :is(h1, h2, h3) { margin: 0; color: var(--sr-heading); font-family: "Montserrat", sans-serif; font-weight: 600; line-height: 1.25; letter-spacing: -.3px; text-transform: none; }
section[class^="sr-"] p { margin: 0 0 .9em; }
section[class^="sr-"] img { max-width: 100%; height: auto; border-radius: 0; }
@media (max-width: 1024px) { section[class^="sr-"] { font-size: 16px; } }
@media (max-width: 767px) { section[class^="sr-"] { font-size: 16px; line-height: 1.65; } }

/* Boxed content: 1200px wide with 20px (mobile 15px) at the sides. Above the shape dividers. */
.sr-container { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 767px) { .sr-container { padding: 0 15px; } }

/* Section padding from the block fields (--sr-pt/--sr-pb); tablet and mobile get less space at the top. */
.sr-split,
.sr-intro,
.sr-list,
.sr-projects { padding: var(--sr-pt, 100px) 0 var(--sr-pb, 100px); }
@media (max-width: 1024px) {
	.sr-split,
	.sr-intro,
	.sr-list,
	.sr-projects { padding: min(var(--sr-pt, 100px), 80px) 0 max(min(var(--sr-pb, 100px), 100px), 60px); }
}
@media (max-width: 767px) {
	.sr-split,
	.sr-intro,
	.sr-list,
	.sr-projects { padding: min(var(--sr-pt, 100px), 40px) 0 max(min(var(--sr-pb, 100px), 80px), 40px); }
}

/* Backgrounds (Elementor global colours) */
.sr-bg--transparent { background-color: transparent; }
.sr-bg--white { background-color: #fff; }
.sr-bg--grey { background-color: var(--sr-bg); }
.sr-bg--grey2 { background-color: var(--sr-bg-2); }
.sr-bg--tint { background-color: var(--sr-tint-solid); }
.sr-bg--primary { background-color: var(--sr-grey); }
.sr-bg--dark { background-color: var(--sr-dark); }

/* Site-wide motif (2026-10): the fine blue dot grid of the CTA card and split photos, as two soft patches on every
   light section – top right and bottom left. Blocks that set their own background image override it. */
:where(.sr-bg--transparent, .sr-bg--white, .sr-bg--grey, .sr-bg--grey2, .sr-bg--tint):where(:not(.sr-cta, .sr-page-hero, .sr-home-hero)) {
	background-image: url("../../images/sr-dots.svg"), url("../../images/sr-dots.svg");
	background-position: right -60px top 70px, left -60px bottom 50px;
	background-repeat: no-repeat;
	background-size: 320px 220px;
}
@media (max-width: 767px) {
	:where(.sr-bg--transparent, .sr-bg--white, .sr-bg--grey, .sr-bg--grey2, .sr-bg--tint):where(:not(.sr-cta, .sr-page-hero, .sr-home-hero)) { background-position: right -120px top 30px, left -120px bottom 20px; background-size: 240px 165px; }
}

/* Kicker: small blue uppercase heading above a title */
/* Eyebrow (2026-10): small label with a short line in front; centred blocks get a line on both sides. */
section[class^="sr-"] .sr-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 0; color: var(--sr-blue); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
section[class^="sr-"] .sr-kicker::before { flex: 0 0 auto; width: 28px; height: 2px; content: ""; background: currentColor; border-radius: 2px; }
:is(.sr-intro--center .sr-intro__inner, .sr-services__intro, .sr-list__heading, .sr-page-hero--center .sr-page-hero__inner) .sr-kicker::after { flex: 0 0 auto; width: 28px; height: 2px; content: ""; background: currentColor; border-radius: 2px; }
section[class^="sr-"] .sr-title { padding: 0 0 18px; font-size: var(--sr-h2); }
section[class^="sr-"] h3.sr-title { font-size: var(--sr-h3); }
.sr-text { color: var(--sr-body); }
.sr-text > :last-child { margin-bottom: 0; }
section[class^="sr-"] .sr-text a { color: var(--sr-blue); text-decoration: underline; text-underline-offset: 2px; }
section[class^="sr-"] .sr-text :is(ul, ol) { margin: 0 0 .9em; padding-left: 40px; }
section[class^="sr-"] .sr-text li { margin: 0 0 .2em; }
section[class^="sr-"] .sr-text strong { font-weight: 700; }
@media (max-width: 767px) {
	section[class^="sr-"] .sr-kicker { font-size: 12px; letter-spacing: .14em; }
}

/* Fluent Forms (contact, quote and rental forms) in the Elementor style */
section[class^="sr-"] .ff-el-input--label label { color: #333; font-family: "Roboto", sans-serif; font-size: 16px; font-weight: 500; line-height: 1.6; }
section[class^="sr-"] .ff-el-form-control { min-height: 45px; background-color: #fff; border-color: #DADBDD; border-radius: 7px; font-size: 16px; }
section[class^="sr-"] .ff-el-form-control:focus { background-color: #fff; border: 1px solid var(--sr-blue); box-shadow: 0 0 10px rgba(47, 93, 140, .5); }
section[class^="sr-"] .ff-el-section-title { color: #333; font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
section[class^="sr-"] .ff-el-progress-status { color: #333; font-size: 14.4px; }
section[class^="sr-"] .fluentform .ff-btn-submit,
section[class^="sr-"] .fluentform .ff-btn-next,
section[class^="sr-"] .fluentform .ff-btn-prev,
section[class^="sr-"] .fluentform .ff-btn-submit:not(.ff_btn_no_style) { padding: 16px 32px; color: #fff; background-color: var(--sr-blue); border: 0; border-radius: 10px; box-shadow: 0 5px 10px rgba(0, 0, 0, .15); font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: 1.2px; text-transform: uppercase; opacity: 1; transition: background-color .3s; }
section[class^="sr-"] .fluentform .ff-btn-submit:hover,
section[class^="sr-"] .fluentform .ff-btn-next:hover,
section[class^="sr-"] .fluentform .ff-btn-prev:hover,
section[class^="sr-"] .fluentform .ff-btn-submit:not(.ff_btn_no_style):hover { color: #fff; background-color: var(--sr-blue-hover); opacity: 1; }
section[class^="sr-"] .fluentform a { color: var(--sr-blue); }
@media (max-width: 1024px) { section[class^="sr-"] .ff-el-input--label label { font-size: 15px; } }
@media (max-width: 767px) { section[class^="sr-"] .ff-el-input--label label { font-size: 14px; } }

/* Icons (Font Awesome paths) */
.sr-icon { display: inline-block; flex: none; width: 1em; height: 1em; fill: currentColor; }

/* Button: blue, rounded corners, shadow, arrow after the text */
.sr-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; color: #fff; background: var(--sr-blue); border-radius: 10px; box-shadow: 0 10px 24px -12px rgba(31, 66, 102, .7); font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: background-color .3s, box-shadow .3s; }
section[class^="sr-"] a.sr-button,
section[class^="sr-"] a.sr-button:hover { color: #fff; text-decoration: none; }
.sr-button:hover,
.sr-button:focus-visible { background: var(--sr-blue-hover); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.sr-button .sr-icon { width: 14px; height: 14px; }
@media (max-width: 767px) {
	.sr-button { font-size: 13px; }
	.sr-button .sr-icon { width: 13px; height: 13px; }
}

/* Elementor shape dividers (same SVGs, widths and heights as Elementor) */
.sr-shape { position: absolute; z-index: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; direction: ltr; pointer-events: none; }
.sr-shape--top { top: -1px; }
.sr-shape--bottom { bottom: -1px; }
.sr-shape--bottom:not([data-negative]),
.sr-shape--top[data-negative] { transform: rotate(180deg); }
.sr-shape svg { position: relative; left: 50%; display: block; width: calc(var(--sr-shape-w, 100%) + 1.3px); height: var(--sr-shape-h, 60px); transform: translateX(-50%); }
.sr-shape--flip svg { transform: translateX(-50%) rotateY(180deg); }
.sr-shape__fill { fill: #fff; transform-origin: center; }
.sr-shape--fill-grey .sr-shape__fill { fill: var(--sr-bg); }
.sr-shape--fill-grey2 .sr-shape__fill { fill: var(--sr-bg-2); }
.sr-shape--fill-tint .sr-shape__fill { fill: var(--sr-tint-solid); }
@media (max-width: 767px) {
	.sr-shape--waves svg { height: min(var(--sr-shape-h, 60px), 40px); }
}

/*
 * Entrance animations: the Elementor animation types, with short movements and a soft ease-out
 * (the Elementor keyframes slid elements in from a full element width away, which made the page scroll sideways).
 */
.sr-js [data-sr-animate]:not(.sr-animated) { visibility: hidden; }
.sr-animated { animation-duration: .8s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); animation-fill-mode: both; }
.sr-animated[data-sr-slow] { animation-duration: 1s; }
.sr-fadeInLeft { animation-name: srFadeInLeft; }
.sr-fadeInRight { animation-name: srFadeInRight; }
.sr-fadeInUp { animation-name: srFadeInUp; }
.sr-fadeIn { animation-name: srFadeIn; }
.sr-zoomIn { animation-name: srZoomIn; }
@keyframes srFadeInLeft { from { opacity: 0; transform: translate3d(-40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes srFadeInRight { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes srFadeInUp { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes srFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes srZoomIn { from { opacity: 0; transform: translate3d(0, 16px, 0) scale3d(.96, .96, 1); } to { opacity: 1; transform: none; } }

/* On phones everything comes in from below: no sideways movement on a narrow screen. */
@media (max-width: 767px) {
	.sr-fadeInLeft,
	.sr-fadeInRight { animation-name: srFadeInUp; }
}

/* Safety net: nothing inside the content may make the page scroll sideways. */
main { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
	.sr-js [data-sr-animate]:not(.sr-animated) { visibility: visible; }
	.sr-animated { animation: none !important; }
	section[class^="sr-"] *,
	section[class^="sr-"] *::before,
	section[class^="sr-"] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Lists in text (2026-10): small blue rounded markers instead of the default bullets. */
section[class^="sr-"] .sr-text ul { padding-left: 0; list-style: none; }
section[class^="sr-"] .sr-text ul > li { position: relative; padding-left: 24px; }
section[class^="sr-"] .sr-text ul > li::before { position: absolute; top: .62em; left: 2px; width: 9px; height: 9px; content: ""; background: var(--sr-blue); border-radius: 3px; box-shadow: 0 0 0 3px rgba(47, 93, 140, .14); }

/* Eyebrows on phones: a little tighter, and no line after the text (so a centred eyebrow never wraps untidily). */
@media (max-width: 767px) {
	section[class^="sr-"] .sr-kicker { gap: 10px; margin-bottom: 10px; font-size: 12px; letter-spacing: .12em; }
	section[class^="sr-"] .sr-kicker::before { width: 20px; }
	section[class^="sr-"] .sr-kicker::after { display: none !important; }
}

/*
 * Light animations (2026-10):
 * – the hero content comes in piece by piece on page load (kicker, title, text, buttons);
 * – button arrows nudge on hover;
 * – photos in the text/list blocks zoom in gently on hover.
 * The reduced-motion block above switches all of this off.
 */
/* Transform only: the hero text is visible from the first paint (a fade from 0 delayed the LCP by seconds on mobile). */
@keyframes srHeroIn { from { transform: translate3d(0, 14px, 0); } to { transform: none; } }
@keyframes srHeroPhotoIn { from { opacity: 0; transform: translate3d(36px, 0, 0); } to { opacity: 1; transform: none; } }
.sr-home-hero__content > *,
.sr-page-hero__inner > * { animation: srHeroIn .8s cubic-bezier(.22, .61, .36, 1) both; }
.sr-home-hero__content > :nth-child(2),
.sr-page-hero__inner > :nth-child(2) { animation-delay: .08s; }
.sr-home-hero__content > :nth-child(3),
.sr-page-hero__inner > :nth-child(3) { animation-delay: .16s; }
.sr-home-hero__content > :nth-child(4),
.sr-page-hero__inner > :nth-child(4) { animation-delay: .24s; }
.sr-home-hero__content > :nth-child(5),
.sr-page-hero__inner > :nth-child(5) { animation-delay: .32s; }
section.sr-home-hero .sr-home-hero__image { animation: srHeroPhotoIn 1s cubic-bezier(.22, .61, .36, 1) .25s both; }
.sr-page-hero__media { animation: srHeroPhotoIn 1s cubic-bezier(.22, .61, .36, 1) .2s both; }

.sr-button .sr-icon { transition: transform .3s ease; }
.sr-button:hover .sr-icon,
.sr-button:focus-visible .sr-icon { transform: translateX(3px); }

.sr-split__media,
.sr-list__media { border-radius: 16px; }
.sr-list__media { overflow: hidden; }
section.sr-list .sr-list__image,
section.sr-split .sr-split__image { transition: transform .7s cubic-bezier(.22, .61, .36, 1), box-shadow .5s ease; }
.sr-list__row:hover .sr-list__image:not(.sr-list__image--contain) { transform: scale(1.04); }
.sr-split__media:hover .sr-split__image { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
	.sr-home-hero__content > *,
	.sr-page-hero__inner > *,
	section.sr-home-hero .sr-home-hero__image,
	.sr-page-hero__media { animation: none !important; }
}

/* ---------- Phones: one calm rhythm for all blocks (2026-10-01) ----------
 * - 20px side margin instead of 15px;
 * - equal space above and below a block (max 52px), plus room for a shape divider when the block has one;
 * - shape dividers lower, so they don't eat the space;
 * - headings and intro texts left-aligned (centred paragraphs read badly on a narrow screen). */
@media (max-width: 767px) {
	.sr-container { padding: 0 20px; }
	body :is(.sr-split, .sr-intro, .sr-list, .sr-projects, .sr-faq, .sr-features, .sr-machines, .sr-prices, .sr-calculator, .sr-finder, .sr-showcase) { padding-top: min(var(--sr-pt, 100px), 52px); padding-bottom: min(var(--sr-pb, 100px), 52px); }
	body :is(.sr-split, .sr-intro, .sr-list, .sr-projects, .sr-faq, .sr-features, .sr-machines, .sr-prices, .sr-calculator, .sr-finder, .sr-showcase):has(> .sr-shape--top) { padding-top: calc(min(var(--sr-pt, 100px), 52px) + 26px); }
	body :is(.sr-split, .sr-intro, .sr-list, .sr-projects, .sr-faq, .sr-features, .sr-machines, .sr-prices, .sr-calculator, .sr-finder, .sr-showcase):has(> .sr-shape--bottom) { padding-bottom: calc(min(var(--sr-pb, 100px), 52px) + 26px); }
	body .sr-shape svg { height: min(var(--sr-shape-h, 60px), 34px); }
	body :is(.sr-intro--center .sr-intro__inner, .sr-services__intro, .sr-list__heading, .sr-features__heading, .sr-prices__heading, .sr-machines__heading, .sr-machines__after, .sr-faq__heading, .sr-features__action, .sr-finder__heading) { align-items: flex-start; text-align: left; }
	body :is(.sr-services__intro, .sr-list__heading, .sr-features__heading, .sr-prices__heading, .sr-machines__heading, .sr-faq__heading, .sr-finder__heading) { margin-left: 0; margin-right: 0; }
}
