/* ==========================================================================
   StayHygge Services — Frontend CSS Foundation
   Design system: Scandinavian-luxury aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Property Defaults
   -------------------------------------------------------------------------- */

.shs-service {
    --shs-primary:       #728474;
    --shs-accent:        #a88f7b;
    --shs-text:          #304238;
    --shs-text-light:    #857f76;
    --shs-bg:            #f6f3ed;
    --shs-bg-alt:        #efe9dd;
    --shs-bg-dark:       #304238;
    --shs-font:          'Inter', sans-serif;
    --shs-font-heading:  'Jost', sans-serif;
    --shs-font-accent:   'Jost', sans-serif;
    --shs-radius:        6px;
    --shs-shadow:        0 2px 12px rgba(0, 0, 0, 0.08);
    --shs-shadow-md:     0 6px 24px rgba(0, 0, 0, 0.12);
    --shs-shadow-lg:     0 16px 48px rgba(0, 0, 0, 0.16);
    --shs-transition:    0.3s ease;
    --shs-max-width:     1200px;
}

/* --------------------------------------------------------------------------
   2. Scoped Box-Sizing & Font Smoothing Reset
   -------------------------------------------------------------------------- */

.shs-service *,
.shs-service *::before,
.shs-service *::after {
    box-sizing: border-box;
}

.shs-service {
    -webkit-font-smoothing:  antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--shs-font);
    color: var(--shs-text);
    background-color: var(--shs-bg);
    line-height: 1.6;
}

.shs-service h1,
.shs-service h2,
.shs-service h3,
.shs-service h4,
.shs-service h5,
.shs-service h6,
.shs-service p {
    margin: 0;
    padding: 0;
}

.shs-service img {
    max-width: 100%;
    height: auto;
    display: block;
}

.shs-service a {
    color: var(--shs-primary);
    text-decoration: none;
    transition: color var(--shs-transition);
}

.shs-service a:hover {
    color: var(--shs-accent);
}

.shs-service ul,
.shs-service ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

.shs-service h1,
.shs-service h2,
.shs-service h3,
.shs-service h4,
.shs-service h5,
.shs-service h6 {
    font-family: var(--shs-font-heading);
}

.shs-service h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--shs-text);
}

.shs-service h2 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--shs-text);
}

.shs-service h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--shs-text);
}

.shs-service h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--shs-text);
}

.shs-service p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--shs-text-light);
}

.shs-service p + p {
    margin-top: 1em;
}

/* Accent font — cursive script for warmth */
.shs-service .shs-accent-font {
    font-family: var(--shs-font-accent);
    font-weight: 400;
}

/* Lead paragraph */
.shs-service .shs-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--shs-text-light);
}

/* Small label / eyebrow text */
.shs-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--shs-accent);
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   4. Layout — Container & Section
   -------------------------------------------------------------------------- */

.shs-container {
    max-width: var(--shs-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.shs-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.shs-section--dark {
    background-color: var(--shs-bg-dark);
    color: #ffffff;
}

.shs-section--dark p,
.shs-section--dark .shs-section__subheading {
    color: rgba(255, 255, 255, 0.72);
}

.shs-section--dark h1,
.shs-section--dark h2,
.shs-section--dark h3,
.shs-section--dark h4,
.shs-section--dark .shs-section__heading {
    color: #ffffff;
}

.shs-section--alt {
    background-color: var(--shs-bg-alt);
}

.shs-section--primary {
    background-color: var(--shs-primary);
    color: #ffffff;
}

.shs-section--primary p,
.shs-section--primary .shs-section__subheading {
    color: rgba(255, 255, 255, 0.80);
}

.shs-section--primary h1,
.shs-section--primary h2,
.shs-section--primary h3,
.shs-section--primary .shs-section__heading {
    color: #ffffff;
}

/* Section heading & subheading */
.shs-section__heading {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--shs-text);
    margin-bottom: 16px;
}

.shs-section__subheading {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--shs-text-light);
    margin-bottom: 48px;
}

.shs-section__header {
    margin-bottom: 48px;
}

.shs-section__header.shs-text-center .shs-section__subheading {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   5. Button Styles
   -------------------------------------------------------------------------- */

.shs-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--shs-radius);
    font-family: var(--shs-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background-color var(--shs-transition),
                color var(--shs-transition),
                border-color var(--shs-transition),
                box-shadow var(--shs-transition),
                transform var(--shs-transition);
    white-space: nowrap;
    vertical-align: middle;
    -webkit-appearance: none;
    appearance: none;
}

.shs-btn:focus-visible {
    outline: 3px solid var(--shs-accent);
    outline-offset: 3px;
}

.shs-btn:active {
    transform: translateY(1px);
}

/* Primary button */
.shs-btn--primary {
    background-color: var(--shs-primary);
    color: #ffffff;
    border-color: var(--shs-primary);
}

