/* Public site styles. Brand colours come from Site Settings as CSS variables (see _Layout). */

body {
    font-family: var(--brand-font);
    color: #1f2937;
    background: #fff;
}

a { color: var(--brand-primary); }

.text-accent { color: var(--brand-accent); }

.btn-accent {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #fff;
    font-weight: 600;
}
.btn-accent:hover, .btn-accent:focus { filter: brightness(0.92); color: #fff; }

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .04);
}
.site-header .brand-text { font-weight: 800; font-size: 1.35rem; color: var(--brand-dark); }
.site-header .nav-link { color: #374151; font-weight: 500; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand-primary); }
.nav-badge {
    display: inline-block;
    margin-left: .25rem;
    padding: .1rem .45rem;
    border-radius: 999px;
    background: var(--brand-accent);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    vertical-align: middle;
}

/* Hero */
.hero {
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .08), transparent 40%), var(--brand-dark);
    color: #fff;
    padding: 5rem 0;
}
.hero-badge {
    display: inline-block;
    padding: .35rem .9rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .03em;
    margin-bottom: 1.25rem;
}
.hero-title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.12; }
.hero-sub { font-size: 1.1rem; opacity: .85; margin-top: 1rem; max-width: 46rem; }

/* Generic page parts */
.page-banner {
    background: var(--brand-dark);
    color: #fff;
    padding: 3.5rem 0;
}
.page-banner h1 { font-weight: 800; margin: 0; }

.section-richtext { padding: 3.5rem 0; }
.section-title { font-weight: 800; margin-bottom: 1.25rem; color: var(--brand-dark); }
.richtext img { max-width: 100%; height: auto; }
.richtext iframe { max-width: 100%; }

/* Footer */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, .78);
    padding: 3.5rem 0 2rem;
    margin-top: 2rem;
}
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .4rem; }
.footer-brand { font-weight: 800; font-size: 1.3rem; color: #fff; }
.footer-heading { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .9rem; }
.site-footer hr { border-color: rgba(255, 255, 255, .2); }

/* Floating contact bar */
.floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .6rem .5rem;
    background: var(--brand-dark);
    border-radius: 12px 0 0 12px;
    z-index: 1030;
}
.floating-contact a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
}
.floating-contact .fc-call { background: var(--brand-primary); }
.floating-contact .fc-whatsapp { background: #22c55e; }
.floating-contact .fc-email { background: var(--brand-accent); }
