/*
Theme Name: Woerdeman & Salomons
Theme URI: https://woerdeman-salomons.nl
Author: Woerdeman & Salomons B.V.
Description: Blokthema voor Woerdeman & Salomons – bedrijfsadvies, procesoptimalisatie en AI voor het MKB.
Version: 1.3.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woerdeman-salomons
*/

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

/* Header */
.ws-header .wp-block-group.alignwide { align-items: center; }
.ws-header { border-bottom: 1px solid var(--wp--preset--color--line); padding-top: 1.1rem; padding-bottom: 1.1rem; position: sticky; top: 0; z-index: 50; background: var(--wp--preset--color--base); }
.admin-bar .ws-header { top: 32px; }
.ws-header .wp-block-navigation { font-weight: 500; font-size: 0.9375rem; }
.ws-header .wp-block-navigation a { text-decoration: none; }

/* Sections */
.ws-section { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.ws-bordered { border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.ws-eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--accent); margin-bottom: 0; }
.ws-dark .ws-eyebrow { color: var(--wp--preset--color--accent-light); }
.ws-dark h2, .ws-dark h3 { color: #fff; }
.ws-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--muted); max-width: 600px; }
.ws-intro { max-width: 720px; margin-bottom: var(--wp--preset--spacing--50); }
.ws-intro > p:not(.ws-eyebrow) { color: var(--wp--preset--color--muted); }
.ws-muted { color: var(--wp--preset--color--muted); }

/* Cards */
.ws-card { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 2rem; }
.ws-card--soft { background: var(--wp--preset--color--base); border-radius: 14px; padding: 1.75rem; }
.ws-card--raised { box-shadow: 0 12px 32px rgba(30, 43, 31, 0.06); }
.ws-card h3 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.ws-card p { margin-top: 0.25rem; }
.ws-card-title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.25rem; margin-top: 0; }
.ws-check h3 { font-family: var(--wp--preset--font-family--body); font-size: 1.0625rem; font-weight: 600; margin: 0; }
.ws-check p { font-size: 0.9375rem; color: var(--wp--preset--color--muted); margin: 0; }
.ws-check { border-left: 0; padding: 0.25rem 0 0.25rem 1rem; position: relative; }
.ws-check::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 7px; height: 7px; border-radius: 50%; background: var(--wp--preset--color--brand); }
.ws-num { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9375rem; color: var(--wp--preset--color--accent); margin: 0; }
.ws-card--soft p:not(.ws-num) { font-size: 1rem; color: var(--wp--preset--color--muted); }

/* Results (dark) */
.ws-result { border-top: 2px solid var(--wp--preset--color--accent-light); padding-top: 1.25rem; }
.ws-result h3 { margin: 0 0 0.5rem; }
.ws-result p { margin: 0; font-size: 1rem; }

/* Steps */
.ws-step-num { width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--wp--preset--color--brand); color: var(--wp--preset--color--accent); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.125rem; margin: 0; }
.ws-step h3 { margin: 0.75rem 0 0.25rem; font-size: 1.3125rem; }
.ws-step p:not(.ws-step-num) { font-size: 1rem; color: var(--wp--preset--color--muted); margin: 0; }

/* People */
.ws-avatar { flex: none; width: 120px; height: 120px; border-radius: 12px; background: var(--wp--preset--color--accent-soft); display: flex; align-items: center; justify-content: center; }
.ws-card .ws-avatar p, .ws-avatar p { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 2rem; color: var(--wp--preset--color--accent); margin: 0; }
.ws-person-body { flex: 1 1 240px; min-width: 0; }
.ws-person-body h3 { margin: 0; font-size: 1.5rem; }
.ws-role { font-size: 0.9375rem; font-weight: 600; color: var(--wp--preset--color--accent); margin: 0.25rem 0 0.5rem; }
.ws-person-body p:not(.ws-role) { font-size: 1rem; }
.ws-person-body .ws-muted { color: var(--wp--preset--color--muted); }

/* Contact */
.ws-address p { margin: 0.15rem 0; }

/* Brand logo */
.ws-brand-logo { margin: 0; }
.ws-brand-logo img { height: 56px; width: auto; display: block; }

/* Brand band (zoals op het briefpapier) */
.ws-band { background: linear-gradient(90deg, #80CC28, #A4D95E 55%, #80CC28); padding-top: 0.9rem; padding-bottom: 0.9rem; }
.ws-band p { margin: 0; text-align: center; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wp--preset--color--ink); }

/* Contactformulier (Contact Form 7) */
.ws-form .wpcf7 form > p, .ws-form .wpcf7 label { margin: 0 0 1.1rem; }
.ws-form .wpcf7 label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9375rem; font-weight: 600; }
.ws-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1.25rem; }
.ws-form-row > p { display: contents; }
.ws-form .wpcf7 br { display: none; }
.ws-form input[type="text"], .ws-form input[type="email"], .ws-form input[type="tel"], .ws-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; padding: 0.7rem 0.85rem; border: 1px solid #B8C4B2; border-radius: 8px; background: #fff; color: var(--wp--preset--color--ink); min-height: 44px; }
.ws-form input:focus, .ws-form textarea:focus { outline: 2px solid var(--wp--preset--color--brand); outline-offset: 1px; border-color: var(--wp--preset--color--accent); }
.ws-form textarea { min-height: 140px; resize: vertical; }
.ws-form .wpcf7-acceptance { font-size: 0.875rem; font-weight: 400; color: var(--wp--preset--color--muted); }
.ws-form .wpcf7-acceptance label { flex-direction: row; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
.ws-form .wpcf7-acceptance input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--wp--preset--color--accent); }
.ws-form .wpcf7-list-item { margin: 0; }
.ws-form input[type="submit"] { font: inherit; font-weight: 600; background: var(--wp--preset--color--brand); color: var(--wp--preset--color--ink); border: 0; border-radius: 8px; padding: 0.9rem 1.6rem; min-height: 44px; cursor: pointer; }
.ws-form input[type="submit"]:hover { background: var(--wp--preset--color--ink); color: #fff; }
.ws-form input[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; }
.ws-form .wpcf7-not-valid-tip { font-size: 0.8125rem; font-weight: 400; color: #B42318; }
.ws-form .wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.9375rem; }
.ws-footer a { color: var(--wp--preset--color--on-dark); }
.ws-footer a:hover { color: #fff; }

/* Footer */
.ws-footer { font-size: 0.875rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.ws-footer p { margin: 0; }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1.5px solid var(--wp--preset--color--ink); color: var(--wp--preset--color--ink); background: transparent; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; }
.wp-block-button__link { min-height: 44px; }

@media (max-width: 781px) {
  .ws-header .ws-header-cta { display: none; }
}
@media (max-width: 600px) {
  .admin-bar .ws-header { top: 0; }
}
