/* ==========================================================================
   Dart Manufacturing — Inner Page Template
   Extends figma-home.css (design tokens, header, footer, buttons, section
   title styles already live there and are reused as-is). This file adds
   only the extra patterns needed for the five content subpages: a short
   page banner, text/image split sections, plain content cards, tag lists,
   a stat callout, and a contact form/team block. No new colors, fonts, or
   spacing scale — everything below reads from the same --fh-* tokens.
   ========================================================================== */

/* ---------- Page banner (shorter version of the homepage hero) ---------- */

.fh-page-banner {
    position: relative;
    color: var(--fh-white);
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
    isolation: isolate;
}

.fh-page-banner-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
}

.fh-page-banner-bg-factory {
    background-image: url("../image/service-factory-automation.png");
}

.fh-page-banner-bg-product {
    background-image: url("../image/service-product-development.png");
}

.fh-page-banner-bg-contract {
    background-image: url("../image/service-contract-manufacturing.png");
}

.fh-page-banner-bg-precise {
    background-image: url("../image/service-precision-machining.png");
}

.fh-page-banner-bg-contact {
    background-image: url("../image/hero-bg.jpg");
}

.fh-page-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(15, 26, 49, 0.92) 0%, rgba(15, 26, 49, 0.78) 60%, rgba(15, 26, 49, 0.55) 100%);
}

.fh-page-banner-content {
    max-width: 700px;
}

.figma-home .fh-page-banner-title {
    color: var(--fh-white);
    font-weight: 700;
    font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem);
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.fh-page-banner-text {
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ---------- Generic content section rhythm ---------- */

.fh-inner-section {
    padding: 4.5rem 0;
}

.fh-inner-section+.fh-inner-section {
    padding-top: 0;
}

.fh-inner-section-alt {
    background: var(--fh-white);
}

.figma-home .fh-section-title-sm {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.fh-lede {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--fh-gray);
    max-width: 780px;
}

/* ---------- Text / image split ---------- */

.fh-split-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--fh-radius-lg);
    box-shadow: var(--fh-shadow-card);
}

/* ---------- Plain content cards (service areas, contract steps) ---------- */

.fh-info-card {
    background: var(--fh-white);
    border-radius: var(--fh-radius-md);
    box-shadow: var(--fh-shadow-card);
    padding: 2rem 1.75rem;
    height: 100%;
}

.fh-info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 103, 91, 0.12);
    color: var(--fh-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.fh-info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.fh-info-card p {
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--fh-gray);
    margin: 0;
}

/* ---------- Tag / pill lists (tooling specialties, process list) ---------- */

.fh-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.fh-tag-list li {
    background: var(--fh-bg);
    border: 1px solid rgba(15, 26, 49, 0.1);
    color: var(--fh-navy);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

/* ---------- Stat / case-study callout ---------- */

.fh-callout {
    background: var(--fh-navy);
    color: var(--fh-white);
    border-radius: var(--fh-radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.fh-callout-figure {
    font-family: var(--fh-font-heading);
    font-weight: 700;
    font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
    color: var(--fh-accent);
    line-height: 1;
    flex-shrink: 0;
}

.fh-callout-text {
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ---------- Contact page: info list + team block ---------- */

.fh-contact-card {
    background: var(--fh-white);
    border-radius: var(--fh-radius-lg);
    box-shadow: var(--fh-shadow-card);
    padding: 2.25rem;
}

.fh-contact-detail-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fh-contact-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--fh-gray);
}

.fh-contact-detail-list a {
    color: var(--fh-navy);
    text-decoration: none;
}

.fh-contact-detail-list a:hover,
.fh-contact-detail-list a:focus-visible {
    color: var(--fh-accent);
}

.fh-contact-detail-list i {
    color: var(--fh-accent);
    width: 18px;
    text-align: center;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.fh-team-list {
    list-style: none;
    margin: 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(15, 26, 49, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.fh-team-list .fh-team-name {
    display: block;
    font-weight: 600;
    color: var(--fh-navy);
    font-size: 0.95rem;
}

.fh-team-list .fh-team-title {
    display: block;
    font-size: 0.82rem;
    color: var(--fh-gray);
}

/* ---------- Contact form ---------- */

.fh-form-card {
    background: var(--fh-white);
    border-radius: var(--fh-radius-lg);
    box-shadow: var(--fh-shadow-card);
    padding: 2.25rem;
}

.fh-form .form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--fh-navy);
    margin-bottom: 0.4rem;
}

.fh-form .form-control {
    background: var(--fh-bg);
    border: 2px solid transparent;
    border-radius: var(--fh-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    color: var(--fh-navy);
}

.fh-form .form-control:focus {
    background: var(--fh-white);
    border-color: var(--fh-accent);
    box-shadow: none;
}

.fh-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.fh-form .btn.fh-btn-primary {
    border: none;
}

/* ---------- Outline button variant for dark CTA backgrounds ---------- */

.figma-home .fh-btn-outline-light {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--fh-white);
}

.figma-home .fh-btn-outline-light:hover,
.figma-home .fh-btn-outline-light:focus-visible {
    background: var(--fh-white);
    color: var(--fh-navy);
    border-color: var(--fh-white);
}

/* ---------- CTA banner inline link (factory / product / precise pages) ---------- */

.fh-cta-content .fh-cta-link {
    color: inherit;
    text-decoration: underline;
}

.fh-cta-content .fh-cta-link:hover,
.fh-cta-content .fh-cta-link:focus-visible {
    color: var(--fh-accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 767.98px) {
    .fh-page-banner {
        padding: 3.5rem 0 2.75rem;
    }

    .fh-callout {
        padding: 2rem;
        gap: 1rem;
    }

    .fh-contact-card,
    .fh-form-card {
        padding: 1.75rem;
    }
}
