/* ==========================================================================
   Landing page styles (extends style.css)
   Sections: dark hero, services, products overview, markets strip, about,
   contact band + contact modal
   ========================================================================== */

section[id] {
    scroll-margin-top: 80px;
}

.inline-logo {
    height: 1.05em;
    vertical-align: baseline;
    display: inline;
}

/* Tighter section rhythm than the default style.css sections */
.section-head {
    margin-bottom: 1.75rem;
}

.section-head .section-title {
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.section-head .section-subtitle {
    font-size: 0.975rem;
    line-height: 1.6;
    max-width: none;
    margin: 0;
}

.hero-makers {
    margin-top: 2.25rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    grid-template-columns: 150px repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.hero-makers-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero-maker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hero-maker:hover {
    color: #ffffff;
    opacity: 0.85;
}

.hero-maker-logo {
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.hero-maker-logo img {
    max-height: 30px;
    max-width: 72px;
    width: auto;
    object-fit: contain;
}

.hero-maker strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    line-height: 1.2;
}

.hero-maker small {
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Services ---------- */
.services {
    padding: 3.5rem 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    background: #ffffff;
    padding: 1.4rem;
    border-radius: 8px;
    height: 100%;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.service-card .service-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(9, 111, 184, 0.10);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-black);
    margin: 0;
}

.service-card p {
    color: var(--color-gray);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0.1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.service-list li {
    position: relative;
    padding-left: 1rem;
    color: var(--color-black);
    font-size: 0.85rem;
    line-height: 1.45;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 1.5px;
    background: var(--color-primary);
}

/* ---------- Products overview ---------- */
.products-overview {
    padding: 3.5rem 0;
    background: #ffffff;
}

.products-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0;
    padding: 0.65rem 1.25rem;
    white-space: nowrap;
}

a.product-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    padding: 1.4rem;
    background: var(--color-primary-light);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

a.product-card:hover {
    background: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(9, 111, 184, 0.12);
}

.product-card-logo {
    height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.product-card-logo img {
    max-height: 44px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}

.product-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-primary);
}

a.product-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.product-card-tagline {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-black);
    margin: 0;
}

a.product-card p {
    color: var(--color-gray);
    line-height: 1.55;
    font-size: 0.85rem;
    margin: 0;
}

.product-card-link {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ---------- Markets strip (dark) ---------- */
.markets-strip {
    padding: 2.5rem 0;
    background: var(--color-black);
    color: #ffffff;
}

.markets-grid {
    display: grid;
    grid-template-columns: 300px repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.markets-head .section-label {
    color: #5eb0e8;
    margin-bottom: 0.35rem;
}

.markets-head .section-title {
    color: #ffffff;
    font-size: 1.625rem;
    line-height: 1.15;
    margin: 0;
}

.markets-strip .market-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.markets-strip .market-icon {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #5eb0e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.markets-strip .market-text h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #ffffff;
}

.markets-strip .market-text p {
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ---------- About ---------- */
.about {
    padding: 3.5rem 0;
    background: #ffffff;
}

.about .section-title {
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    margin-bottom: 0.75rem;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: none;
    margin-bottom: 0.9rem;
}

.about-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
}

.about-more:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.value-item {
    height: 100%;
    padding: 1.1rem 1.1rem 1.2rem;
    border-top: 3px solid var(--color-primary);
    background: var(--color-primary-light);
    border-radius: 0 0 8px 8px;
}

.value-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.35rem;
}

.value-item p {
    color: var(--color-gray);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

/* ---------- Contact band ---------- */
.contact-band {
    padding: 2.75rem 0;
    background: var(--color-primary-light);
}

.contact-band .section-title {
    font-size: clamp(1.6rem, 2.8vw, 1.9rem);
    margin-bottom: 0.5rem;
}

.contact-band .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0;
}

.contact-band-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.9rem;
}

.btn-lg-hst {
    padding: 0.9rem 1.6rem;
    font-size: 1rem;
    border: none;
}

.contact-band-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.1rem;
    font-size: 0.875rem;
    color: var(--color-gray);
}

.contact-band-meta a,
.contact-band-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.contact-band-meta a {
    color: var(--color-black);
    font-weight: 500;
    text-decoration: none;
}

.contact-band-meta a:hover {
    color: var(--color-primary);
}

.contact-band-meta svg {
    color: var(--color-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .hero-makers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-makers-label {
        grid-column: 1 / -1;
    }

    .markets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .markets-head {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .contact-band-actions {
        align-items: flex-start;
    }

    .contact-band-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .services,
    .products-overview,
    .about {
        padding: 2.75rem 0;
    }

    .hero-makers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .markets-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

}
