.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}
@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.alert {
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.sm24-reset-btn {
    background: var(--color-primary, #ef7310);
    border: 0;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
}
/* ==========================================
   SMILE24 - SERVICE CATEGORIES HERO
========================================== */
.sm24-category-hero {
    position: relative;
    width: 100%;
    padding: 90px 20px 92px;
    background: #fcf9f5;
    overflow: hidden;
}
.sm24-category-hero *, .sm24-category-hero *::before, .sm24-category-hero *::after {
    box-sizing: border-box;
}
.sm24-category-hero .container {
    position: relative;
    z-index: 2;
}
.sm24-category-hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
/* Small label */
.sm24-category-hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 13px;
    margin-bottom: 14px;
    background: #fff0dc;
    color: #f36b0b;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
}
/* Main heading */
.sm24-category-hero-title {
    margin: 0 0 18px;
    color: #302c2a;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -1.5px;
    text-align: center;
}
.sm24-heading-orange {
    color: var(--color-primary, #EF7310);
}
.sm24-heading-teal {
    color: var(--typo-primary, #0E9493);
}
/* Description */
.sm24-category-hero-description {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-color, #564b43);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}
/* Search wrapper */
.sm24-category-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 672px;
    min-height: 66px;
    padding: 8px;
    margin: 40px auto 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sm24-category-search:focus-within {
    border-color: var(--color-primary, #ef7310);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10), 0 0 0 3px rgba(239, 115, 16, 0.08);
}
/* Input field */
.sm24-category-search-field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 15px;
    gap: 12px;
    background: #f7f9fc;
    border-radius: 11px;
}
.sm24-category-search-field .sm24-search-icon {
    flex-shrink: 0;
    color: #94a3b8;
}
.sm24-category-search-field input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 48px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    color: var(--typo-secondary, #0a2540);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    appearance: none;
    -webkit-appearance: none;
}
.sm24-category-search-field input::placeholder {
    color: #94a3b8;
    opacity: 1;
}
.sm24-category-search-field input::-webkit-search-cancel-button {
    display: none;
}
.sm24-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    color: #94a3b8;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.sm24-search-clear:hover {
    background: #e9edf4;
    color: #334155;
}
/* Search button */
.sm24-category-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 118px;
    min-height: 48px;
    padding: 12px 25px;
    background: var(--color-primary, #ef7310);
    color: #ffffff;
    border: none;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.sm24-category-search-btn:hover {
    background: #df6508;
    transform: translateY(-1px);
}
.sm24-category-search-btn:active {
    transform: translateY(0);
}
.sm24-category-search-btn:focus-visible, .sm24-search-clear:focus-visible {
    outline: 3px solid rgba(239, 115, 16, 0.3);
    outline-offset: 2px;
}
/* Soft Smile24 decorative background shapes */
.sm24-hero-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.sm24-hero-shape-left {
    width: 350px;
    height: 350px;
    left: -235px;
    bottom: -245px;
    background: #d3ece7;
    border-radius: 45% 55% 50% 50%;
    transform: rotate(38deg);
}
.sm24-hero-shape-left-inner {
    width: 300px;
    height: 300px;
    left: -232px;
    bottom: -232px;
    background: #b5e1d9;
    border-radius: 40% 60% 50% 50%;
    transform: rotate(38deg);
}
.sm24-hero-shape-right {
    width: 390px;
    height: 340px;
    right: -270px;
    bottom: -215px;
    background: #e3ebe5;
    border-radius: 55% 45% 40% 60%;
    transform: rotate(-30deg);
}
.sm24-hero-shape-right-inner {
    width: 300px;
    height: 260px;
    right: -230px;
    bottom: -170px;
    background: #d0e5dd;
    border-radius: 50% 40% 55% 45%;
    transform: rotate(-30deg);
}
.sm24-hero-blob {
    position: absolute;
    width: 185px;
    height: 185px;
    top: -110px;
    right: 10%;
    background: rgba(239, 115, 16, .055);
    border-radius: 38% 62% 66% 34% / 44% 38% 62% 56%;
    animation: sm24Float 9s ease-in-out infinite;
    pointer-events: none;
}
.sm24-hero-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 25%;
    left: 8%;
    border: 15px solid rgba(14, 148, 147, .045);
    border-radius: 50%;
    pointer-events: none;
    animation: sm24Float 11s ease-in-out infinite reverse;
}
@keyframes sm24Float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
}
/* Additional decorative details, scoped to the hero */
.sm24-category-hero .sm24-decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}
.sm24-decor-grid {
    width: 132px;
    height: 132px;
    top: 38px;
    left: 4%;
    opacity: .36;
    background-image: radial-gradient(#0e9493 1.5px,transparent 1.5px);
    background-size: 16px 16px;
    mask-image: linear-gradient(125deg,#000,transparent 90%);
}
.sm24-decor-dots {
    width: 118px;
    height: 118px;
    right: 4%;
    bottom: 32px;
    opacity: .30;
    background-image: radial-gradient(#ef7310 1.7px,transparent 1.7px);
    background-size: 17px 17px;
    mask-image: linear-gradient(30deg,#000,transparent);
}
.sm24-decor-spark {
    font-size: 32px;
    color: #ef7310;
    opacity: .55;
    animation: sm24Spark 6s ease-in-out infinite;
}
.sm24-decor-spark-one {
    left: 17%;
    top: 60px;
}
.sm24-decor-spark-two {
    right: 18%;
    bottom: 57px;
    color: #0e9493;
    animation-delay: -2s;
}
.sm24-decor-orbit {
    width: 150px;
    height: 150px;
    border: 1px dashed rgba(239,115,16,.22);
    border-radius: 50%;
    top: 36px;
    right: 5%;
    transform: rotate(-20deg);
}
.sm24-decor-orbit::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ef7310;
    top: 17px;
    left: 18px;
    opacity: .55;
}
.sm24-decor-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(239,115,16,.10);
    box-shadow: 0 12px 32px rgba(57,40,28,.09);
    text-align: left;
    animation: sm24CardFloat 7s ease-in-out infinite;
}
.sm24-decor-card-left {
    top: 49%;
    left: max(22px,calc((100vw - 1260px)/2));
    transform: rotate(-5deg);
}
.sm24-decor-card-right {
    top: 47%;
    right: max(22px,calc((100vw - 1260px)/2));
    animation-delay: -3s;
}
.sm24-decor-card-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: #e1f4ef;
    color: #0e9493;
    border-radius: 11px;
    font-size: 18px;
    font-weight: 800;
}
.sm24-decor-card-icon-orange {
    background: #fff0e2;
    color: #ef7310;
}
.sm24-decor-card strong,.sm24-decor-card small {
    display: block;
    white-space: nowrap;
}
.sm24-decor-card strong {
    font-size: 12px;
    color: #302c2a;
    line-height: 1.3;
}
.sm24-decor-card small {
    font-size: 10px;
    color: #7b746e;
    margin-top: 3px;
}
@keyframes sm24Spark {
    0%,100% {
        opacity: .4;
        transform: scale(.9) rotate(0);
    }
    50% {
        opacity: .85;
        transform: scale(1.13) rotate(15deg);
    }
}
@keyframes sm24CardFloat {
    0%,100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}
.sm24-cta {
    width: 100%;
    overflow: hidden;
    font-family: inherit;
}
.sm24-cta, .sm24-cta * {
    box-sizing: border-box;
}
.sm24-cta-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.sm24-cta-panel--client {
    background: var(--light-orange);
}
.sm24-cta-panel--professional {
    background: linear-gradient(105deg,var(--color-white),#eaf9f8);
}
.sm24-cta-container {
    width: min(100% - 48px,1320px);
    margin-inline: auto;
}
.sm24-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(40px,6vw,100px);
    min-height: 380px;
}
.sm24-cta-content {
    position: relative;
    z-index: 3;
    padding-block: 72px;
}
.sm24-cta-eyebrow {
    display: inline-flex;
    padding: 7px 16px;
    margin-bottom: 18px;
    border-radius: 100px;
    font-size: var(--font-small);
    line-height: 1.2;
    font-weight: 700;
}
.sm24-cta-panel--client .sm24-cta-eyebrow {
    color: var(--color-primary);
    background: var(--mid-orange);
}
.sm24-cta-panel--professional .sm24-cta-eyebrow {
    color: var(--typo-primary);
    background: var(--light-green-border);
}
.sm24-cta-content h2 {
    color: var(--h-color);
    font-size: clamp(var(--font-32),3.2vw,var(--font-55));
    line-height: 1.13;
    letter-spacing: -.035em;
    font-weight: 800;
    margin: 0 0 18px;
}
.sm24-cta-content p {
    color: var(--text-color);
    font-size: clamp(var(--font-regular),1.2vw,var(--font-large));
    line-height: 1.6;
    max-width: 610px;
    margin: 0 0 24px;
}
.sm24-orange {
    color: var(--color-primary);
}
.sm24-teal {
    color: var(--typo-primary);
}
.sm24-cta-visual {
    position: relative;
    min-height: 370px;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.sm24-cta-blob {
    position: absolute;
    bottom: 0;
    width: min(92%,480px);
    height: 88%;
    border-radius: 46% 54% 48% 52% / 58% 38% 62% 42%;
    background: var(--border-plight);
    transform: rotate(-9deg);
}
.sm24-cta-visual--professional .sm24-cta-blob {
    background: var(--light-green-border);
    transform: rotate(10deg);
}
.sm24-cta-person {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 490px;
    height: 370px;
    object-fit: contain;
    object-position: center bottom;
}
.sm24-cta-fallback {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 300px;
    width: 300px;
    color: var(--color-primary);
}
.sm24-cta-visual--professional .sm24-cta-fallback {
    color: var(--typo-primary);
}
.sm24-cta-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(10,37,64,.08);
    animation: sm24-cta-float 6s ease-in-out infinite;
}
.sm24-cta-float--client {
    top: 30%;
    left: auto;
    right: 0;
}
.sm24-cta-float--professional {
    top: 25%;
    right: 0;
    animation-delay: -2s;
}
.sm24-cta-float-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--mid-orange);
    color: var(--color-primary);
}
.sm24-cta-float--professional .sm24-cta-float-icon {
    background: var(--light-green-border);
    color: var(--typo-primary);
}
.sm24-cta-float strong,.sm24-cta-float small {
    display: block;
    white-space: nowrap;
    line-height: normal;
}
.sm24-cta-float strong {
    font-size: var(--font-small);
    color: var(--typo-secondary);
    line-height: normal;
}
.sm24-cta-float small {
    margin-top: 3px;
    font-size: var(--font-xs);
    color: var(--text-color);
}
.sm24-cta-dots {
    position: absolute;
    left: 2%;
    top: 34%;
    width: 105px;
    height: 105px;
    background-image: radial-gradient(var(--color-primary) 1.5px,transparent 1.5px);
    background-size: 20px 20px;
    opacity: .35;
}
.sm24-cta-visual--professional .sm24-cta-dots {
    background-image: radial-gradient(var(--typo-primary) 1.5px,transparent 1.5px);
}
.sm24-cta-wave {
    position: absolute;
    z-index: -1;
    width: 240px;
    height: 180px;
    bottom: -100px;
    border-radius: 46% 54% 35% 65%;
    opacity: .55;
}
.sm24-cta-wave--left {
    left: -90px;
    background: var(--border-plight);
    transform: rotate(25deg);
}
.sm24-cta-wave--right {
    right: -80px;
    background: var(--light-green-border);
    transform: rotate(-25deg);
}
.sm24-cta-panel--professional .sm24-cta-wave {
    background: var(--light-green-border);
}
@keyframes sm24-cta-float {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}
/* Reusable CTA button — one source of truth for both variants */
.sm24-cta-button {
    --cta-bg: var(--color-primary, #ef7310);
    --cta-shadow: rgba(239,115,16,.18);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 54px;
    padding: 14px 30px;
    border: 0;
    border-radius: 999px;
    background: var(--cta-bg);
    color: var(--color-white,#fff);
    font-size: var(--font-small,14px);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
    transition: transform .25s ease,box-shadow .25s ease;
}
.sm24-cta-button--teal {
    --cta-bg: var(--typo-primary,#0e9493);
    --cta-shadow: rgba(14,148,147,.20);
}
.sm24-cta-button::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg,transparent 20%,rgba(255,255,255,.24) 50%,transparent 80%);
    transform: translateX(-120%);
    transition: transform .65s ease;
}
.sm24-cta-button:hover {
    color: var(--color-white,#fff);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px var(--cta-shadow);
}
.sm24-cta-button:hover::before {
    transform: translateX(120%);
}
.sm24-cta-button:active {
    transform: translateY(0);
}
.sm24-cta-button:focus-visible {
    outline: 3px solid var(--typo-secondary,#0a2540);
    outline-offset: 3px;
}
.sm24-cta-button-label,.sm24-cta-button-arrow {
    position: relative;
    z-index: 1;
}
.sm24-cta-button-arrow {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.sm24-cta-button:hover .sm24-cta-button-arrow {
    transform: translateX(5px);
}
/* ============================================================
   SECTION 05 — RESPONSIVE: one block per breakpoint
   ============================================================ */
@media (max-width: 1399.98px) {
    .sm24-decor-card {
        display: none;
    }
}
@media (max-width: 991.98px) {
    .sm24-category-hero {
        padding: 75px 20px 80px;
    }
    .sm24-category-hero-title {
        font-size: 40px;
    }
    .sm24-category-hero-description {
        font-size: 17px;
    }
    .sm24-decor-grid {
        left: -30px;
        top: 10px;
    }
    .sm24-decor-orbit {
        right: -65px;
    }
    .sm24-decor-spark-one {
        left: 8%;
        top: 35px;
    }
    .sm24-decor-spark-two {
        right: 8%;
        bottom: 28px;
    }
    .sm24-cta-grid {
        gap: 30px;
    }
    .sm24-cta-content {
        padding-block: 56px;
    }
    .sm24-cta-visual {
        min-height: 330px;
    }
    .sm24-cta-person {
        height: 330px;
    }
    .sm24-cta-float {
        padding: 10px;
    }
}
@media (max-width: 767.98px) {
    .sm24-category-hero {
        padding: 65px 16px 70px;
    }
    .sm24-category-hero-title {
        font-size: 34px;
        letter-spacing: -0.8px;
    }
    .sm24-category-hero-description {
        font-size: 16px;
        max-width: 520px;
    }
    .sm24-category-search {
        margin-top: 32px;
    }
    .sm24-hero-shape-left, .sm24-hero-shape-left-inner {
        transform: rotate(38deg) scale(.65);
        transform-origin: bottom left;
    }
    .sm24-hero-shape-right, .sm24-hero-shape-right-inner {
        transform: rotate(-30deg) scale(.65);
        transform-origin: bottom right;
    }
    .sm24-hero-ring {
        left: -45px;
        top: 18%;
    }
    .sm24-hero-blob {
        right: -85px;
        top: -100px;
    }
    .sm24-cta-container {
        width: min(100% - 32px,560px);
    }
    .sm24-cta-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .sm24-cta-content {
        padding: 48px 0 24px;
    }
    .sm24-cta-visual {
        min-height: 280px;
    }
    .sm24-cta-person {
        height: 280px;
    }
    .sm24-cta-panel--client .sm24-cta-content {
        grid-row: 1;
    }
    .sm24-cta-panel--client .sm24-cta-visual {
        grid-row: 2;
    }
    .sm24-cta-float--client {
        right: 0;
        top: 2%;
        left: auto;
    }
    .sm24-cta-float--professional {
        right: 2%;
        top: 20%;
    }
    .sm24-cta-content h2 {
        font-size: clamp(30px,7vw,42px);
    }
}
@media (max-width: 575.98px) {
    .sm24-category-hero {
        padding: 55px 15px 60px;
    }
    .sm24-category-hero-label {
        font-size: 11px;
        margin-bottom: 16px;
    }
    .sm24-category-hero-title {
        font-size: 30px;
        line-height: 1.25;
        letter-spacing: -0.7px;
        margin-bottom: 14px;
    }
    .sm24-category-hero-description {
        font-size: 15px;
        line-height: 1.6;
    }
    .sm24-category-search {
        min-height: 58px;
        padding: 6px;
        gap: 6px;
        margin-top: 28px;
        border-radius: 13px;
    }
    .sm24-category-search-field {
        min-height: 44px;
        padding: 0 10px;
        gap: 8px;
        border-radius: 9px;
    }
    .sm24-category-search-field input {
        height: 44px;
        font-size: 14px;
    }
    .sm24-category-search-btn {
        min-width: 85px;
        min-height: 44px;
        padding: 10px 13px;
        font-size: 14px;
        border-radius: 9px;
    }
    .sm24-decor-grid {
        width: 80px;
        height: 80px;
        background-size: 13px 13px;
        opacity: .2;
    }
    .sm24-decor-dots {
        width: 75px;
        height: 75px;
        right: -18px;
        bottom: 8px;
        opacity: .18;
    }
    .sm24-decor-orbit {
        width: 90px;
        height: 90px;
        top: 25px;
        right: -55px;
    }
    .sm24-decor-spark {
        font-size: 21px;
    }
    .sm24-decor-spark-one {
        left: 4%;
        top: 105px;
    }
    .sm24-decor-spark-two {
        right: 5%;
        bottom: 12px;
    }
}
@media (max-width: 420px) {
    .sm24-cta-content {
        padding-top: 38px;
    }
    .sm24-cta-button {
        width: 100%;
        gap: 12px;
        padding: 14px 16px;
        white-space: normal;
    }
    .sm24-cta-float {
        transform: scale(.83);
        transform-origin: left top;
    }
    .sm24-cta-float--professional {
        transform-origin: right top;
        display: none;
    }
    .sm24-cta-visual {
        min-height: 240px;
    }
    .sm24-cta-person {
        height: 240px;
    }
    .sm24-cta-fallback {
        height: 230px;
    }
}
@media (max-width: 359.98px) {
    .sm24-category-hero-title {
        font-size: 27px;
    }
    .sm24-category-search-field {
        padding: 0 8px;
        gap: 6px;
    }
    .sm24-category-search-field input {
        font-size: 12px;
    }
    .sm24-category-search-btn {
        min-width: 72px;
        padding: 10px 8px;
        font-size: 13px;
    }
}
/* SECTION 06 — Accessibility */
@media (prefers-reduced-motion: reduce) {
    .sm24-hero-blob, .sm24-hero-ring,
    .sm24-decor-spark, .sm24-decor-card,
    .sm24-cta-float {
        animation: none;
    }
    .sm24-cta-button, .sm24-cta-button::before,
    .sm24-cta-button-arrow, .sm24-category-search,
    .sm24-category-search-btn {
        transition: none;
    }
    .sm24-cta-button:hover,
    .sm24-cta-button:hover .sm24-cta-button-arrow {
        transform: none;
    }
}