/* ============================================================
   S.T Contracts Ltd - Individual Service Pages
   TEMPLATE STYLESHEET (shared by all individual service pages).
   Merges: individual-services-hero / features / process /
   projects / timeframes / faq into one file.
   Class convention: st-services-*
   Hero is a thin charcoal H1 strip (matches the contact page)
   with the review pill inside it.
   ============================================================ */

/* ---- Design tokens -------------------------------------- */
:root {
    --st-orange:       #F28823;
    --st-orange-hover: #d8731a;
    --st-orange-deep:  #c4640f;
    --st-orange-soft:  rgba(242,136,35,.10);

    --st-charcoal:   #23282d;
    --st-charcoal-2: #2c3238;

    --st-ink:    #23282d;
    --st-body:   #4a5159;
    --st-muted:  #828a93;
    --st-line:   #e7e9ec;

    --st-surface:     #ffffff;
    --st-surface-alt: #f5f6f8;

    --st-container: 1200px;
    --st-pad:       clamp(1.1rem, 4vw, 2.5rem);
    --st-section-y: clamp(3.75rem, 6vw, 6.25rem);

    --st-radius-sm: 8px;
    --st-radius:    12px;
    --st-radius-lg: 16px;
    --st-pill:      999px;

    --st-shadow-sm: 0 2px 12px rgba(20,26,32,.06);
    --st-shadow:    0 14px 40px rgba(20,26,32,.10);
    --st-shadow-lg: 0 24px 60px rgba(20,26,32,.16);

    --st-fast: .2s ease;
    --st-ease: .35s cubic-bezier(.2,.7,.3,1);

    --st-fs-h1:    clamp(1.7rem, 1.2rem + 1.9vw, 2.4rem);
    --st-fs-h2:    clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
    --st-fs-lead:  clamp(1.02rem, .96rem + .35vw, 1.18rem);
}

* { box-sizing: border-box; }

.st-services-container { max-width: var(--st-container); margin-inline: auto; padding-inline: var(--st-pad); }

/* Shared centred section header (orange underline) */
.st-services-shead { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.st-services-shead h2 {
    font-size: var(--st-fs-h2); font-weight: 800; color: var(--st-ink);
    letter-spacing: -.02em; margin: 0 0 1rem; padding-bottom: 1rem;
    position: relative; display: inline-block;
}
.st-services-shead h2::after {
    content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 64px; height: 3px; background: var(--st-orange); border-radius: 2px;
}
.st-services-shead p { font-size: var(--st-fs-lead); line-height: 1.7; color: var(--st-body); margin: 0; }
.st-services-shead a { color: var(--st-orange); font-weight: 700; text-decoration: none; }
.st-services-shead a:hover { text-decoration: underline; }

/* Shared buttons */
.st-services-btn,
.st-services-btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: 15px 34px; border-radius: var(--st-pill);
    font-size: 1rem; font-weight: 800; text-decoration: none;
    transition: background var(--st-fast), color var(--st-fast), border-color var(--st-fast), transform var(--st-fast), box-shadow var(--st-fast);
}
.st-services-btn { background: var(--st-orange); border: 2px solid var(--st-orange); color: #fff; box-shadow: 0 8px 22px rgba(242,136,35,.3); }
.st-services-btn:hover { background: var(--st-orange-hover); border-color: var(--st-orange-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242,136,35,.42); }
.st-services-btn-outline { background: transparent; border: 2px solid var(--st-charcoal); color: var(--st-ink); }
.st-services-btn-outline:hover { background: var(--st-orange); border-color: var(--st-orange); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242,136,35,.3); }

/* ============================================================
   HERO  (thin charcoal H1 strip + review pill)
   ============================================================ */
.st-services-hero {
    position: relative;
    background: var(--st-charcoal);
    border-top: 3px solid var(--st-orange);
    padding: clamp(2.25rem, 4vw, 3rem) 0;
    font-family: 'Mulish', sans-serif;
    overflow: hidden;
}
.st-services-hero::after {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 100% 0%, rgba(242,136,35,.16) 0%, transparent 55%);
}
.st-services-hero .st-services-container { position: relative; z-index: 1; }
.st-services-hero-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    color: #fcc78a; margin: 0 0 .6rem;
}
.st-services-hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--st-orange); border-radius: 2px; }
.st-services-hero-title {
    font-size: var(--st-fs-h1); font-weight: 800; color: #fff;
    margin: 0; letter-spacing: -.02em; line-height: 1.1;
}
.st-services-hero-text { font-size: var(--st-fs-lead); color: rgba(255,255,255,.74); margin: .65rem 0 0; max-width: 60ch; }
.st-services-hero-pill { margin-top: 1.25rem; }