.shs-btn--primary:hover {
    background-color: color-mix(in srgb, var(--shs-primary) 80%, #000);
    border-color: color-mix(in srgb, var(--shs-primary) 80%, #000);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

/* Accent button */
.shs-btn--accent {
    background-color: var(--shs-accent);
    color: #ffffff;
    border-color: var(--shs-accent);
}

.shs-btn--accent:hover {
    background-color: color-mix(in srgb, var(--shs-accent) 80%, #000);
    border-color: color-mix(in srgb, var(--shs-accent) 80%, #000);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

/* Outline button */
.shs-btn--outline {
    background-color: transparent;
    color: var(--shs-primary);
    border-color: var(--shs-primary);
}

.shs-btn--outline:hover {
    background-color: var(--shs-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Outline accent variant */
.shs-btn--outline-accent {
    background-color: transparent;
    color: var(--shs-accent);
    border-color: var(--shs-accent);
}

.shs-btn--outline-accent:hover {
    background-color: var(--shs-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Ghost — white text on dark backgrounds */
.shs-btn--ghost {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.shs-btn--ghost:hover {
    background-color: #ffffff;
    color: var(--shs-text);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Size modifiers */
.shs-btn--lg {
    padding: 18px 40px;
    font-size: 1.0625rem;
}

.shs-btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Button group */
.shs-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* --------------------------------------------------------------------------
   6. Card Base
   -------------------------------------------------------------------------- */

.shs-card {
    background-color: #ffffff;
    border-radius: var(--shs-radius);
    box-shadow: var(--shs-shadow);
    overflow: hidden;
    transition: transform var(--shs-transition),
                box-shadow var(--shs-transition);
}

.shs-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shs-shadow-md);
}

.shs-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.shs-card__body {
    padding: 24px;
}

.shs-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--shs-text);
    margin-bottom: 8px;
}

.shs-card__text {
    font-size: 0.9375rem;
    color: var(--shs-text-light);
    line-height: 1.65;
}

/* Highlighted / featured card */
.shs-card--featured {
    border: 2px solid var(--shs-primary);
}

.shs-card--accent {
    border-top: 4px solid var(--shs-accent);
}

/* --------------------------------------------------------------------------
   7. Grid Utilities
   -------------------------------------------------------------------------- */

.shs-grid {
    display: grid;
    gap: 24px;
}

.shs-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.shs-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.shs-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Auto-fill variant — fills available space */
.shs-grid--auto {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* --------------------------------------------------------------------------
   8. Form Wrapper
   -------------------------------------------------------------------------- */

.shs-form-wrapper {
    background-color: var(--shs-bg-alt);
    padding: 32px;
    border-radius: var(--shs-radius);
    max-width: 500px;
}

.shs-form-wrapper--centered {
    margin-left: auto;
    margin-right: auto;
}

.shs-form-group {
    margin-bottom: 20px;
}

.shs-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--shs-text);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.shs-form-input,
.shs-form-textarea,
.shs-form-select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--shs-font);
    font-size: 1rem;
    color: var(--shs-text);
    background-color: #ffffff;
    border: 1.5px solid #d8d8d8;
    border-radius: var(--shs-radius);
    transition: border-color var(--shs-transition), box-shadow var(--shs-transition);
    -webkit-appearance: none;
    appearance: none;
}

.shs-form-input:focus,
.shs-form-textarea:focus,
.shs-form-select:focus {
    outline: none;
    border-color: var(--shs-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--shs-primary) 18%, transparent);
}

.shs-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* --------------------------------------------------------------------------
   9. Star Rating Display
   -------------------------------------------------------------------------- */

.shs-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.shs-star {
    display: inline-block;
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
}

.shs-star--filled {
    color: #f5a623;
}

.shs-star--half {
    color: #f5a623;
    opacity: 0.6;
}

.shs-star--empty {
    color: #dddddd;
}

.shs-stars__count {
    margin-left: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--shs-text);
}

/* --------------------------------------------------------------------------
   10. Utility Classes
   -------------------------------------------------------------------------- */

/* Text alignment */
.shs-text-center { text-align: center; }
.shs-text-left   { text-align: left; }
.shs-text-right  { text-align: right; }

/* Margin-bottom scale */
.shs-mb-0 { margin-bottom: 0; }
.shs-mb-1 { margin-bottom: 8px; }
.shs-mb-2 { margin-bottom: 16px; }
.shs-mb-3 { margin-bottom: 24px; }
.shs-mb-4 { margin-bottom: 32px; }
.shs-mb-5 { margin-bottom: 48px; }
.shs-mb-6 { margin-bottom: 64px; }

/* Margin-top scale */
.shs-mt-0 { margin-top: 0; }
.shs-mt-1 { margin-top: 8px; }
.shs-mt-2 { margin-top: 16px; }
.shs-mt-3 { margin-top: 24px; }
.shs-mt-4 { margin-top: 32px; }
.shs-mt-5 { margin-top: 48px; }

/* Flex helpers */
.shs-flex         { display: flex; }
.shs-flex-center  { display: flex; align-items: center; justify-content: center; }
.shs-flex-between { display: flex; align-items: center; justify-content: space-between; }
.shs-flex-wrap    { flex-wrap: wrap; }
.shs-gap-1        { gap: 8px; }
.shs-gap-2        { gap: 16px; }
.shs-gap-3        { gap: 24px; }
.shs-gap-4        { gap: 32px; }

/* Color tints */
.shs-color-primary { color: var(--shs-primary); }
.shs-color-accent  { color: var(--shs-accent); }
.shs-color-muted   { color: var(--shs-text-light); }

/* Visual divider */
.shs-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

/* Badge / tag pill */
.shs-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background-color: var(--shs-bg-alt);
    color: var(--shs-text);
}

.shs-badge--primary {
    background-color: rgba(114, 132, 116, 0.14);
    color: var(--shs-primary);
}

.shs-badge--accent {
    background-color: rgba(192, 106, 70, 0.12);
    color: var(--shs-accent);
}

/* Icon wrapper */
.shs-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--shs-radius);
    background-color: rgba(114, 132, 116, 0.1);
    color: var(--shs-primary);
    flex-shrink: 0;
}

.shs-icon-wrap--accent {
    background-color: rgba(192, 106, 70, 0.1);
    color: var(--shs-accent);
}

.shs-icon-wrap svg,
.shs-icon-wrap img {
    width: 28px;
    height: 28px;
}

/* Visually hidden (screen reader only) */
.shs-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --------------------------------------------------------------------------
   11. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet — 1024px and below */
@media (max-width: 1024px) {
    .shs-service h1             { font-size: 2.5rem; }
    .shs-service h2             { font-size: 2rem; }
    .shs-section__heading       { font-size: 2rem; }

    .shs-section                { padding-top: 64px; padding-bottom: 64px; }

    .shs-grid--4                { grid-template-columns: repeat(2, 1fr); }
    .shs-grid--3                { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — 768px and below */
@media (max-width: 768px) {
    .shs-service h1             { font-size: 2rem; }
    .shs-service h2             { font-size: 1.625rem; }
    .shs-service h3             { font-size: 1.25rem; }
    .shs-section__heading       { font-size: 1.625rem; }
    .shs-section__subheading    { font-size: 1rem; margin-bottom: 32px; }

    .shs-section                { padding-top: 48px; padding-bottom: 48px; }
    .shs-container              { padding-left: 16px; padding-right: 16px; }

    .shs-grid--2,
    .shs-grid--3,
    .shs-grid--4                { grid-template-columns: 1fr; }

    .shs-btn--lg                { padding: 16px 28px; font-size: 1rem; }

    .shs-form-wrapper           { padding: 24px 20px; }

    .shs-section__header        { margin-bottom: 32px; }

    .shs-btn-group              { flex-direction: column; align-items: stretch; }
    .shs-btn-group .shs-btn     { text-align: center; }
}

/* Extra small — 480px and below */
@media (max-width: 480px) {
    .shs-service h1             { font-size: 1.75rem; }
    .shs-service h2             { font-size: 1.5rem; }
    .shs-section__heading       { font-size: 1.5rem; }
}


/* ==========================================================================
   SECTION-SPECIFIC STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   S1. Hero
   -------------------------------------------------------------------------- */

.shs-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
}

.shs-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.shs-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: #000000;
    z-index: 1;
}

.shs-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--shs-bg), transparent);
    z-index: 2;
    pointer-events: none;
}

