/* ==========================================================================
   Dart Manufacturing — Comparison Homepage
   Rebuilt from a Figma export as clean, semantic, responsive markup.
   Layout uses Bootstrap 5 grid/utilities from
   style.css; this file supplies the visual design system for the new
   sections only, scoped under `.figma-home` where practical to avoid
   colliding with the existing template's classes.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600..800&display=swap');

.figma-home {
    --fh-accent: #FF675B;
    --fh-accent-dark: #E9544A;
    --fh-navy: #0F1A31;
    --fh-gray: #505050;
    --fh-light-gray: #B5B5B5;
    --fh-bg: #F7F7F7;
    --fh-white: #FFFFFF;

    --fh-font-heading: 'Bricolage Grotesque', 'Inter', sans-serif;
    --fh-font-body: 'Bricolage Grotesque', 'Inter', sans-serif;
    --fh-font-logo: 'Syne', sans-serif;
    --fh-font-fine: 'Inter', sans-serif;

    --fh-radius-lg: 30px;
    --fh-radius-md: 20px;
    --fh-radius-sm: 10px;

    --fh-shadow-card: 0 2px 14px rgba(15, 26, 49, 0.1);
    --fh-shadow-badge: 0 4px 24px rgba(0, 0, 0, 0.09);

    background: var(--fh-bg);
    font-family: var(--fh-font-body);
    color: var(--fh-navy);
}

.figma-home .container-xl {
    max-width: 1320px;
}

.figma-home h1,
.figma-home h2,
.figma-home h3 {
    font-family: var(--fh-font-heading);
    color: var(--fh-navy);
    margin: 0;
}

/* Headings that sit on dark backgrounds need to win over both the base
   rule above and the template's global `h1,h2,h3{color:...}` reset in
   style.css, so these are qualified with the .figma-home ancestor class
   to raise specificity. */
.figma-home .fh-hero-title,
.figma-home .fh-section-title-light,
.figma-home .fh-cta-content h2,
.figma-home .fh-footer-heading {
    color: var(--fh-white);
}

.figma-home img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Shared elements ---------- */

.fh-eyebrow {
    font-family: var(--fh-font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    color: var(--fh-accent);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.fh-eyebrow-light {
    color: rgba(255, 255, 255, 0.85);
}

.fh-section-title {
    font-weight: 700;
    font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem);
    line-height: 1.15;
    margin-bottom: 2.5rem;
}

.fh-section-title-light {
    color: var(--fh-white);
}

.fh-body-text {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--fh-gray);
}

.fh-btn-primary,
.fh-btn-outline,
.fh-btn-quote {
    font-family: var(--fh-font-body);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--fh-radius-sm);
    padding: 0.85rem 1.6rem;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    border: 2px solid transparent;
}

.fh-btn-primary {
    background: var(--fh-accent);
    color: var(--fh-white);
}

.fh-btn-primary:hover,
.fh-btn-primary:focus-visible {
    background: var(--fh-accent-dark);
    color: var(--fh-white);
    transform: translateY(-1px);
}

.fh-btn-outline {
    background: transparent;
    color: var(--fh-navy);
    border-color: var(--fh-navy);
}

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

.fh-btn-quote {
    background: var(--fh-white);
    color: var(--fh-navy);
    white-space: nowrap;
}

.fh-btn-quote:hover,
.fh-btn-quote:focus-visible {
    background: var(--fh-accent);
    color: var(--fh-white);
}

/* ---------- Header ---------- */

.fh-header {
    background: var(--fh-navy);
    z-index: 1030;
}

.fh-navbar {
    padding: 0.85rem 0;
}

.fh-logo {
    font-family: var(--fh-font-logo);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--fh-white);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.fh-logo:hover,
.fh-logo:focus {
    color: rgba(255, 255, 255, 0.8);
}

.fh-navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

.fh-navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.fh-nav-list {
    gap: 0.25rem;
}

.fh-nav-list .nav-link {
    font-family: var(--fh-font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0.9rem;
    border-radius: var(--fh-radius-sm);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fh-nav-list .nav-link:hover,
.fh-nav-list .nav-link.active {
    color: var(--fh-white);
    background: rgba(255, 255, 255, 0.18);
}

.fh-header .fh-btn-quote {
    margin-top: 0.75rem;
}

@media (min-width: 992px) {
    .fh-header .fh-btn-quote {
        margin-top: 0;
        margin-left: 1.5rem;
    }
}

/* ---------- Hero ---------- */

.fh-hero {
    position: relative;
    color: var(--fh-white);
    padding: 6rem 0 5rem;
    overflow: hidden;
    isolation: isolate;
}

.fh-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../image/hero-bg.jpg");
    background-size: cover;
    background-position: center;
}

.fh-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(15, 26, 49, 0.78) 0%, rgba(15, 26, 49, 0.45) 45%, rgba(15, 26, 49, 0.05) 85%);
}