/* ============================================================
   WHAT WE DO  (light band, checklist of work types + image)
   ============================================================ */
.st-services-whatwedo {
    background: var(--st-surface-alt);
    color: var(--st-body);
    padding: var(--st-section-y) 0;
    font-family: 'Mulish', sans-serif;
}
.st-services-whatwedo-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.st-services-whatwedo-intro { margin-bottom: 1.75rem; }
.st-services-whatwedo-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    color: var(--st-orange); margin: 0 0 .9rem;
}
.st-services-whatwedo-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--st-orange); border-radius: 2px; }
.st-services-whatwedo-intro h2 { font-size: var(--st-fs-h2); font-weight: 800; color: var(--st-ink); letter-spacing: -.02em; margin: 0 0 1rem; }
.st-services-whatwedo-intro p { font-size: var(--st-fs-lead); line-height: 1.7; color: var(--st-body); margin: 0; }
.st-services-whatwedo-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.75rem;
}
.st-services-whatwedo-list li {
    display: flex; align-items: flex-start; gap: .8rem;
    font-size: 1rem; line-height: 1.5; color: #3c434a;
}
.st-services-whatwedo-list li i {
    flex: 0 0 auto; margin-top: .15em;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    background: rgba(242,136,35,.15); color: var(--st-orange);
    border-radius: 7px; font-size: .72rem;
}

.st-services-whatwedo-media { margin: 0; position: relative; }
.st-services-whatwedo-media img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--st-radius-lg);
    box-shadow: var(--st-shadow);
}
.st-services-whatwedo-media figcaption {
    display: flex; align-items: center; gap: .6rem;
    margin-top: 1rem; font-size: .88rem; font-weight: 600;
    color: var(--st-muted);
}
.st-services-whatwedo-media figcaption i { color: var(--st-orange); }

@media (max-width: 860px) {
    .st-services-whatwedo-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .st-services-whatwedo-media { order: -1; max-width: 520px; }
}
@media (max-width: 540px) {
    .st-services-whatwedo-list { grid-template-columns: 1fr; }
}

/* ============================================================
   FEATURES  (cards + accreditation logos + CTA)
   ============================================================ */