.shs-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 24px;
    max-width: 800px;
}

.shs-hero__headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.shs-hero__subheadline {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.shs-hero__hook {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 32px;
}

@media (max-width: 1024px) {
    .shs-hero__headline { font-size: 2.75rem; }
    .shs-hero__hook     { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .shs-hero            { min-height: 70vh; }
    .shs-hero__headline  { font-size: 2rem; }
    .shs-hero__subheadline { font-size: 1.0625rem; }
    .shs-hero__hook      { font-size: 1.25rem; }
    .shs-hero__content   { padding: 60px 16px; }
}

@media (max-width: 480px) {
    .shs-hero__headline { font-size: 1.75rem; }
}

/* --------------------------------------------------------------------------
   S2. Social Proof
   -------------------------------------------------------------------------- */

.shs-social-proof__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.shs-social-proof__logo {
    max-width: 120px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter var(--shs-transition), opacity var(--shs-transition);
}

.shs-social-proof__logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.shs-social-proof__logo img {
    max-height: 48px;
    width: auto;
}

.shs-social-proof__stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    margin-top: 24px;
}

.shs-social-proof__stat {
    text-align: center;
}

.shs-social-proof__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--shs-primary);
    line-height: 1.2;
}

.shs-social-proof__label {
    display: block;
    font-size: 0.875rem;
    color: var(--shs-text-light);
    margin-top: 4px;
}

