/* ============================================================
   HamTech Automation — dedicated service pages
   Shared structural layer (breadcrumb, hero shell, feature list,
   CTA banner). Each page's own <slug>.css supplies its unique
   animated hero visual inside .svc-hero-visual — this file only
   owns layout/position, never the animation itself, so the four
   pages' CSS files never need to touch the same rules.
   ============================================================ */

.svc-hero {
    position: relative;
    padding: 8.5rem 0 4rem;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255, 122, 47, 0.10), transparent 60%),
        var(--ce-board) !important;
}
.svc-crumb {
    font-family: var(--ce-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ce-text-muted);
    margin-bottom: 1.75rem;
}
.svc-crumb a { color: var(--ce-text-muted); }
.svc-crumb a:hover { color: var(--ce-amber); }
.svc-crumb .sep { margin: 0 0.5em; opacity: 0.5; }

/* mount for the page's unique animated SVG/canvas — sized/positioned
   here, styled and populated by the page's own <slug>.css + inline SVG */
.svc-hero-visual {
    position: relative;
    width: min(50vw, 280px);
    height: min(50vw, 280px);
    margin: 0 auto 1.5rem;
    z-index: 1;
}
.svc-hero-visual svg,
.svc-hero-visual canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.svc-hero-heading {
    position: relative;
    z-index: 2;
    font-family: var(--ce-display);
    letter-spacing: 0.02em;
    font-size: clamp(2rem, 5vw, 3rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}
.svc-hero-lede {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 1rem auto 0;
    font-size: 1.15rem;
    color: var(--ce-text);
    opacity: 0.92;
}
.svc-hero .hero-buttons { position: relative; z-index: 2; margin-top: 2.25rem; }

/* ---------- Feature list ---------- */
.svc-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem 0 3.5rem;
}
@media (max-width: 767.98px) {
    .svc-feature-list { grid-template-columns: 1fr; }
}
.svc-feature {
    background: linear-gradient(160deg, var(--ce-surface-raised), var(--ce-surface));
    border: 1px solid var(--ce-hairline);
    border-radius: 10px;
    padding: 1.6rem 1.7rem;
}
.svc-feature h3 {
    font-family: var(--ce-display);
    font-size: 1.1rem;
    color: var(--ce-amber);
    margin-bottom: 0.6rem;
}
.svc-feature p {
    color: var(--ce-text);
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

/* ---------- CTA banner ---------- */
.svc-cta-banner {
    text-align: center;
    border-top: 1px solid var(--ce-hairline);
    padding-top: 2.75rem;
    margin-bottom: 1rem;
}
.svc-cta-banner p {
    font-family: var(--ce-display);
    font-size: 1.3rem;
    color: var(--ce-text);
    margin-bottom: 1.4rem;
}

/* ---------- Compact footer (dedicated pages link back home for the full one) ---------- */
.svc-footer-links { margin-top: 0.6rem; }
.svc-footer-links a { color: var(--ce-text-muted); margin: 0 0.6rem; }
.svc-footer-links a:hover { color: var(--ce-amber); }