.st-services-features { background: var(--st-surface); padding: var(--st-section-y) 0; font-family: 'Mulish', sans-serif; }
.st-services-features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.1rem, 2vw, 1.75rem); margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.st-services-feature {
    background: #fff; padding: 2.25rem 1.5rem; border-radius: var(--st-radius);
    text-align: center; border: 1px solid var(--st-line); box-shadow: var(--st-shadow-sm);
    transition: transform var(--st-ease), box-shadow var(--st-ease), border-color var(--st-ease);
}
.st-services-feature:hover { transform: translateY(-6px); box-shadow: var(--st-shadow); border-color: var(--st-orange); }
.st-services-feature-icon {
    width: 64px; height: 64px; margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--st-orange), var(--st-orange-deep));
    border-radius: 14px; display: grid; place-items: center;
}
.st-services-feature-icon i { font-size: 1.55rem; color: #fff; }
.st-services-feature h3 { font-size: 1.12rem; font-weight: 800; color: var(--st-ink); margin: 0 0 .65rem; }
.st-services-feature p { font-size: .94rem; line-height: 1.6; color: var(--st-body); margin: 0; }

.st-services-features-logos {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: clamp(1.75rem, 4vw, 3rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0;
    border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line);
    margin-bottom: clamp(2rem, 3vw, 3rem);
}
.st-services-features-logos img { height: 52px; width: auto; opacity: .75; }

.st-services-features-cta { text-align: center; }

/* ============================================================
   PROCESS  (split: steps + image)
   ============================================================ */
.st-services-process { background: var(--st-charcoal); padding: var(--st-section-y) 0; font-family: 'Mulish', sans-serif; }
.st-services-process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.st-services-process-content { max-width: 520px; }
.st-services-process-title {
    font-size: var(--st-fs-h2); font-weight: 800; color: #fff;
    letter-spacing: -.02em; margin: 0 0 1rem; padding-bottom: 1rem;
    position: relative; display: inline-block;
}
.st-services-process-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--st-orange); border-radius: 2px; }
.st-services-process-intro { font-size: var(--st-fs-lead); line-height: 1.7; color: rgba(255,255,255,.74); margin: 0 0 1.5rem; }
.st-services-process-pill { margin-bottom: 2rem; }
.st-services-process-steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.st-services-process-step {
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.15rem 1.25rem; background: rgba(255,255,255,.05);
    border-radius: var(--st-radius); border: 1px solid rgba(255,255,255,.1);
    transition: background var(--st-ease), border-color var(--st-ease), box-shadow var(--st-ease);
}
.st-services-process-step:hover { background: rgba(255,255,255,.08); border-color: var(--st-orange); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.st-services-process-step-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(242,136,35,.15);
    border-radius: 10px; display: grid; place-items: center;
    transition: background var(--st-ease);
}
.st-services-process-step:hover .st-services-process-step-icon { background: linear-gradient(135deg, var(--st-orange), var(--st-orange-deep)); }
.st-services-process-step-icon i { font-size: 1.1rem; color: var(--st-orange); transition: color var(--st-ease); }
.st-services-process-step:hover .st-services-process-step-icon i { color: #fff; }
.st-services-process-step-content h3 { font-size: 1.05rem; font-weight: 800; color: #fff; margin: 0 0 .25rem; }
.st-services-process-step-content p { font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0; }
.st-services-process-image { position: relative; }
.st-services-process-image img { width: 100%; height: auto; border-radius: var(--st-radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.st-services-process-image-caption {
    position: absolute; bottom: -20px; left: 20px; right: 20px;
    background: var(--st-orange); padding: 1rem 1.4rem; border-radius: 10px;
    box-shadow: var(--st-shadow); display: flex; align-items: center; gap: .75rem;
}
.st-services-process-image-caption i { color: #fff; font-size: 1.1rem; }
.st-services-process-image-caption span { font-size: .92rem; font-weight: 700; color: #fff; }

/* ============================================================
   PROJECTS  (gallery)
   ============================================================ */
.st-services-projects { background: var(--st-surface); padding: var(--st-section-y) 0; font-family: 'Mulish', sans-serif; }
.st-services-projects-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr;
    gap: clamp(1.1rem, 2vw, 1.5rem); margin-bottom: clamp(2.5rem, 4vw, 3rem);
}
.st-services-project { position: relative; border-radius: var(--st-radius); overflow: hidden; aspect-ratio: 4/3; }
.st-services-project-large { grid-row: span 2; aspect-ratio: auto; }
.st-services-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--st-ease); }
.st-services-project:hover img { transform: scale(1.08); }
.st-services-project-overlay {
    position: absolute; inset: 0; padding: 1.6rem;
    background: linear-gradient(to top, rgba(20,23,27,.9) 0%, rgba(20,23,27,.45) 55%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: background var(--st-ease);
}
.st-services-project:hover .st-services-project-overlay { background: linear-gradient(to top, rgba(242,136,35,.92) 0%, rgba(242,136,35,.55) 50%, transparent 100%); }
.st-services-project-tag {
    align-self: flex-start; background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
    padding: 5px 13px; border-radius: var(--st-pill); font-size: .72rem; font-weight: 700;
    color: #fff; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .7rem;
}
.st-services-project-overlay h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin: 0 0 .35rem; }
.st-services-project-overlay p { font-size: .92rem; color: rgba(255,255,255,.88); margin: 0; }
.st-services-projects-cta { text-align: center; }

/* ============================================================
   TIMEFRAMES  (horizontal cards)
   ============================================================ */
.st-services-timeframes { background: var(--st-surface-alt); padding: var(--st-section-y) 0; font-family: 'Mulish', sans-serif; }
.st-services-timeframes-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.25rem); margin-bottom: clamp(2.25rem, 4vw, 2.75rem);
}
.st-services-timeframe {
    display: flex; align-items: center; gap: 1.1rem;
    background: #fff; padding: 1.4rem 1.6rem; border-radius: var(--st-radius);
    border: 1px solid var(--st-line);
    transition: background var(--st-ease), border-color var(--st-ease), box-shadow var(--st-ease), transform var(--st-ease);
}
.st-services-timeframe:hover { background: #fff; border-color: var(--st-orange); box-shadow: var(--st-shadow); transform: translateY(-3px); }
.st-services-timeframe-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--st-charcoal), var(--st-charcoal-2));
    border-radius: 12px; display: grid; place-items: center; transition: background var(--st-ease);
}
.st-services-timeframe:hover .st-services-timeframe-icon { background: linear-gradient(135deg, var(--st-orange), var(--st-orange-deep)); }
.st-services-timeframe-icon i { font-size: 1.2rem; color: #fff; }
.st-services-timeframe-content { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.st-services-timeframe-content h3 { font-size: 1rem; font-weight: 800; color: var(--st-ink); margin: 0; }
.st-services-timeframe-duration { font-size: 1.1rem; font-weight: 800; color: var(--st-orange); white-space: nowrap; }
.st-services-timeframes-note { text-align: center; font-size: .95rem; line-height: 1.7; color: var(--st-muted); margin: 0 auto; max-width: 620px; }
.st-services-timeframes-note a { color: var(--st-orange); font-weight: 700; text-decoration: none; }
.st-services-timeframes-note a:hover { text-decoration: underline; }

/* ============================================================
   FAQ  (accordion) - state hooks preserved for faq-toggle.js
   ============================================================ */
.st-services-faq { background: var(--st-surface); padding: var(--st-section-y) 0; font-family: 'Mulish', sans-serif; }
.st-services-faq .st-services-container { max-width: 900px; }
.st-services-faq-grid { display: flex; flex-direction: column; gap: 1rem; }
.st-services-faq-item {
    background: #fff; border-radius: var(--st-radius); overflow: hidden;
    box-shadow: var(--st-shadow-sm); transition: box-shadow var(--st-ease), transform var(--st-ease);
}
.st-services-faq-item:hover { box-shadow: 0 12px 32px rgba(242,136,35,.12); transform: translateY(-2px); }
.st-services-faq-question {
    width: 100%; display: flex; align-items: center; gap: 1rem;
    padding: 1.4rem 1.6rem; background: #fff; border: none; cursor: pointer; text-align: left;
    font-family: 'Mulish', sans-serif;
    transition: background var(--st-ease);
}
.st-services-faq-item.active .st-services-faq-question { background: linear-gradient(135deg, var(--st-orange) 0%, var(--st-orange-deep) 100%); }
.st-services-faq-question-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa, #eee); border-radius: 11px;
    display: grid; place-items: center; transition: background var(--st-ease);
}
.st-services-faq-question-icon i { font-size: 1.15rem; color: var(--st-orange); transition: color var(--st-ease); }
.st-services-faq-item.active .st-services-faq-question-icon { background: rgba(255,255,255,.2); }
.st-services-faq-item.active .st-services-faq-question-icon i { color: #fff; }
.st-services-faq-question span { flex: 1; font-size: 1.02rem; font-weight: 700; color: var(--st-ink); transition: color var(--st-ease); }
.st-services-faq-item.active .st-services-faq-question span { color: #fff; }
.st-services-faq-arrow { color: var(--st-muted); font-size: .85rem; flex-shrink: 0; transition: color var(--st-ease), transform var(--st-ease); }
.st-services-faq-item:hover .st-services-faq-arrow { color: var(--st-orange); }
.st-services-faq-item.active .st-services-faq-arrow { color: #fff; transform: rotate(180deg); }
.st-services-faq-answer {
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
    background: linear-gradient(135deg, var(--st-charcoal) 0%, var(--st-charcoal-2) 100%);
}
.st-services-faq-item.active .st-services-faq-answer { max-height: 320px; }
.st-services-faq-answer p { padding: 1.4rem 1.6rem 1.6rem; font-size: .96rem; line-height: 1.7; color: rgba(255,255,255,.9); margin: 0; }
.st-services-faq-answer a { color: var(--st-orange); font-weight: 700; text-decoration: none; }
.st-services-faq-answer a:hover { color: #ffa04d; text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .st-services-features-grid { grid-template-columns: repeat(2, 1fr); }
    .st-services-projects-grid { grid-template-columns: repeat(2, 1fr); }
    .st-services-project-large { grid-row: span 1; aspect-ratio: 4/3; }
    .st-services-timeframes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .st-services-process-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .st-services-process-content { max-width: none; order: 2; }
    .st-services-process-image { order: 1; }
    .st-services-features-grid { grid-template-columns: 1fr; }
    .st-services-projects-grid { grid-template-columns: 1fr; }
    .st-services-project { aspect-ratio: 16/10; }
    .st-services-timeframes-grid { grid-template-columns: 1fr; }
    .st-services-btn, .st-services-btn-outline { width: 100%; }
}