.shs-social-proof__featured {
    margin-top: 32px;
    font-size: 0.9375rem;
    color: var(--shs-text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .shs-social-proof__stats { gap: 24px; }
    .shs-social-proof__number { font-size: 2rem; }
    .shs-social-proof__logos { gap: 20px; }
    .shs-social-proof__logo { max-width: 80px; }
}

/* --------------------------------------------------------------------------
   S3. Problem
   -------------------------------------------------------------------------- */

.shs-problem__inner {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.shs-problem__body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.shs-problem__body p + p {
    margin-top: 1em;
}

/* --------------------------------------------------------------------------
   S4. Benefits
   -------------------------------------------------------------------------- */

.shs-benefits__card .shs-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shs-benefits__card .shs-icon-wrap {
    margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   S5. How It Works
   -------------------------------------------------------------------------- */

.shs-how-it-works__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    position: relative;
}

.shs-how-it-works__steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--shs-primary);
    opacity: 0.25;
    z-index: 0;
}

.shs-how-it-works__step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    max-width: 260px;
}

.shs-how-it-works__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--shs-primary);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.shs-how-it-works__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.shs-how-it-works__desc {
    font-size: 0.9375rem;
    color: var(--shs-text-light);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .shs-how-it-works__steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .shs-how-it-works__steps::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }
    .shs-how-it-works__step { max-width: 400px; }
}

/* --------------------------------------------------------------------------
   S6. Services Detail
   -------------------------------------------------------------------------- */

/* Accordion */
.shs-accordion__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shs-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--shs-font);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--shs-text);
    text-align: left;
    transition: color var(--shs-transition);
}

.shs-accordion__trigger:hover {
    color: var(--shs-primary);
}

.shs-accordion__icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--shs-primary);
    transition: transform var(--shs-transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.shs-accordion__trigger[aria-expanded="true"] .shs-accordion__icon {
    transform: rotate(45deg);
}

.shs-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.shs-accordion__content {
    padding-bottom: 20px;
    font-size: 0.9375rem;
    color: var(--shs-text-light);
    line-height: 1.75;
}

/* Tabs */
.shs-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
}

.shs-tabs__tab {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-family: var(--shs-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--shs-text-light);
    transition: color var(--shs-transition), border-color var(--shs-transition);
}

.shs-tabs__tab:hover {
    color: var(--shs-text);
}

.shs-tabs__tab--active {
    color: var(--shs-primary);
    border-bottom-color: var(--shs-primary);
}

.shs-tabs__panel {
    display: none;
}

.shs-tabs__panel--active {
    display: block;
}

.shs-tabs__image {
    border-radius: var(--shs-radius);
    margin-bottom: 20px;
}

.shs-tabs__text {
    font-size: 0.9375rem;
    color: var(--shs-text-light);
    line-height: 1.75;
}

@media (max-width: 768px) {
    .shs-tabs__tab { padding: 10px 16px; font-size: 0.875rem; }
}

/* --------------------------------------------------------------------------
   S7. Portfolio
   -------------------------------------------------------------------------- */

.shs-portfolio__grid--grid {
    display: grid;
    grid-template-columns: repeat(var(--shs-portfolio-cols, 3), 1fr);
    gap: 16px;
}

.shs-portfolio__grid--masonry {
    column-count: var(--shs-portfolio-cols, 3);
    column-gap: 16px;
}

.shs-portfolio__grid--masonry .shs-portfolio__item {
    break-inside: avoid;
    margin-bottom: 16px;
}

.shs-portfolio__item {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--shs-radius);
    cursor: pointer;
}

.shs-portfolio__image {
    width: 100%;
    display: block;
    transition: transform var(--shs-transition);
}

.shs-portfolio__item:hover .shs-portfolio__image {
    transform: scale(1.04);
}

.shs-portfolio__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity var(--shs-transition);
}

.shs-portfolio__item:hover .shs-portfolio__caption {
    opacity: 1;
}

@media (max-width: 1024px) {
    .shs-portfolio__grid--grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shs-portfolio__grid--masonry {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .shs-portfolio__grid--grid {
        grid-template-columns: 1fr;
    }
    .shs-portfolio__grid--masonry {
        column-count: 1;
    }
}

/* --------------------------------------------------------------------------
   S8. Testimonials
   -------------------------------------------------------------------------- */

.shs-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.shs-testimonials__grid--carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 24px;
    padding-bottom: 8px;
}

