/* Prepared from resources/css. Edit source files, then run php artisan frontend:prepare. */
/* Services composition; shared tokens, cards and FAQ retain the site's design system. */
.services-hub-page :is(.sh-hero, .sh-capabilities, .sh-industries) { background: var(--theme-surface-pink); }
.services-hub-page :is(.sh-overview, .sh-difference, .hp-faq) { background: var(--theme-surface); }
.sh-hero-grid { display: grid; gap: 48px; align-items: center; }
.sh-hero-grid-with-form { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.sh-hero-copy, .sh-enquiry { min-width: 0; }
.sh-breadcrumb { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 14px; }
.sh-breadcrumb .hp-icon { width: 17px; height: 17px; }
.sh-breadcrumb a { color: var(--theme-violet); }
.sh-hero-actions { display: flex; flex-wrap: wrap; gap: 24px; }
.sh-hero-actions > div { min-width: 0; max-width: 100%; }
.sh-main .sh-action-caption { font-size: 14px; line-height: 1.5; margin-top: 8px; }
.sh-hero .sh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.sh-facts > div { border-top: 2px solid var(--theme-border); padding-block: 16px 0; }
.sh-facts dt { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 800; color: var(--theme-violet); }
.sh-facts dd { font-size: 14px; line-height: 1.5; margin-top: 6px; }
.sh-enquiry { scroll-margin-top: 100px; }
.sh-main a:focus-visible, .sh-main button:focus-visible { outline: 2px solid var(--theme-violet); outline-offset: 4px; }
.sh-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sh-group-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 clamp(32px, 4vw, 56px); }
.sh-group-nav a { padding: 12px 20px; border: 1px solid var(--theme-border); border-radius: var(--theme-radius-pill); background: var(--theme-surface); color: var(--theme-text-primary); font-size: 16px; font-weight: 650; }
.sh-group-nav a:hover { border-color: var(--theme-violet); color: var(--theme-violet); }
.sh-service-groups { display: grid; gap: clamp(44px, 6vw, 80px); }
.sh-service-group { min-width: 0; scroll-margin-top: 120px; }
.sh-group-heading { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.sh-group-icon { display: grid; place-items: center; flex: 0 0 60px; height: 60px; border-radius: 18px; background: var(--theme-violet); color: var(--theme-surface); }
.sh-group-icon .hp-icon { width: 30px; height: 30px; }
.sh-group-heading h3 { margin: 0; font: 750 clamp(26px, 3vw, 36px)/1.2 var(--font-heading); }
.sh-group-heading p { max-width: 960px; margin: 12px 0 0; color: var(--theme-text-secondary); font-size: 16px; line-height: 1.75; }
.sh-service-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(22px, 2.5vw, 32px); border: 1px solid var(--theme-border); border-radius: 20px; background: var(--theme-surface); box-shadow: var(--theme-shadow); }
.sh-service-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px; color: var(--theme-violet); background: var(--theme-surface-soft); }
.sh-service-card h4 { margin: 0; font: 750 clamp(20px, 2vw, 24px)/1.3 var(--font-heading); }
.sh-service-card :is(h4, p) { overflow-wrap: anywhere; }
.sh-service-card p { margin: 14px 0 0; color: var(--theme-text-secondary); font-size: 16px; line-height: 1.75; }
.sh-service-link { margin-top: auto; padding-top: 24px; color: var(--theme-violet); font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.sh-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sh-section-action { margin-top: 32px; text-align: center; }
/* These longer introductions use the whole centered heading area. */
.services-hub-page :is(.sh-difference, .sh-industries) .hp-section-intro { width: 100%; max-width: 1180px; }
.services-hub-page :is(.sh-difference, .sh-industries) .hp-heading { text-wrap: wrap; }
.services-hub-page :is(.sh-difference, .sh-industries) .hp-section-description { max-width: none; width: 100%; }
.sh-overview-lead {
    display: grid;
    align-items: center;
    gap: clamp(22px, 2.5vw, 34px) clamp(24px, 4vw, 64px);
}
.sh-overview .hp-heading {
    max-width: 1120px;
    margin-bottom: 0;
    font-size: clamp(34px, 4vw, 56px);
    overflow-wrap: anywhere;
    text-wrap: wrap;
}
.sh-overview-intro .hp-section-description {
    margin: 18px 0 0;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
}
.sh-overview-copy {
    color: var(--theme-text-secondary);
}
.sh-overview-copy > p, .sh-approach-summary {
    font-size: 16px;
    line-height: 1.75;
}
.sh-overview-copy > p + p { margin-top: 16px; }
.sh-overview-copy .sh-overview-question {
    color: var(--theme-text-primary);
    font: 700 clamp(22px, 2.2vw, 30px)/1.3 var(--font-heading);
    text-wrap: pretty;
}
.sh-overview-question::before {
    display: block;
    width: 48px;
    height: 3px;
    margin-bottom: 16px;
    border-radius: var(--theme-radius-pill);
    background: var(--theme-gradient);
    content: "";
}
.sh-approach {
    margin-top: clamp(32px, 5vw, 64px);
}
.sh-approach > h3, .sh-approach-summary {
    margin: 0;
}
.sh-approach > h3 {
    margin-bottom: clamp(24px, 3vw, 36px);
    font: 750 clamp(24px, 2.6vw, 34px)/1.25 var(--font-heading);
    text-wrap: pretty;
}
.sh-approach-summary { margin-top: clamp(28px, 3vw, 40px); }
.sh-approach-grid, .sh-usp-grid {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sh-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 3vw, 40px) clamp(24px, 4vw, 56px);
}
.sh-approach-card, .sh-usp-card {
    min-width: 0;
}
.sh-approach-card {
    padding: clamp(20px, 2.4vw, 30px);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
}
.sh-usp-card {
    padding: clamp(18px, 2.4vw, 30px);
    background: var(--theme-surface);
}
.sh-approach-step {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--theme-text-primary);
}
.sh-approach-icon, .sh-usp-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
}
.sh-approach-icon {
    width: 44px;
    height: 44px;
    color: var(--theme-violet);
}
.sh-approach-icon .hp-icon { width: 36px; height: 36px; }
.sh-approach-card h4, .sh-usp-card h3 {
    margin: 0;
    font: 750 clamp(20px, 2vw, 24px)/1.25 var(--font-heading);
    overflow-wrap: anywhere;
}
.sh-approach-card p, .sh-usp-card p {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.7;
}
.sh-usp-grid {
    --usp-columns: 2;
    --usp-gap: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--usp-gap);
}
.sh-usp-card {
    flex: 1 1 calc((100% - (var(--usp-columns) - 1) * var(--usp-gap)) / var(--usp-columns));
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    box-shadow: var(--theme-shadow);
}
.sh-usp-title {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 20px);
}
.sh-usp-icon {
    width: clamp(52px, 5vw, 64px);
    aspect-ratio: 1;
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--theme-surface-pink), var(--theme-surface-blue));
    color: var(--theme-violet);
}
.sh-usp-icon .hp-icon {
    width: clamp(30px, 3vw, 36px);
    height: auto;
    stroke-width: 2.5;
}
.sh-industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sh-main .hp-industry-card:not(.hp-industry-cta) > p { font-size: 16px; line-height: 1.7; }
@media (min-width: 992px) {
    .sh-usp-grid { --usp-columns: 3; }
    .sh-overview-lead:has(.sh-overview-copy) {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
}
@media (max-width: 1199px) {
    .sh-hero-grid-with-form { gap: 28px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
    .sh-enquiry .shared-quote-card { padding: 24px; }
    .sh-enquiry .shared-quote-fields { grid-template-columns: 1fr; }
    .sh-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .sh-hero-grid-with-form { grid-template-columns: 1fr; gap: 36px; }
    .sh-enquiry .shared-quote-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sh-service-grid, .sh-approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .sh-usp-grid { --usp-columns: 1; }
}
@media (max-width: 575px) {
    .sh-group-nav { justify-content: flex-start; }
    .sh-group-nav a { padding: 10px 14px; }
    .sh-group-heading { gap: 14px; }
    .sh-group-icon { flex-basis: 46px; height: 46px; border-radius: 14px; }
    .sh-group-icon .hp-icon { width: 24px; height: 24px; }
    .sh-hero-actions { gap: 22px; }
    .sh-hero .sh-facts { gap: 10px; }
    .sh-facts dd { font-size: 14px; }
    .sh-enquiry .shared-quote-card { padding: 22px; border-radius: 18px; }
    .sh-enquiry .shared-quote-fields { grid-template-columns: 1fr; }
    .sh-service-grid, .sh-industry-grid { grid-template-columns: 1fr; gap: 18px; }
    .sh-approach-grid { grid-template-columns: 1fr; }
    .sh-usp-grid { --usp-gap: 14px; }
}
@media (min-width: 992px) and (max-height: 850px) {
    .sh-breadcrumb { margin-bottom: 14px; }
    .sh-hero .sh-facts { margin-top: 20px; }
    .sh-hero .shared-quote-card { padding: 20px 24px; }
    .sh-hero .shared-quote-card h2 { font-size: 25px; margin-bottom: 16px; }
    .sh-hero .shared-quote-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .sh-hero .shared-quote-submit { margin-top: 16px; }
}
@media (min-width: 992px) and (max-height: 700px) {
    .sh-hero-grid-with-form { gap: clamp(24px, 3vw, 40px); }
    .sh-breadcrumb { margin-bottom: 8px; }
    .sh-hero-actions { gap: 10px 16px; }
    .sh-main .sh-action-caption { margin-top: 4px; }
    .sh-hero .sh-facts { margin-top: 12px; }
    .sh-facts > div { padding-top: 8px; }
    .sh-facts dd { margin-top: 4px; }
    .sh-hero .shared-quote-card { padding: 16px 20px; }
    .sh-hero .shared-quote-card h2 { font-size: 22px; margin-bottom: 12px; }
    .sh-hero .shared-quote-card .shared-quote-intro { margin-bottom: 12px; }
    .sh-hero .shared-quote-fields { gap: 8px 12px; }
    .sh-hero .shared-quote-field-wide { grid-column: auto; }
    .sh-hero .shared-quote-field label { margin-bottom: 4px; }
    .sh-hero .shared-quote-field :is(input, select, textarea) { min-height: 42px; padding-block: 8px; }
    .sh-hero .shared-quote-field textarea { height: 64px; }
    .sh-hero .shared-quote-submit { min-height: 44px; margin-top: 12px; }
}

/* Reusable quote inputs; every placement owns its surrounding editorial copy. */
.shared-quote-card { min-width: 0; padding: 30px; border: 1px solid var(--theme-border); border-radius: 22px; background: var(--theme-surface); color: var(--theme-text-primary); box-shadow: var(--theme-shadow); scroll-margin-top: 110px; font-family: var(--font-body); }
.shared-quote-card h2 { font: 800 30px/1.2 var(--font-heading); color: var(--theme-text-primary); margin: 0 0 24px; }
.shared-quote-card .shared-quote-intro { font-size: 16px; line-height: 1.6; margin: 0 0 24px; }
.shared-quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.shared-quote-field { min-width: 0; }
.shared-quote-field-wide { grid-column: 1 / -1; }
.shared-quote-field label { display: block; font-size: 14px; font-weight: 650; line-height: 1.5; margin-bottom: 7px; }
.shared-quote-required { color: #c81e3a; }
.shared-quote-field :is(input, textarea)::placeholder { color: #ccc; opacity: 1; }
.shared-quote-field :is(input, select, textarea) { display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #c8c5db; border-radius: 8px; background-color: var(--theme-surface); color: var(--theme-text-primary); font: 400 16px/1.5 var(--font-body); }
.shared-quote-field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d3f9b' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.shared-quote-field select:has(option[value=""]:checked), .shared-quote-field option[value=""] { color: #ccc; }
.shared-quote-field select option:not([value=""]) { color: var(--theme-text-primary); }
.shared-quote-field textarea { resize: vertical; }
.shared-quote-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--theme-violet); outline-offset: 2px; }
.shared-quote-submit { width: 100%; margin-top: 22px; cursor: pointer; }
.shared-quote-submit:disabled { opacity: .65; cursor: wait; }
.shared-quote-form .lead-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.shared-quote-form .form-alert { display: none; padding: 12px; margin-bottom: 16px; border-radius: 8px; font-size: 14px; line-height: 1.5; }
.shared-quote-form .form-alert.is-visible { display: block; }
.shared-quote-form .form-alert-success { color: #165b3e; background: #ecf9f1; }
.shared-quote-form .form-alert-error, .shared-quote-errors { color: #8b1634; background: #fff0f4; }
.shared-quote-errors { padding: 12px; margin-bottom: 16px; border-radius: 8px; font-size: 14px; line-height: 1.5; }
.shared-quote-errors p { margin: 0; }
@media (max-width: 575px) {
    .shared-quote-card { padding: 22px; border-radius: 18px; }
    .shared-quote-fields { grid-template-columns: 1fr; }
}
