Контакт
·
/* === WP block spacing reset — remove gap between header/footer and page content === */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.wp-block-group > .wp-block-post-content { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.wp-block-post-content > .wp-block-html { margin-top: 0 !important; margin-bottom: 0 !important; }
body .entry-content, body .wp-block-post-content { margin-top: 0 !important; margin-bottom: 0 !important; }
/* Override WP is-layout-flow gap on .s24-page (style tag before it triggers * + * rule) */
.is-layout-flow > .s24-page { margin-block-start: 0 !important; }
/* === Base === */
.s24-page { font-family: var(–wp–preset–font-family–dm-sans); color: var(–wp–preset–color–body-text); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin: 0 !important; padding: 0 !important; }
.s24-page *, .s24-page *::before, .s24-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.s24-page a { color: var(–wp–preset–color–primary); text-decoration: none; transition: color 0.2s; }
.s24-page a:hover { color: var(–wp–preset–color–primary-hover, var(–wp–preset–color–primary)); }
.s24-page ::selection { background: color-mix(in srgb, var(–wp–preset–color–primary) 20%, transparent); }
.s24-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
/* === Typography extras — Haiku often outputs these === */
.s24-page strong, .s24-page b { font-weight: 700; color: var(–wp–preset–color–heading); }
.s24-page em, .s24-page i { font-style: italic; }
.s24-page h3 { font-size: 22px; font-weight: 700; color: var(–wp–preset–color–heading); line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 12px; }
.s24-page h4 { font-size: 18px; font-weight: 700; color: var(–wp–preset–color–heading); line-height: 1.4; margin-bottom: 8px; }
.s24-page hr { border: none; height: 1px; background: var(–wp–preset–color–border, #e5e7eb); margin: 32px 0; }
.s24-page img { max-width: 100%; height: auto; border-radius: 12px; display: block; }
.s24-page blockquote { border-left: 3px solid var(–wp–preset–color–primary); padding: 16px 0 16px 20px; margin: 24px 0; font-style: italic; color: var(–wp–preset–color–secondary-text); }
.s24-page blockquote p { margin-bottom: 0; }
/* === Lists — Haiku generates ul/ol frequently === */
.s24-page ul, .s24-page ol { padding-left: 0; margin: 16px 0; list-style: none; }
.s24-page ul li, .s24-page ol li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 16px; line-height: 1.7; color: var(–wp–preset–color–body-text); }
.s24-page ul li::before { content: “”; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(–wp–preset–color–primary); opacity: 0.7; }
.s24-page ol { counter-reset: s24-ol; }
.s24-page ol li { counter-increment: s24-ol; }
.s24-page ol li::before { content: counter(s24-ol); position: absolute; left: 0; top: 0; font-weight: 700; font-size: 14px; color: var(–wp–preset–color–primary); width: 22px; text-align: center; }
.s24-card ul li, .s24-card ol li { font-size: 15px; margin-bottom: 6px; }
/* === Hero === */
.s24-hero { background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, color-mix(in srgb, var(–wp–preset–color–primary) 12%, transparent) 0%, transparent 50%), linear-gradient(135deg, var(–wp–preset–color–dark) 0%, color-mix(in srgb, var(–wp–preset–color–dark) 85%, var(–wp–preset–color–primary)) 100%); background-size: 200% 200%, 200% 200%, 100% 100%; animation: s24-heroBg 12s ease infinite; color: #fff; padding: 80px 0 90px; text-align: center; position: relative; overflow: hidden; }
.s24-hero::before { content: “”; position: absolute; inset: 0; background: url(“data:image/svg+xml,%3Csvg viewBox=’0 0 256 256′ xmlns=’http://www.w3.org/2000/svg’%3E%3Cfilter id=’n’%3E%3CfeTurbulence type=’fractalNoise’ baseFrequency=’0.9′ numOctaves=’4′ stitchTiles=’stitch’/%3E%3C/filter%3E%3Crect width=’100%25′ height=’100%25′ filter=’url(%23n)’/%3E%3C/svg%3E”); opacity: 0.035; pointer-events: none; }
.s24-hero::after { content: “”; position: absolute; bottom: -2px; left: 0; right: 0; height: 48px; background: var(–wp–preset–color–white, #fff); clip-path: ellipse(55% 100% at 50% 100%); }
.s24-hero .s24-container { position: relative; z-index: 1; }
.s24-hero h1 { font-size: clamp(36px, 5.5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.03em; background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.7)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: s24-heroIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; text-shadow: none; }
.s24-hero p { font-size: clamp(17px, 2vw, 20px); opacity: 0.85; max-width: 560px; margin: 0 auto 32px; line-height: 1.7; animation: s24-heroIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s both; }
.s24-hero .s24-btn { animation: s24-heroIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both; }
/* Dark section text safety — everything in hero/cta must be white */
.s24-hero, .s24-hero h1, .s24-hero h2, .s24-hero h3, .s24-hero h4, .s24-hero p, .s24-hero li, .s24-hero a:not(.s24-btn), .s24-hero strong { color: #fff; }
.s24-hero a:not(.s24-btn) { text-decoration: underline; text-underline-offset: 2px; }
@keyframes s24-heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes s24-heroBg { 0%, 100% { background-position: 30% 20%, 70% 80%, 0% 0%; } 50% { background-position: 70% 60%, 30% 30%, 0% 0%; } }
/* Split hero layout */
.s24-hero-split .s24-container { display: flex; align-items: center; gap: 48px; text-align: left; }
.s24-hero-split .s24-hero-content { flex: 1; }
.s24-hero-split .s24-hero-content p { margin-left: 0; margin-right: 0; }
.s24-hero-split .s24-hero-media { flex: 0 0 38%; }
.s24-hero-placeholder { aspect-ratio: 4/3; border-radius: 16px; background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.s24-hero-placeholder::after { content: “Add your photo here”; font-size: 13px; color: rgba(255,255,255,0.35); }
.s24-hero-media img { width: 100%; height: auto; display: block; border-radius: 16px; }
/* User-uploaded photos */
.s24-user-photo { width: 100%; height: auto; border-radius: 12px; display: block; }
.s24-hero .s24-user-photo { border-radius: 16px; }
.s24-card .s24-user-photo { border-radius: 8px; margin-bottom: 16px; }
/* === Buttons === */
.s24-page .s24-btn { display: inline-block; background: var(–wp–preset–color–primary); color: #fff; -webkit-text-fill-color: #fff; padding: 15px 36px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: 0.01em; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: 0 4px 14px rgba(0,0,0,0.12); position: relative; overflow: hidden; border: none; cursor: pointer; line-height: 1.4; }
.s24-btn::after { content: “”; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.s24-page .s24-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); color: #fff; -webkit-text-fill-color: #fff; filter: brightness(1.08); text-decoration: none; }
.s24-btn:hover::after { left: 100%; }
.s24-btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.s24-page .s24-btn:focus-visible { outline: 3px solid var(–wp–preset–color–primary); outline-offset: 3px; }
/* Button inside card — smaller, less dramatic */
.s24-card .s24-btn { padding: 10px 24px; font-size: 14px; margin-top: 16px; }
/* === Sections === */
.s24-section { padding: 90px 0; }
.s24-section-alt { padding: 90px 0; background: linear-gradient(180deg, white 0%, var(–wp–preset–color–section-bg) 4%, var(–wp–preset–color–section-bg) 96%, white 100%); }
.s24-section h2, .s24-section-alt h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(–wp–preset–color–heading); margin-bottom: 14px; letter-spacing: -0.025em; position: relative; display: inline-block; }
.s24-section > .s24-container > h2::after, .s24-section-alt > .s24-container > h2::after { content: “”; display: block; width: 48px; height: 3px; background: var(–wp–preset–color–primary); border-radius: 2px; margin-top: 12px; }
.s24-text-center > h2::after { margin-left: auto; margin-right: auto; }
.s24-section p, .s24-section-alt p { font-size: 17px; line-height: 1.75; margin-bottom: 20px; color: var(–wp–preset–color–secondary-text); }
/* Last p in a text block: no bottom margin */
.s24-section > .s24-container > p:last-child, .s24-section-alt > .s24-container > p:last-child { margin-bottom: 0; }
.s24-section > .s24-container > h2, .s24-section-alt > .s24-container > h2 { margin-bottom: 8px; }
.s24-section > .s24-container > p, .s24-section-alt > .s24-container > p { max-width: 620px; margin-bottom: 48px; }
/* When grid follows intro p, tighten the spacing */
.s24-section > .s24-container > p + .s24-grid, .s24-section-alt > .s24-container > p + .s24-grid { margin-top: 0; }
.s24-text-center > h2, .s24-text-center > p { margin-left: auto; margin-right: auto; text-align: center; }
.s24-text-center { text-align: center; }
/* Section intro p before grid: remove excessive gap when grid already has margin */
.s24-section > .s24-container > h2 + p + .s24-grid, .s24-section-alt > .s24-container > h2 + p + .s24-grid { margin-top: 8px; }
/* === Grid === */
.s24-grid { display: grid; gap: 28px; margin-top: 40px; }
.s24-grid-3 { grid-template-columns: repeat(3, 1fr); }
.s24-grid-2 { grid-template-columns: repeat(2, 1fr); }
/* Grid orphan handling — center last item if alone on its row */
.s24-grid-3 > :last-child:nth-child(3n+1) { grid-column: 2; }
.s24-grid-2 > :last-child:nth-child(2n+1) { grid-column: 1 / -1; max-width: calc(50% – 14px); justify-self: center; }
/* Exactly 2 items in a 3-col grid — center the pair */
.s24-grid-3 > :first-child:nth-last-child(2) { grid-column-start: 1; }
.s24-grid-3 > :first-child:nth-last-child(2) ~ * { grid-column-start: 2; }
.s24-grid-3:has(> :first-child:nth-last-child(2)) { justify-content: center; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
/* === Cards === */
.s24-card { display: flex; flex-direction: column; background: var(–wp–preset–color–white, #fff); border: 1px solid rgba(0,0,0,0.04); border-radius: 16px; padding: 36px 30px; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); position: relative; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.04), 0 12px 28px rgba(0,0,0,0.06); }
.s24-card::before { content: “”; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(–wp–preset–color–primary), color-mix(in srgb, var(–wp–preset–color–primary) 60%, #8b5cf6)); opacity: 0; transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.s24-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 8px 16px rgba(0,0,0,0.06), 0 20px 44px rgba(0,0,0,0.08); border-color: transparent; }
.s24-card:hover::before { opacity: 1; }
.s24-card h3 { font-size: 20px; font-weight: 700; color: var(–wp–preset–color–heading); margin-bottom: 10px; letter-spacing: -0.01em; }
.s24-card p { font-size: 15px; line-height: 1.7; color: var(–wp–preset–color–secondary-text); margin-bottom: 0; }
/* Multiple p in a card — spacing between them */
.s24-card p + p { margin-top: 10px; }
/* Push last element down if card is in flex grid */
.s24-card > :last-child { margin-top: auto; }
.s24-card > .s24-icon { margin-top: 0; }
.s24-card > .s24-icon + *, .s24-card > h3:first-child { margin-top: 0; }
/* Card link — entire card clickable feel */
.s24-card > a { color: var(–wp–preset–color–primary); font-weight: 600; font-size: 15px; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }
.s24-card > a::after { content: “→”; transition: transform 0.2s; }
.s24-card:hover > a::after { transform: translateX(3px); }
/* === Icon === */
.s24-icon { margin-bottom: 18px; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: color-mix(in srgb, var(–wp–preset–color–primary) 8%, transparent); border-radius: 50%; color: var(–wp–preset–color–primary); font-size: 28px; line-height: 1; flex-shrink: 0; }
.s24-icon svg { width: 26px; height: 26px; flex-shrink: 0; }
/* Centered icon in text-center sections */
.s24-text-center .s24-card .s24-icon { margin-left: auto; margin-right: auto; }
/* Number step indicators — AI sometimes puts “1”, “2”, “3” or circled numbers */
.s24-icon:empty { display: none; }
/* === CTA === */
.s24-cta { background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, color-mix(in srgb, var(–wp–preset–color–primary) 12%, transparent) 0%, transparent 50%), linear-gradient(135deg, var(–wp–preset–color–dark) 0%, color-mix(in srgb, var(–wp–preset–color–dark) 85%, var(–wp–preset–color–primary)) 100%); color: #fff; padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
.s24-cta .s24-container { position: relative; z-index: 1; }
.s24-cta::before { content: “”; position: absolute; top: -2px; left: 0; right: 0; height: 60px; background: var(–wp–preset–color–white, #fff); clip-path: ellipse(55% 100% at 50% 0%); }
.s24-cta h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.025em; }
/* CTA h2 should NOT have the blue underline */
.s24-cta h2::after { display: none !important; }
.s24-cta p { color: rgba(255,255,255,0.82); font-size: 18px; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.7; }
/* Dark section text safety — CTA */
.s24-cta, .s24-cta h2, .s24-cta h3, .s24-cta h4, .s24-cta li, .s24-cta a:not(.s24-btn), .s24-cta strong { color: #fff; }
.s24-cta a:not(.s24-btn) { text-decoration: underline; text-underline-offset: 2px; }
/* === Contact page helpers — Haiku uses inline styles for contact details === */
.s24-page .s24-section .s24-grid-2 > div:not(.s24-card) p { font-size: 16px; line-height: 1.8; }
.s24-page .s24-section .s24-grid-2 > div:not(.s24-card) p strong { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(–wp–preset–color–secondary-text); font-weight: 600; margin-bottom: 2px; }
/* === Scroll reveal === */
.s24-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.s24-visible { opacity: 1; transform: translateY(0); }
.s24-grid .s24-card:nth-child(2) { transition-delay: 0.1s; }
.s24-grid .s24-card:nth-child(3) { transition-delay: 0.2s; }
.s24-grid .s24-card:nth-child(4) { transition-delay: 0.15s; }
.s24-grid .s24-card:nth-child(5) { transition-delay: 0.1s; }
.s24-grid .s24-card:nth-child(6) { transition-delay: 0.2s; }
/* === Style: Klassiek — professional, straight lines === */
.s24-style-klassiek .s24-hero { background: var(–wp–preset–color–dark); }
.s24-style-klassiek .s24-hero::before { display: none; }
.s24-style-klassiek .s24-hero::after { display: none; }
.s24-style-klassiek .s24-hero h1 { background: none; -webkit-background-clip: unset; -webkit-text-fill-color: #fff; background-clip: unset; }
.s24-style-klassiek .s24-cta { background: var(–wp–preset–color–dark); }
.s24-style-klassiek .s24-cta::before { display: none; }
.s24-style-klassiek .s24-btn { border-radius: 4px; box-shadow: none; border: 2px solid transparent; }
.s24-style-klassiek .s24-btn::after { display: none; }
.s24-style-klassiek .s24-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); transform: translateY(-1px); }
.s24-style-klassiek .s24-card { border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04); }
.s24-style-klassiek .s24-card::before { display: none; }
.s24-style-klassiek .s24-card:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06); }
.s24-style-klassiek .s24-icon { border-radius: 6px; background: transparent; border: 1.5px solid color-mix(in srgb, var(–wp–preset–color–primary) 25%, transparent); }
.s24-style-klassiek .s24-section h2, .s24-style-klassiek .s24-section-alt h2 { letter-spacing: 0; }
.s24-style-klassiek .s24-section-alt { background: var(–wp–preset–color–section-bg); }
/* === Style: Warm — friendly, rounded, soft === */
.s24-style-warm .s24-hero::after { height: 80px; clip-path: ellipse(60% 100% at 50% 100%); }
.s24-style-warm .s24-cta::before { height: 80px; clip-path: ellipse(60% 100% at 50% 0%); }
.s24-style-warm .s24-card { border-radius: 24px; box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 20px rgba(0,0,0,0.05); border-color: transparent; }
.s24-style-warm .s24-card:hover { transform: translateY(-6px); box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.1); }
.s24-style-warm .s24-icon { border-radius: 50%; width: 64px; height: 64px; background: color-mix(in srgb, var(–wp–preset–color–primary) 10%, transparent); }
.s24-style-warm .s24-icon svg { width: 28px; height: 28px; }
.s24-style-warm .s24-section, .s24-style-warm .s24-section-alt, .s24-style-warm .s24-cta { padding: 100px 0; }
.s24-style-warm .s24-hero { padding: 110px 0 120px; }
.s24-style-warm .s24-section > .s24-container > h2::after, .s24-style-warm .s24-section-alt > .s24-container > h2::after { width: 56px; height: 4px; border-radius: 4px; }
/* === Style: Minimaal — clean, understated, quiet === */
.s24-style-minimaal .s24-hero { background: var(–wp–preset–color–dark); padding: 80px 0; }
.s24-style-minimaal .s24-hero::before { display: none; }
.s24-style-minimaal .s24-hero::after { display: none; }
.s24-style-minimaal .s24-hero h1 { font-weight: 600; letter-spacing: -0.03em; background: none; -webkit-background-clip: unset; -webkit-text-fill-color: #fff; background-clip: unset; }
.s24-style-minimaal .s24-cta { background: var(–wp–preset–color–dark); }
.s24-style-minimaal .s24-cta::before { display: none; }
.s24-style-minimaal .s24-btn { border-radius: 2px; background: transparent; color: var(–wp–preset–color–primary); -webkit-text-fill-color: var(–wp–preset–color–primary); border: 1.5px solid var(–wp–preset–color–primary); box-shadow: none; }
.s24-style-minimaal .s24-btn::after { display: none; }
.s24-style-minimaal .s24-btn:hover { background: var(–wp–preset–color–primary); color: #fff; -webkit-text-fill-color: #fff; transform: none; }
.s24-style-minimaal .s24-hero .s24-btn { color: #fff; -webkit-text-fill-color: #fff; border-color: #fff; }
.s24-style-minimaal .s24-hero .s24-btn:hover { background: #fff; color: var(–wp–preset–color–dark); -webkit-text-fill-color: var(–wp–preset–color–dark); }
.s24-style-minimaal .s24-cta .s24-btn { color: #fff; -webkit-text-fill-color: #fff; border-color: #fff; }
.s24-style-minimaal .s24-cta .s24-btn:hover { background: #fff; color: var(–wp–preset–color–dark); -webkit-text-fill-color: var(–wp–preset–color–dark); }
.s24-style-minimaal .s24-card { border-radius: 0; border: 1px solid var(–wp–preset–color–border, #eee); box-shadow: none; }
.s24-style-minimaal .s24-card::before { display: none; }
.s24-style-minimaal .s24-card:hover { transform: none; box-shadow: none; border-color: var(–wp–preset–color–primary); }
.s24-style-minimaal .s24-icon { background: none; box-shadow: none; width: 40px; height: 40px; border-radius: 0; }
.s24-style-minimaal .s24-icon svg { width: 32px; height: 32px; }
.s24-style-minimaal .s24-section h2, .s24-style-minimaal .s24-section-alt h2 { font-weight: 600; }
.s24-style-minimaal .s24-section > .s24-container > h2::after, .s24-style-minimaal .s24-section-alt > .s24-container > h2::after { display: none; }
.s24-style-minimaal .s24-section-alt { background: transparent; border-top: 1px solid var(–wp–preset–color–border, #eee); border-bottom: 1px solid var(–wp–preset–color–border, #eee); }
.s24-style-minimaal ul li::before { border-radius: 0; width: 6px; height: 6px; }
/* === Responsive — Tablet (769–1024) === */
@media (max-width: 1024px) {
.s24-grid-3 { grid-template-columns: repeat(2, 1fr); }
.s24-grid-3 > :last-child:nth-child(3n+1) { grid-column: 1 / -1; max-width: calc(50% – 14px); justify-self: center; }
.s24-grid-3:has(> :first-child:nth-last-child(2)) { grid-template-columns: repeat(2, 1fr); max-width: none; }
.s24-hero h1 { font-size: clamp(32px, 5vw, 46px); }
.s24-hero-split .s24-container { flex-direction: column; text-align: center; gap: 32px; }
.s24-hero-split .s24-hero-content p { margin-left: auto; margin-right: auto; }
.s24-hero-split .s24-hero-media { flex: none; width: 100%; max-width: 280px; }
.s24-section, .s24-section-alt, .s24-cta { padding: 72px 0; }
}
/* === Responsive — Mobile (≤768) === */
@media (max-width: 768px) {
.s24-hero { padding: 64px 0 72px; }
.s24-hero::after { height: 36px; }
.s24-section, .s24-section-alt, .s24-cta { padding: 56px 0; }
.s24-cta::before { height: 36px; }
.s24-grid-3, .s24-grid-2 { grid-template-columns: 1fr; }
/* Reset orphan centering on mobile — all full width */
.s24-grid-3 > :last-child:nth-child(3n+1),
.s24-grid-2 > :last-child:nth-child(2n+1),
.s24-grid-3 > :first-child:nth-last-child(2),
.s24-grid-3 > :first-child:nth-last-child(2) ~ * { grid-column: auto; max-width: none; justify-self: stretch; }
.s24-grid-3:has(> :first-child:nth-last-child(2)) { grid-template-columns: 1fr; max-width: none; }
.s24-card { padding: 28px 24px; }
.s24-card:hover { transform: none; } /* No hover lift on touch */
.s24-icon { width: 44px; height: 44px; font-size: 22px; }
.s24-icon svg { width: 22px; height: 22px; }
.s24-grid .s24-card:nth-child(n) { transition-delay: 0s; }
.s24-page .s24-btn { padding: 14px 28px; font-size: 15px; width: 100%; text-align: center; }
.s24-card .s24-btn { width: auto; }
.s24-hero .s24-btn { width: auto; }
.s24-section h2, .s24-section-alt h2, .s24-cta h2 { font-size: clamp(24px, 6vw, 32px); }
.s24-style-warm .s24-hero { padding: 72px 0 80px; }
.s24-style-warm .s24-hero::after { height: 50px; }
.s24-style-warm .s24-section, .s24-style-warm .s24-section-alt, .s24-style-warm .s24-cta { padding: 64px 0; }
.s24-style-warm .s24-cta::before { height: 50px; }
.s24-style-warm .s24-icon { width: 56px; height: 56px; }
.s24-style-minimaal .s24-icon { width: 36px; height: 36px; border-radius: 0; }
/* Contact 2-col stacks on mobile */
.s24-grid-2 > div:not(.s24-card) { order: 1; }
.s24-grid-2 > .s24-card { order: 2; }
}
/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
.s24-page *, .s24-page *::before, .s24-page *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
.s24-reveal { opacity: 1; transform: none; }
}
.s24-page a:focus-visible { outline: 2px solid var(–wp–preset–color–primary); outline-offset: 2px; border-radius: 2px; }
/* === Contact form === */
.s24-contact-form { display: flex; flex-direction: column; gap: 16px; }
.s24-form-group { display: flex; flex-direction: column; gap: 6px; }
.s24-form-group label { font-size: 14px; font-weight: 600; color: var(–wp–preset–color–heading); }
.s24-form-group input, .s24-form-group textarea { padding: 12px 14px; border: 1px solid var(–wp–preset–color–border, #e5e7eb); border-radius: 8px; font-size: 16px; font-family: inherit; color: var(–wp–preset–color–body-text); background: #fff; transition: border-color 0.2s; }
.s24-form-group input:focus, .s24-form-group textarea:focus { outline: none; border-color: var(–wp–preset–color–primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(–wp–preset–color–primary) 12%, transparent); }
.s24-form-group textarea { resize: vertical; min-height: 120px; }
.s24-contact-form .s24-btn { align-self: flex-start; margin-top: 4px; }
.s24-form-status { margin-top: 12px; padding: 12px 16px; border-radius: 8px; font-size: 15px; }
.s24-form-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.s24-form-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.s24-contact-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.s24-style-klassiek .s24-form-group input, .s24-style-klassiek .s24-form-group textarea { border-radius: 4px; }
.s24-style-minimaal .s24-form-group input, .s24-style-minimaal .s24-form-group textarea { border-radius: 0; }
/* === Print === */
@media print {
.s24-hero, .s24-cta { background: #333 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.s24-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
.s24-page .s24-btn::after { display: none; }
}
(function(){
document.querySelectorAll(“.s24-contact-form”).forEach(function(f){
f.addEventListener(“submit”,function(e){
e.preventDefault();
var btn=f.querySelector(“button[type=submit]”);
var st=f.querySelector(“.s24-form-status”);
btn.disabled=true; btn.textContent=”Sending…”;
st.style.display=”none”;
var fd=new FormData(f);
fd.append(“action”,”s24_contact_form”);
var url=(window.s24Ajax||{}).url||”/wp-admin/admin-ajax.php”;
fetch(url,{method:”POST”,body:fd})
.then(function(r){return r.json()})
.then(function(d){
st.style.display=”block”;
if(d.success){
st.className=”s24-form-status s24-form-success”;
st.textContent=d.data.message||”Message sent!”;
f.reset();
} else {
st.className=”s24-form-status s24-form-error”;
st.textContent=d.data.message||”Something went wrong.”;
}
btn.disabled=false; btn.textContent=”Send message”;
})
.catch(function(){
st.style.display=”block”;
st.className=”s24-form-status s24-form-error”;
st.textContent=”Something went wrong. Please try again.”;
btn.disabled=false; btn.textContent=”Send message”;
});
});
});
})();
Давайте подключимся
У вас есть проект в виду? Свяжитесь с нашей командой и давайте вместе создадим что-то великое.
Свяжитесь с нами
Свяжитесь с нами через любой из этих каналов. Мы обычно отвечаем в течение 24 часов и готовы обсудить ваши потребности в ИТ-инфраструктуре.
Электронная почта
info@digitario.eu
Отправить сообщение
Заполните форму ниже, и мы свяжемся с вами с ответами на ваши вопросы. Нужно ли вам пользовательское программное обеспечение, ИТ-поддержку или консультацию по инфраструктуре, мы здесь, чтобы помочь.