.shs-testimonials__grid--carousel .shs-testimonials__card {
    min-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.shs-testimonials__quote {
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--shs-text-light);
    line-height: 1.75;
    margin-bottom: 20px;
}

.shs-testimonials__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shs-testimonials__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.shs-testimonials__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shs-testimonials__initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--shs-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.shs-testimonials__name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--shs-text);
}

.shs-testimonials__role {
    display: block;
    font-size: 0.8125rem;
    color: var(--shs-text-light);
}

@media (max-width: 1024px) {
    .shs-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .shs-testimonials__grid { grid-template-columns: 1fr; }
    .shs-testimonials__grid--carousel .shs-testimonials__card { min-width: 280px; }
}

/* --------------------------------------------------------------------------
   S9. Case Studies
   -------------------------------------------------------------------------- */

.shs-case-studies__list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.shs-case-studies__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.shs-before-after {
    position: relative;
    overflow: hidden;
    border-radius: var(--shs-radius);
}

.shs-before-after__before,
.shs-before-after__after {
    position: relative;
}

.shs-before-after__after {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
}

.shs-before-after__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shs-before-after__label {
    position: absolute;
    bottom: 12px;
    padding: 4px 12px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 4px;
}

.shs-before-after__before .shs-before-after__label { left: 12px; }
.shs-before-after__after .shs-before-after__label  { right: 12px; }

.shs-before-after__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #ffffff;
    cursor: ew-resize;
    z-index: 2;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.shs-before-after__handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: var(--shs-shadow);
}

.shs-case-studies__body h3 {
    margin-bottom: 8px;
}

.shs-case-studies__desc {
    margin-bottom: 16px;
}

