.sf-hero { background: linear-gradient(110deg, #14163a 60%, #2a2d63); color: #fff; padding: 64px 0; }
.sf-hero h1 { max-width: 640px; font-size: clamp(28px, 4.5vw, 46px); line-height: 1.15; margin: 16px 0; color: #fff; }
.sf-hero h1 span { color: #ffc107; }
.sf-hero p { max-width: 520px; margin-bottom: 24px; opacity: .9; }
.sf-tag { background: #ffc107; color: #14163a; font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: 13px; }
.sf-btn { display: inline-block; background: #ffc107; color: #14163a; font-weight: 700; padding: 12px 22px; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; margin: 0 8px 8px 0; font-size: 15px; }
.sf-btn-line { background: transparent; color: #fff; border: 1px solid #fff; }
.sf-btn-small { padding: 7px 16px; font-size: 13px; margin: auto 0 0; }
.sf-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 18px; padding-bottom: 18px; font-weight: 700; font-size: 14px; }
.sf-section { padding-top: 40px; padding-bottom: 20px; scroll-margin-top: 90px; }
.sf-section h2, .sf-why h2 { text-align: center; margin-bottom: 8px; }
.sf-sub { text-align: center; color: #6b7280; margin-bottom: 24px; }
.sf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .sf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
    .sf-grid { gap: 10px; }
}
.sf-why { background: #fff6d6; padding: 32px 0; margin-top: 24px; }
.sf-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.sf-row span { background: #fff; border-radius: 12px; padding: 14px 18px; font-weight: 700; font-size: 14px; }
.sf-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 20px; padding: 0; list-style: none; counter-reset: step; }
.sf-steps li { counter-increment: step; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; font-size: 14px; color: #4b5563; }
.sf-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ffc107; color: #14163a; font-weight: 800; }
.sf-steps strong { display: block; margin: 10px 0 4px; color: #111827; }
.sf-form { max-width: 620px; margin: 0 auto 32px; border: 1px solid #e5e7eb; border-radius: 18px; padding: 24px; background: #fff; }
.sf-form label { display: block; font-weight: 700; font-size: 13px; margin-top: 14px; }
.sf-form input:not([type=checkbox]), .sf-form select, .sf-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 10px; font: inherit; font-weight: 400; background: #fff; }
.sf-form fieldset { border: 0; padding: 0; margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 12px; }
.sf-form legend { font-weight: 700; font-size: 13px; }
.sf-form label.sf-check { font-weight: 400; margin-top: 8px; }
.sf-form .sf-submit { width: 100%; margin: 18px 0 0; }
.sf-form .sf-hp { position: absolute; left: -9999px; width: 1px !important; }
.sf-errors { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; border-radius: 10px; padding: 10px 14px; margin-top: 12px; font-size: 14px; }
.sf-success { text-align: center; padding: 24px 0; }
.sf-tick { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 32px; display: grid; place-items: center; }
.sf-success p { margin-bottom: 18px; }

/* --- layout matched to the design --- */
.sf-hero { position: relative; overflow: hidden; padding: 0; background: #14163a; }
.sf-hero .container { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.sf-hero h1 { max-width: 520px; }
.sf-hero p { max-width: 440px; }
.sf-hero-photo { position: absolute; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; object-position: 60% 30%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.sf-strip { display: block; padding: 0; background: #fff; border-bottom: 3px solid #ffc107; }
.sf-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 18px; padding-bottom: 18px; }
.sf-strip span { display: flex; align-items: center; gap: 10px; }
.sf-strip i { font-size: 22px; color: #14163a; }
.sf-section h2::after, .sf-why h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: #ffc107; margin: 10px auto 0; }
.sf-why { display: flex; align-items: stretch; gap: 24px; padding: 0; margin-top: 24px; border-radius: 18px; overflow: hidden; }
.sf-why > img { width: 30%; object-fit: cover; }
.sf-why > div { flex: 1; padding: 28px 20px; }
.sf-row span { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; flex: 1 1 110px; background: transparent; padding: 8px; }
.sf-row i { font-size: 26px; color: #e0a800; }
.sf-serve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.sf-serve figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; }
.sf-serve img { display: block; width: 100%; height: 150px; object-fit: cover; }
.sf-serve figcaption { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; background: #ffc107; color: #14163a; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.sf-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding: 24px 28px; border-radius: 18px; background: #14163a; color: #fff; }
.sf-cta p { font-size: 22px; font-weight: 800; }
.sf-cta span { color: #ffc107; }
.sf-cta .sf-btn { margin: 0; }
@media (max-width: 700px) {
    .sf-hero .container { padding-top: 28px; padding-bottom: 32px; }
    .sf-hero-photo { position: static; display: block; width: 100%; height: 210px; clip-path: none; }
    .sf-why { flex-direction: column; gap: 0; }
    .sf-why > img { width: 100%; height: 160px; }
    .sf-serve { grid-template-columns: 1fr; }
}

/* --- full-size photos --- */
.sf-hero-photo { object-position: 85% 20%; }
.sf-why > img { object-position: center top; }
.sf-serve img { height: auto; aspect-ratio: 2 / 1; }
@media (max-width: 700px) {
    .sf-hero-photo { height: 240px; object-position: 80% 20%; }
    .sf-why > img { height: auto; aspect-ratio: 9 / 7; }
}

/* --- enquiry bar, short form, compact phone layout --- */
@media (max-width: 700px) {
    .sf-section { padding-top: 28px; padding-bottom: 12px; }
    .sf-steps { gap: 10px; }
    .sf-steps li { padding: 12px 14px; }
    .sf-steps li::before { margin-right: 10px; }
    .sf-steps strong { display: inline; }
    .sf-steps strong::after { content: ""; display: block; margin-bottom: 4px; }
    .sf-serve { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; }
    .sf-serve figure { flex: 0 0 82%; scroll-snap-align: start; }
}
@media (max-width: 480px) {
}
.sf-form .sf-promise { text-align: center; margin-top: 10px; font-size: 13px; color: #6b7280; }

/* --- call and WhatsApp --- */
.sf-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-contact .sf-btn { margin: 0; }
.sf-btn.sf-call, .sf-round.sf-call { background: #fff; color: #14163a; border: 1px solid #14163a; }
.sf-btn.sf-wa, .sf-round.sf-wa { background: #25d366; color: #0b2e17; border: 1px solid #25d366; }
.sf-hero .sf-contact { margin-top: 6px; }
.sf-form .sf-contact { justify-content: center; margin-top: 14px; }
.sf-or { text-align: center; color: #6b7280; font-size: 13px; margin-top: 12px; }
.sf-round { display: none; flex: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; font-size: 20px; text-decoration: none; box-shadow: 0 6px 16px rgba(20, 22, 58, .3); }
@media (max-width: 700px) {
    .sf-round { display: grid; }
}

/* --- plan builder --- */
.sf-builder { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.sf-step, .sf-summary { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 20px; box-shadow: 0 4px 16px rgba(20, 22, 58, .06); scroll-margin-top: 90px; }
.sf-step { margin-bottom: 18px; }
.sf-hint { color: #6b7280; font-size: 13px; margin: 4px 0 14px; }
.sf-form.sf-step { max-width: none; margin: 0; }
.sf-props { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sf-builder .sf-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sf-builder label.sf-pick { position: relative; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 8px; border: 2px solid #e5e7eb; border-radius: 14px; background: #fff; cursor: pointer; text-align: center; transition: transform .15s, border-color .15s, box-shadow .15s; }
.sf-pick:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(20, 22, 58, .12); }
.sf-builder .sf-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; left: 50%; top: 50%; }
.sf-pick img, .sf-pick-icon { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.sf-pick-icon { display: grid; place-items: center; background: #fff6d6; font-size: 30px; color: #14163a; }
.sf-pick strong { font-size: 13px; line-height: 1.3; }
.sf-pick small { font-size: 12px; font-weight: 400; color: #6b7280; }
.sf-builder label.sf-pick:has(input:checked) { border-color: #ffc107; background: #fffbea; }
.sf-pick:has(input:checked)::after { content: "✓"; position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: #14163a; color: #ffc107; font-weight: 800; display: grid; place-items: center; }
.sf-pick:has(input:focus-visible) { outline: 3px solid #14163a; outline-offset: 2px; }
.sf-need { color: #b91c1c; font-size: 14px; font-weight: 700; margin-top: 10px; }
.sf-summary { position: sticky; top: 96px; }
.sf-progress-text { font-size: 12px; font-weight: 700; color: #6b7280; margin: 10px 0 6px; }
.sf-progress { height: 6px; border-radius: 6px; background: #e5e7eb; overflow: hidden; }
.sf-progress span { display: block; height: 100%; background: #ffc107; transition: width .3s; }
.sf-summary dl { margin: 14px 0; }
.sf-summary dl div { padding: 10px 0; border-bottom: 1px solid #eef0f4; }
.sf-summary dt { font-size: 12px; color: #6b7280; }
.sf-summary dd { margin: 4px 0 0; font-weight: 700; font-size: 14px; }
.sf-summary dd span { display: block; padding: 2px 0; }
.sf-summary .sf-submit { width: 100%; margin: 0; }
.sf-reset { display: block; margin: 10px auto 14px; border: 0; background: none; color: #6b7280; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.sf-summary .sf-contact { justify-content: center; }
.sf-summary .sf-contact .sf-btn { flex: 1 1 100%; text-align: center; }
.sf-reveal { opacity: 0; translate: 0 18px; transition: opacity .5s, translate .5s; }
.sf-reveal.sf-in { opacity: 1; translate: 0 0; }
.sf-bar { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 900; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; border-radius: 999px; background: #14163a; color: #fff; font-weight: 700; font-size: 12px; box-shadow: 0 8px 24px rgba(20, 22, 58, .35); }
.sf-bar .sf-btn { margin: 0; padding: 11px 18px; }
#sfCount { flex: 1; }
@media (max-width: 1100px) { .sf-builder .sf-grid, .sf-props { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    .sf-builder { grid-template-columns: minmax(0, 1fr); }
    .sf-summary { position: static; }
}
@media (max-width: 700px) {
    .sf-bar { display: flex; }
    .sf-bar.sf-away { display: none; }
    .sf-summary { display: none; }
    .sf-step { padding: 14px; }
    .sf-builder .sf-grid, .sf-props { gap: 10px; }
    .sf-pick small { display: none; }
}
.sf-builder .sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* style.css sets overflow-x: hidden on html/body, which stops the side panel from sticking */
html:has(.sf-builder), html:has(.sf-builder) body { overflow-x: clip; overflow-y: visible; }
@media (min-width: 901px) { .sf-summary { max-height: calc(100vh - 110px); overflow-y: auto; } }

/* --- spacing and alignment --- */
.sf-section { padding-top: 28px; padding-bottom: 0; }
.sf-section h2, .sf-why h2 { margin: 0; line-height: 1.25; }
.sf-section h2::after, .sf-why h2::after { margin-top: 8px; }
.sf-sub { margin: 10px 0 20px; }
.sf-step h3, .sf-summary h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.sf-hint { margin: 4px 0 14px; }
.sf-progress-text { margin: 12px 0 6px; }
.sf-step { margin-bottom: 14px; }
.sf-form.sf-step { margin-bottom: 0; }
.sf-steps { margin: 20px 0 0; }
.sf-why { margin-top: 28px; }
.sf-why > div { display: flex; flex-direction: column; justify-content: center; }
.sf-cta p { margin: 0; }
.sf-cta { margin-bottom: 32px; }
@media (min-width: 701px) {
    .sf-form.sf-step { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-content: start; }
    .sf-form.sf-step > h3, .sf-form.sf-step > label:last-of-type, .sf-form.sf-step > button, .sf-form.sf-step > .sf-promise { grid-column: 1 / -1; }
}
.sf-btn { font-family: inherit; }
.sf-cta { justify-content: flex-start; gap: 10px; }
.sf-cta p { margin-right: auto; }
@media (max-width: 700px) {
    .sf-cta p { width: 100%; }
    .sf-hero .container > a.sf-btn { display: block; text-align: center; margin: 0 0 10px; }
    .sf-hero .sf-contact { display: grid; grid-template-columns: 1.4fr 1fr; margin: 0; }
    .sf-hero .sf-contact .sf-btn { text-align: center; padding-left: 8px; padding-right: 8px; }
    .sf-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; font-size: 13px; }
    .sf-strip i { width: 26px; font-size: 18px; text-align: center; }
}

/* --- wider page: smaller left and right margins on large screens --- */
@media (min-width: 901px) {
    main section.container, main .sf-hero .container, main .sf-strip .container { max-width: 1600px; padding-left: 32px; padding-right: 32px; }
    .sf-builder { grid-template-columns: minmax(0, 1fr) 340px; }
}
