﻿/* Shared marketing / public landing patterns (see also PublicHomeLanding.razor.css). */

@font-face {
    font-family: "Bahnschrift";
    font-style: normal;
    font-weight: 700;
    src: local("Bahnschrift Bold"),
         local("Bahnschrift SemiBold"),
         local("Bahnschrift");
}

.public-page .hero-headline .hero-headline-brand.brand-wordmark,
.public-page .hero-headline .hero-headline-brand.brand-wordmark .brand-wordmark-local,
.public-page .hero-headline .hero-headline-brand.brand-wordmark .brand-wordmark-yn {
    font-family: "Bahnschrift", "Barlow Semi Condensed", "DIN Alternate", "Segoe UI", sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.public-page .hero-headline .brand-wordmark-local {
    color: #0f4ea3;
}

.public-page .hero-headline .brand-wordmark-yn {
    color: #4cab34;
}

.public-page h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(90deg, #0e6eaf 0%, #0f4ea3 42%, #4cab34 88%, #86c22b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.public-page h1.public-title-with-brand {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #1d3557;
}

.public-page h1 .brand-wordmark-local {
    color: #0f4ea3;
}

.public-page h1 .brand-wordmark-yn {
    color: #4cab34;
}

.public-page h2 {
    margin: 1.35rem 0 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    background: linear-gradient(90deg, #0e6eaf 0%, #0f4ea3 48%, #4cab34 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.public-page h2:first-child {
    margin-top: 0;
}

.public-page .public-lead {
    color: #3d5168;
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
    max-width: 62ch;
}

.public-media-grid,
.public-contact-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.public-story-card img,
.public-split-panel img {
    border-radius: 0.75rem;
    display: block;
    height: auto;
    margin-bottom: 0.85rem;
    width: 100%;
}

.public-split-panel {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 18rem);
    align-items: start;
}

.public-cta-panel {
    text-align: center;
}

.public-cta-panel .public-lead {
    margin-inline: auto;
}

.public-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 700px) {
    .public-split-panel {
        grid-template-columns: 1fr;
    }
}

.marketing-grid {    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    margin-top: 1.25rem;
}

.marketing-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 251, 255, 0.88));
    border: 1px solid rgba(13, 78, 162, 0.12);
    border-radius: 1rem;
    box-shadow: 0 24px 40px rgba(12, 82, 152, 0.08);
    padding: 1.1rem;
}

.marketing-card h2 {
    margin: 0 0 0.65rem;
    font-size: 1.12rem;
    font-weight: 700;
    background: linear-gradient(90deg, #0e6eaf 0%, #0f4ea3 48%, #4cab34 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.marketing-list {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding-left: 1.15rem;
}

.whatsapp-contact-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    font-weight: 600;
}

.whatsapp-contact-fab:hover {
    color: #fff;
    background: #1ebe57;
}

.whatsapp-contact-fab-icon {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .whatsapp-contact-fab-label {
        display: none;
    }

    .whatsapp-contact-fab {
        width: 3.5rem;
        height: 3.5rem;
        justify-content: center;
        padding: 0;
    }
}
