/* ========================================================================
   SPECIALTY SERVICES (hub) — page-specific styles only.
   Shared shapes (.cred-bar, .cta-section/.cta-creds) live in style.css.
   Page-unique classes are ss- prefixed; the FAQ accordion keeps
   .faq-item/.faq-trigger/.faq-body for the shared vanilla-JS accordion.
   ======================================================================== */

/* =====================
   HERO (full-bleed photo)
   ===================== */
.ss-hero {
	position: relative; width: 100%; overflow: hidden;
	display: flex; align-items: center;
	padding: calc(84px + 7vw) clamp(24px,3.33vw,80px) 7vw;
	text-align: left; color: #fff;
	background: linear-gradient(155deg,#050d24 0%,#091e52 40%,#0f2868 70%,#07183e 100%);
}
.ss-hero-photo { position: absolute; inset: 0; z-index: 0; }
.ss-hero-photo img,
.ss-hero-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ss-hero-overlay-left { position: absolute; inset: 0; z-index: 2; background: linear-gradient(108deg,rgba(2,52,143,0.97) 0%,rgba(2,52,143,0.88) 25%,rgba(2,52,143,0.55) 50%,rgba(2,52,143,0.15) 70%,transparent 85%); }
.ss-hero-overlay-bottom { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; height: 60%; background: linear-gradient(to top,rgba(1,15,55,0.78) 0%,transparent 100%); }
.ss-hero-content { position: relative; z-index: 10; max-width: clamp(620px,52vw,1050px); margin: 0 auto 0 0; width: 100%; opacity: 0; transform: translateY(24px); animation: tpb-hero-fade-up 1.1s cubic-bezier(0.16,1,0.3,1) 0.1s forwards; }
@keyframes tpb-hero-fade-up { to { opacity: 1; transform: translateY(0); } }
.ss-hero-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: clamp(11px,0.73vw,16px); letter-spacing: 0.28em; text-transform: uppercase; color: #fff; margin: 0 0 1.45vw 0; }
.ss-hero-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px,4.58vw,100px); letter-spacing: 0.04em; line-height: 1.0; color: #fff; text-transform: uppercase; margin: 0 0 1.65vw 0; }
.ss-hero-sub { font-family: var(--font-body); font-weight: 400; font-size: clamp(15px,0.89vw,20px); line-height: 1.85; color: rgba(255,255,255,0.85); max-width: clamp(480px,40vw,760px); margin: 0 0 2vw 0; }
.ss-hero-cta-pair { display: flex; flex-wrap: wrap; gap: 14px; }
.ss-btn-hero { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 800; font-size: 14px; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; padding: 18px 32px; border-radius: 3px; background: #fff; color: var(--navy); transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.ss-btn-hero:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }

/* =====================
   SERVICE CARDS (5, photo + body)
   ===================== */
.ss-services { background: var(--white); padding: 104px 48px; }
.ss-services-inner { max-width: clamp(680px,85vw,1300px); margin: 0 auto; }
.ss-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ss-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.ss-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-top-color: var(--ocean); }
.ss-card-photo {
	position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden;
	background:
		linear-gradient(135deg, rgba(2,52,143,0.92) 0%, rgba(26,35,50,0.95) 100%),
		radial-gradient(ellipse at top right, rgba(3,151,214,0.3) 0%, transparent 70%);
}
.ss-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ss-card-body { padding: 32px 32px 28px; display: flex; flex-direction: column; flex: 1; min-height: 200px; }
.ss-card-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px,1.15vw,22px); letter-spacing: 0.04em; color: var(--navy); text-transform: uppercase; margin: 0 0 12px 0; line-height: 1.1; }
.ss-card-rule { width: 32px; height: 2px; background: var(--arctic); margin: 0 0 20px 0; }
.ss-card-summary { font-size: clamp(13px,0.73vw,15px); line-height: 1.6; color: var(--charcoal); margin: 0 0 24px 0; flex: 1; }
.ss-card-cta { font-family: var(--font-body); font-weight: 600; font-size: clamp(13px,0.73vw,15px); letter-spacing: 0.02em; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 2px; align-self: flex-start; transition: color 0.15s, border-color 0.15s; }
.ss-card:hover .ss-card-cta { color: var(--ocean); border-bottom-color: var(--ocean); }