.shs-case-studies__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 768px) {
    .shs-case-studies__item {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   S10. Pricing
   -------------------------------------------------------------------------- */

.shs-pricing__tier--highlighted {
    border: 2px solid var(--shs-accent);
    transform: scale(1.04);
    box-shadow: var(--shs-shadow-md);
}

.shs-pricing__tier--highlighted:hover {
    transform: scale(1.06);
}

.shs-pricing__name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.shs-pricing__price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--shs-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.shs-pricing__desc {
    font-size: 0.9375rem;
    color: var(--shs-text-light);
    margin-bottom: 24px;
}

.shs-pricing__features {
    text-align: left;
    margin-bottom: 24px;
}

.shs-pricing__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--shs-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shs-pricing__check {
    color: var(--shs-primary);
    flex-shrink: 0;
}

.shs-pricing__check svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .shs-pricing__tier--highlighted {
        transform: none;
    }
    .shs-pricing__tier--highlighted:hover {
        transform: translateY(-4px);
    }
}

/* --------------------------------------------------------------------------
   S11. Service Area
   -------------------------------------------------------------------------- */

.shs-service-area__desc {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.shs-service-area__towns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.shs-service-area__pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 100px;
    background-color: rgba(114, 132, 116, 0.12);
    color: var(--shs-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.shs-service-area__map {
    border-radius: var(--shs-radius);
    overflow: hidden;
    box-shadow: var(--shs-shadow);
}

.shs-service-area__map iframe {
    width: 100%;
    min-height: 400px;
    display: block;
    border: none;
}

@media (max-width: 768px) {
    .shs-service-area__map iframe { min-height: 280px; }
}

/* --------------------------------------------------------------------------
   S12. FAQ
   -------------------------------------------------------------------------- */

.shs-faq__list {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.shs-faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shs-faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.shs-faq__question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--shs-text);
    margin: 0;
    flex: 1;
}

.shs-faq__icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--shs-primary);
    transition: transform var(--shs-transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.shs-faq__trigger[aria-expanded="true"] .shs-faq__icon {
    transform: rotate(45deg);
}

.shs-faq__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.shs-faq__answer {
    padding-bottom: 20px;
    font-size: 0.9375rem;
    color: var(--shs-text-light);
    line-height: 1.75;
}

.shs-faq__answer p + p {
    margin-top: 0.75em;
}

/* --------------------------------------------------------------------------
   S13. Mid CTA
   -------------------------------------------------------------------------- */

.shs-mid-cta {
    position: relative;
    padding: 72px 24px;
    color: #ffffff;
    overflow: hidden;
}

.shs-mid-cta__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.shs-mid-cta__content {
    position: relative;
    z-index: 1;
}

.shs-mid-cta__headline {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.shs-mid-cta__body {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .shs-mid-cta { padding: 56px 16px; }
    .shs-mid-cta__headline { font-size: 1.5rem; }
}

/* --------------------------------------------------------------------------
   S14. CTA Final
   -------------------------------------------------------------------------- */

.shs-cta-final__grid {
    display: flex;
    gap: 48px;
    align-items: center;
}

.shs-cta-final__info {
    flex: 1;
}

.shs-cta-final .shs-form-wrapper {
    flex: 0 0 420px;
    max-width: 420px;
}

.shs-cta-final__contacts {
    margin-top: 24px;
}

.shs-cta-final__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
}

.shs-cta-final__contact a {
    color: rgba(255, 255, 255, 0.85);
}

.shs-cta-final__contact a:hover {
    color: #ffffff;
}

.shs-cta-final__contact span {
    color: rgba(255, 255, 255, 0.75);
}

.shs-cta-final__icon {
    color: var(--shs-accent);
    flex-shrink: 0;
}

.shs-cta-final__icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .shs-cta-final__grid {
        flex-direction: column;
    }
    .shs-cta-final .shs-form-wrapper {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   S15: Lightbox
   -------------------------------------------------------------------------- */

.shs-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.shs-lightbox--active { opacity: 1; }
.shs-lightbox__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.9); }
.shs-lightbox__img { position: relative; max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.shs-lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 1; background: none; border: none; color: white; font-size: 32px; cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.shs-lightbox__prev, .shs-lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; background: rgba(255,255,255,0.1); border: none; color: white; font-size: 36px; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.shs-lightbox__prev:hover, .shs-lightbox__next:hover { background: rgba(255,255,255,0.25); }
.shs-lightbox__prev { left: 16px; }
.shs-lightbox__next { right: 16px; }

/* ==========================================================================
   S16: Form Popup Modal
   ========================================================================== */

.shs-form-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shs-form-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.shs-form-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.shs-form-modal__content {
    position: relative;
    background: var(--shs-bg, #fff);
    border-radius: var(--shs-radius, 8px);
    padding: 40px;
    max-width: 560px;
    width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.shs-form-modal[aria-hidden="false"] .shs-form-modal__content {
    transform: translateY(0);
}

.shs-form-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--shs-text-light, #666);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.shs-form-modal__close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--shs-text, #2a2a2a);
}

.shs-form-modal__body iframe {
    width: 100% !important;
    min-height: 400px;
}

@media (max-width: 768px) {
    .shs-form-modal__content {
        padding: 24px 16px;
        max-width: 100vw;
        width: 95vw;
        border-radius: 12px 12px 0 0;
        max-height: 85vh;
    }
}

/* =========================================================================
 * Match the StayHygge Core design style — light UPPERCASE Jost headings,
 * wide-tracked eyebrows, and sharp flat buttons. Appended last so these win
 * over the component base rules without touching their font-sizes/colors.
 * ========================================================================= */

.shs-service h1,
.shs-service h2,
.shs-service h3,
.shs-service h4,
.shs-service h5,
.shs-service h6,
.shs-service .shs-hero__headline,
.shs-service .shs-section__heading {
    font-family: var(--shs-font-heading);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.15;
}

.shs-service .shs-eyebrow {
    font-family: var(--shs-font-heading);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.34em;
}

.shs-service .shs-btn {
    font-family: var(--shs-font-heading);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 0;
    border-width: 1px;
}
.shs-service .shs-btn:hover {
    transform: none;
    box-shadow: none;
}

/* =========================================================================
 * Bug fixes (v1.5.1)
 * ========================================================================= */

/* Section headings/subheadings relied on INHERITED centering from
   .shs-text-center; a theme's direct p/h* rules override inheritance, leaving
   them left-aligned. Re-assert centering explicitly with higher specificity. */
.shs-service .shs-text-center h1,
.shs-service .shs-text-center h2,
.shs-service .shs-text-center h3,
.shs-service .shs-text-center h4,
.shs-service .shs-text-center p,
.shs-service .shs-text-center .shs-section__heading,
.shs-service .shs-text-center .shs-section__subheading,
.shs-service .shs-text-center .shs-lead {
    text-align: center;
}

/* HubSpot form popup: force dark, readable text (it otherwise inherits and can
   render nearly invisible against the light modal). */
.shs-form-modal__content,
.shs-form-modal__body,
.shs-form-modal__body p,
.shs-form-modal__body label,
.shs-form-modal__body legend,
.shs-form-modal__body h1,
.shs-form-modal__body h2,
.shs-form-modal__body h3,
.shs-form-modal__body input,
.shs-form-modal__body textarea,
.shs-form-modal__body select {
    color: var(--shs-text, #304238);
}
.shs-form-modal__heading {
    font-family: var(--shs-font-heading, 'Jost', sans-serif);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--shs-text, #304238);
    margin: 0 0 8px;
}
.shs-form-modal__intro {
    color: var(--shs-text-light, #857f76);
    margin: 0 0 20px;
}

/* =========================================================================
 * Bug fixes (v1.5.2) — specificity: base .shs-service a/h1/p rules (0-1-1)
 * were overriding component color rules (0-1-0). Re-assert at higher specificity.
 * ========================================================================= */

/* Bulletproof centering inside .shs-text-center blocks (covers named body
   classes like .shs-mid-cta__body, overriding theme + component rules). */
.shs-service .shs-text-center * {
    text-align: center;
}

/* Solid button text stayed dark because `.shs-service a { color: primary }`
   beat `.shs-btn--accent { color:#fff }` on <a> buttons. */
.shs-service .shs-btn--primary,
.shs-service .shs-btn--accent,
.shs-service .shs-btn--ghost {
    color: #ffffff;
}
.shs-service .shs-btn--outline { color: var(--shs-primary); }
.shs-service .shs-btn--outline-accent { color: var(--shs-accent); }

/* Hero text stayed dark because `.shs-service h1/p` beat `.shs-hero__*`. */
.shs-service .shs-hero__headline { color: #ffffff; }
.shs-service .shs-hero__subheadline { color: rgba( 255, 255, 255, 0.9 ); }
.shs-service .shs-hero__hook { color: rgba( 255, 255, 255, 0.92 ); }

/* =========================================================================
 * v1.5.6 — Center ALL section content page-wide (brand centered aesthetic).
 * The descendant `*` selector (0-2-0) beats theme element rules (p/h*).
 * Opt-outs below restore left-alignment where centering breaks usability.
 * ========================================================================= */
.shs-service .shs-container,
.shs-service .shs-container * {
    text-align: center;
}

/* Opt-outs: components that must stay left-aligned to work / read well.
   Same specificity as the center rule (0-2-0) but declared later, so they win. */
.shs-service .shs-form-wrapper,
.shs-service .shs-form-wrapper *,
.shs-service .shs-form-modal__body form,
.shs-service .shs-form-modal__body form *,
.shs-service .shs-accordion,
.shs-service .shs-accordion *,
.shs-service .shs-faq__list,
.shs-service .shs-faq__list *,
.shs-service .shs-pricing__features,
.shs-service .shs-pricing__features * {
    text-align: left;
}

/* Inline mid-page CTA nudges (after benefits / portfolio). */
.shs-inline-cta {
    margin-top: 48px;
}

/* =========================================================================
 * v1.5.8 — Force-center section body copy. These paragraphs kept reading
 * left despite correct specificity + block auto-margins; make it
 * un-overridable so no theme/plugin/cache-order rule can win, and
 * block-center any max-width copy.
 * ========================================================================= */
.shs-service .shs-lead,
.shs-service .shs-section__subheading,
.shs-service .shs-service-area__desc,
.shs-service .shs-problem__body,
.shs-service .shs-mid-cta__body,
.shs-service .shs-how-it-works__desc,
.shs-service .shs-card__text,
.shs-service .shs-cta-final__info .shs-lead {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================================
 * v1.5.9 — Popup form modal readability. The modal content is cream
 * (--shs-bg); HubSpot's own CSS (and a hidden site override) render labels
 * white/unreadable. Force dark label + field text; leave the submit button.
 * ========================================================================= */
.shs-form-modal__body label,
.shs-form-modal__body legend,
.shs-form-modal__body p,
.shs-form-modal__body .hs-form-field label,
.shs-form-modal__body .hs-field-desc,
.shs-form-modal__body .hs-form-required,
.shs-form-modal__body .hs-main-font-element,
.shs-form-modal__body .hs-richtext,
.shs-form-modal__body .hs-error-msg {
    color: var(--shs-text, #304238) !important;
}
.shs-form-modal__body input:not([type="submit"]):not([type="button"]),
.shs-form-modal__body textarea,
.shs-form-modal__body select {
    color: var(--shs-text, #304238) !important;
}

/* v1.5.9 — Hairline break between consecutive light sections that share a
   background (e.g. Service Area next to another cream section) so they don't
   blend into one block. Dark sections already provide their own contrast. */
.shs-service .shs-section:not(.shs-section--dark) + .shs-section:not(.shs-section--dark) {
    border-top: 1px solid var(--shs-border, #e7ddd0);
}

/* =========================================================================
 * v1.6.2 — HubSpot inline form labels render their text inside inner <span>s,
 * so coloring only <label> misses them. Force the whole label subtree dark
 * (explicit hex — --shs-text may be synced light). Keep the red required
 * asterisk and the submit button untouched.
 * ========================================================================= */
.shs-form-modal__body .hbspt-form label,
.shs-form-modal__body .hbspt-form label span:not(.hs-form-required),
.shs-form-modal__body .hbspt-form legend,
.shs-form-modal__body .hbspt-form .hs-field-desc,
.shs-form-modal__body .hbspt-form .hs-input {
    color: #304238 !important;
}

/* =========================================================================
 * v1.6.3 — Bulletproof popup form readability. The HubSpot form is built by
 * JS (markup not knowable ahead of time), so force ALL modal-body text dark
 * except the submit button and the red required asterisk. Inputs sit on light
 * fields so dark text is correct there too.
 * ========================================================================= */
.shs-form-modal__body,
.shs-form-modal__body *:not(.hs-button):not([type="submit"]):not([type="button"]):not(.hs-form-required):not(.shs-form-modal__close) {
    color: #304238 !important;
}

/* =========================================================================
 * v1.6.4 — Dark popup modal. Rather than fight HubSpot's JS-generated white
 * label colors, make the modal charcoal so the light labels are readable.
 * Form fields keep dark text on a forced-white field background; the submit
 * button stays white; the required asterisk keeps its own (red) colour.
 * This overrides the earlier "force dark" modal rules (higher specificity,
 * declared later).
 * ========================================================================= */
.shs-form-modal__content { background: #304238 !important; }
.shs-form-modal__close,
.shs-form-modal__heading,
.shs-form-modal__intro,
.shs-form-modal__body,
.shs-form-modal__body *:not(.hs-button):not([type="submit"]):not([type="button"]):not(input):not(textarea):not(select):not(.hs-form-required) {
    color: #f6f3ed !important;
}
.shs-form-modal__body input:not([type="submit"]):not([type="button"]),
.shs-form-modal__body textarea,
.shs-form-modal__body select {
    color: #304238 !important;
    background-color: #ffffff !important;
}
.shs-form-modal__body .hs-button,
.shs-form-modal__body input[type="submit"] {
    color: #ffffff !important;
}

/* =========================================================================
 * v1.6.7 — Final CTA inline form readability. The form card is light
 * (--bg-alt) but sits in the dark CTA section, so HubSpot's labels inherit
 * light text and wash out. Force dark text on the card; keep the sage submit
 * button white and the required asterisk red.
 * ========================================================================= */
.shs-cta-final .shs-form-wrapper,
.shs-cta-final .shs-form-wrapper *:not(.hs-button):not([type="submit"]):not([type="button"]):not(.hs-form-required) {
    color: #304238 !important;
}
.shs-cta-final .shs-form-wrapper input:not([type="submit"]):not([type="button"]),
.shs-cta-final .shs-form-wrapper textarea,
.shs-cta-final .shs-form-wrapper select {
    color: #304238 !important;
    background-color: #ffffff !important;
}
.shs-cta-final .shs-form-wrapper .hs-button,
.shs-cta-final .shs-form-wrapper input[type="submit"] {
    color: #ffffff !important;
}

/* =========================================================================
 * v1.6.8 — Center the Final CTA info column (headline / body / contacts) so
 * it reads balanced beside the form instead of sparse and left-hugging.
 * ========================================================================= */
.shs-cta-final__info {
    text-align: center;
}
.shs-cta-final__contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* =========================================================================
 * v1.6.9 — Final CTA form: STOP fighting HubSpot's white labels. Use the same
 * approach that worked for the popup — a dark form panel so the light labels
 * are readable no matter what HubSpot outputs; input fields forced to white
 * background + dark text; submit stays white. Supersedes the v1.6.7 attempt to
 * force labels dark on a cream card.
 * ========================================================================= */
.shs-cta-final .shs-form-wrapper {
    /* Clearly lighter than the dark section + a drop shadow so the card reads
       as a distinct, raised panel instead of blending into the dark row. */
    background-color: #3d4f44 !important;
    border: 1px solid rgba( 255, 255, 255, 0.16 );
    box-shadow: 0 16px 44px rgba( 0, 0, 0, 0.4 );
}
.shs-cta-final .shs-form-wrapper,
.shs-cta-final .shs-form-wrapper *:not(.hs-button):not([type="submit"]):not([type="button"]):not(.hs-form-required):not(input):not(textarea):not(select) {
    color: #f6f3ed !important;
}
.shs-cta-final .shs-form-wrapper input:not([type="submit"]):not([type="button"]),
.shs-cta-final .shs-form-wrapper textarea,
.shs-cta-final .shs-form-wrapper select {
    color: #304238 !important;
    background-color: #ffffff !important;
}
.shs-cta-final .shs-form-wrapper .hs-button,
.shs-cta-final .shs-form-wrapper input[type="submit"] {
    color: #ffffff !important;
}

/* =========================================================================
 * v1.6.11 — Lead / subheading body copy on DARK sections was inheriting the
 * muted --text-light color (.shs-lead at 0-2-0 beat the .shs-section--dark p
 * rule at 0-1-1), rendering near-invisible on charcoal (e.g. the Final CTA
 * body). Force it light on dark sections.
 * ========================================================================= */
.shs-service .shs-section--dark .shs-lead,
.shs-service .shs-section--dark .shs-section__subheading,
.shs-service .shs-section--dark .shs-cta-final__body {
    color: rgba( 255, 255, 255, 0.82 ) !important;
}