.fh-hero-content {
    max-width: 640px;
}

.fh-hero-title {
    font-weight: 700;
    font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
}

.fh-hero-text {
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
}

/* ---------- Why Choose Us ---------- */

.fh-why {
    position: relative;
    padding: 2.5rem 0;
    overflow: hidden;
    isolation: isolate;
}

.fh-why-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../image/why-choose-us-bg.jpg");
    background-size: cover;
    background-position: center;
}

.fh-why-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(15, 26, 49, 0.82);
}

.fh-feature-row {
    margin-top: 0.75rem;
}

.fh-feature-card {
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--fh-radius-md);
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.fh-feature-label {
    font-weight: 500;
    font-size: 1rem;
    color: var(--fh-white);
    line-height: 1.35;
}

/* ---------- Services ---------- */

.fh-services {
    padding: 5rem 0;
}

.fh-service-card {
    background: var(--fh-white);
    border-radius: var(--fh-radius-lg);
    box-shadow: var(--fh-shadow-card);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fh-service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.fh-service-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fh-service-body h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.fh-service-body p {
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--fh-gray);
    flex-grow: 1;
}

.fh-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--fh-accent);
    text-decoration: none;
    width: fit-content;
    transition: gap 0.2s ease;
}

.fh-learn-more:hover,
.fh-learn-more:focus-visible {
    gap: 0.75rem;
    color: var(--fh-accent-dark);
}

/* ---------- About ---------- */

.fh-about {
    padding: 5rem 0;
}

.fh-about-images {
    position: relative;
    padding-bottom: 2rem;
    padding-right: 2rem;
}

.fh-about-img-main {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--fh-radius-lg);
}

.fh-about-img-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--fh-radius-md);
    border: 6px solid var(--fh-bg);
    box-shadow: var(--fh-shadow-badge);
}

.fh-about .fh-section-title {
    margin-bottom: 1.25rem;
}

.fh-about .fh-body-text {
    margin-bottom: 1.1rem;
}

.fh-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

/* ---------- Industries ---------- */

.fh-industries {
    padding: 5rem 0;
}

.fh-industry-card {
    position: relative;
    border-radius: var(--fh-radius-md);
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.fh-industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fh-industry-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 26, 49, 0) 40%, rgba(15, 26, 49, 0.92) 100%);
}

.fh-industry-label {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 1;
    color: var(--fh-white);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
}

/* ---------- Pull quote ---------- */

.fh-pullquote {
    padding: 1rem 0 5rem;
}

.fh-pullquote-card {
    background: var(--fh-white);
    border-radius: var(--fh-radius-lg);
    box-shadow: var(--fh-shadow-card);
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    text-align: center;
}

.fh-quote-icon {
    font-size: 1.75rem;
    color: var(--fh-accent);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.fh-pullquote-text {
    font-weight: 300;
    font-size: 1.35rem;
    line-height: 1.55;
    color: var(--fh-navy);
    margin-bottom: 1.25rem;
}

.fh-pullquote-attribution {
    font-weight: 600;
    font-size: 1rem;
    color: var(--fh-accent);
    margin: 0;
}

/* ---------- Bottom CTA ---------- */

.fh-cta {
    position: relative;
    padding: 5.5rem 0;
    overflow: hidden;
    isolation: isolate;
}

.fh-cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../image/cmc-tool-changer.png");
    background-size: cover;
    background-position: center;
}

.fh-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(15, 26, 49, 0.5);
}

.fh-cta-content {
    max-width: 700px;
    margin: 0 auto;
    color: var(--fh-white);
}

.fh-cta-content h2 {
    font-weight: 700;
    font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
    color: var(--fh-white);
    margin-bottom: 1rem;
}

.fh-cta-content p {
    font-family: var(--fh-font-fine);
    font-weight: 400;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

/* ---------- Footer ---------- */

.fh-footer {
    background: var(--fh-navy);
    color: var(--fh-white);
    padding: 4.5rem 0 2rem;
    font-family: var(--fh-font-fine);
}

.fh-footer-logo {
    font-family: var(--fh-font-logo);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--fh-white);
    text-decoration: none;
}

.fh-footer-tagline {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
}

.fh-footer-heading {
    font-family: var(--fh-font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.1rem;
}

.fh-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fh-footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.fh-footer-list a:hover,
.fh-footer-list a:focus-visible {
    color: var(--fh-white);
}

.fh-footer-list-plain li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
}

.fh-footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 3rem 0 1.5rem;
}

.fh-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    padding-bottom: 0.5rem;
}

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

@media (max-width: 767.98px) {
    .fh-hero {
        padding: 4rem 0 3.5rem;
        text-align: left;
    }

    .fh-about-images {
        padding-right: 1.25rem;
        margin-bottom: 1rem;
    }

    .fh-pullquote-card {
        padding: 2.25rem 1.5rem;
    }

    .fh-pullquote-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .fh-footer-row>div {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