/* =====================
   FAQ (accordion — vanilla JS in theme.js)
   ===================== */
.ss-faq { padding: 80px 48px; background: var(--alt); }
.ss-faq-inner { max-width: clamp(680px,72vw,1000px); margin: 0 auto; }
.ss-faq-header { margin-bottom: 48px; }
.ss-faq-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: var(--text-eyebrow); letter-spacing: 0.28em; text-transform: uppercase; color: var(--arctic); margin: 0 0 16px 0; }
.ss-faq-headline { font-family: var(--font-display); font-weight: 700; font-size: var(--text-section-headline); letter-spacing: 0.04em; line-height: 1; color: var(--navy); text-transform: uppercase; margin: 0; }
.ss-faq-card { background: var(--white); padding: 48px; border-radius: 4px; border: 1px solid var(--line); }
.ss-faq-card .faq-list { border-top: 1px solid var(--line); }
.ss-faq-card .faq-item { border-bottom: 1px solid var(--line); }
.ss-faq-card .faq-trigger {
	width: 100%; background: transparent; border: none;
	padding: 22px 0; display: flex; align-items: center; justify-content: space-between;
	cursor: pointer; font-family: var(--font-body);
	font-size: clamp(17px, calc(0.2vw + 16px), 19px); font-weight: 600; color: var(--charcoal);
	text-align: left; letter-spacing: -0.005em; line-height: 1.4;
	-webkit-appearance: none; appearance: none;
}
.ss-faq-card .faq-trigger:hover { color: var(--navy); }
.ss-faq-card .faq-icon { width: 18px; height: 18px; flex-shrink: 0; margin-left: 24px; position: relative; display: flex; align-items: center; justify-content: center; }
.ss-faq-card .faq-icon::before,
.ss-faq-card .faq-icon::after { content: ""; position: absolute; background: var(--arctic); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.ss-faq-card .faq-icon::before { width: 14px; height: 2px; }
.ss-faq-card .faq-icon::after { width: 2px; height: 14px; }
.ss-faq-card .faq-item.open .faq-icon::after { transform: rotate(90deg); }
.ss-faq-card .faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.ss-faq-card .faq-body-inner { padding: 0 0 26px; font-size: clamp(15.5px, calc(0.18vw + 14.7px), 17px); line-height: 1.7; color: var(--muted); max-width: 760px; }
.ss-faq-card .faq-body-inner a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.ss-faq-card .faq-body-inner a:hover { color: var(--ocean); }
.ss-faq-card .faq-body-inner p { margin-bottom: 14px; }
.ss-faq-card .faq-body-inner p:last-child { margin-bottom: 0; }
.ss-faq-card .faq-body-inner strong { color: var(--charcoal); font-weight: 700; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
	.ss-services { padding: 72px 24px; }
	.ss-grid { grid-template-columns: repeat(2,1fr); gap: 18px; }
	.ss-card-body { padding: 24px 24px 22px; min-height: 0; }
}
@media (max-width: 760px) {
	.ss-hero { padding: 120px 24px 64px; }
	.ss-hero-content { max-width: 100%; }
	.ss-hero-h1 br { display: none; }
	.ss-hero-sub { font-size: 16px; max-width: 100%; }
	.ss-hero-cta-pair { flex-direction: column; align-items: stretch; }
	.ss-btn-hero { text-align: center; padding: 16px 24px; font-size: 13px; }
	.ss-faq { padding: 64px 24px; }
	.ss-faq-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
	.ss-grid { grid-template-columns: 1fr; gap: 16px; }
}
