/*
Theme Name: MoFruits
Theme URI: https://mofruits.id/blog/
Author: MoFruits
Description: Tema blog MoFruits. Header, footer, warna, dan tipografi disamakan dengan website utama mofruits.id supaya blog terasa satu paket dengan homepage.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: mofruits
*/

/* ==========================================================================
   Fonts (self-hosted, same files as mofruits.id/assets/fonts)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('assets/fonts/inter-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('assets/fonts/spacegrotesk-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/librebaskerville-italic-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/librebaskerville-regular-latin.woff2') format('woff2');
}

/* ==========================================================================
   Tokens (ground truth: DESIGN.md and main-site style.css)
   ========================================================================== */
:root {
    --warm-white: #FDFCFA;
    --brand-green: #22A652;
    --forest-green: #1A5D3A;
    --brand-yellow: #F4B824;
    --soft-green: #A8D5BA;
    --light-green: #E8F5EC;
    --light-yellow: #FEF8E8;

    /* Secondary text. 5.1:1 on warm-white, 4.95:1 on light-yellow (AA). */
    --ink-muted: #4A7560;

    --font-head: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-serif: 'Libre Baskerville', Georgia, serif;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 4px 20px rgba(74, 93, 82, 0.08);
    --shadow-card-hover: 0 10px 24px rgba(74, 93, 82, 0.12);

    --header-h: 73px;
    --gutter: 1.5rem;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--warm-white);
    color: var(--forest-green);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--brand-yellow);
    color: var(--forest-green);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--forest-green);
}

p {
    margin: 0 0 1rem;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--forest-green);
    outline-offset: 3px;
    border-radius: 4px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 1rem;
    z-index: 100;
    background: var(--forest-green);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.container--read {
    max-width: calc(44rem + var(--gutter) * 2);
}

.section {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

.section--narrow {
    max-width: 44rem;
}

.site-main {
    min-height: 60vh;
    padding-top: var(--header-h);
}

/* ==========================================================================
   Header (mirrors includes/header.php)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(253, 252, 250, 0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-header.is-scrolled {
    background: rgba(253, 252, 250, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 44px;
}

.brand__logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(34, 166, 82, 0.1);
}

.brand__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.875rem;
}

.desktop-nav a {
    text-decoration: none;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--brand-green);
}

/* Current page: brand-green text would be 3:1, so use an underline bar and keep forest text. */
.desktop-nav a.is-current {
    box-shadow: inset 0 -3px 0 var(--brand-green);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--forest-green);
    font-size: 1.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.js .menu-toggle {
    display: inline-flex;
}

html:not(.js) .menu-toggle {
    display: none;
}

.mobile-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(34, 166, 82, 0.1);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(26, 93, 58, 0.12);
    transform-origin: top;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.js .mobile-nav:not(.is-open) {
    opacity: 0;
    transform: scale(0.97);
    pointer-events: none;
    visibility: hidden;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1rem;
    min-height: 44px;
    text-align: center;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.mobile-nav a:hover,
.mobile-nav a.is-current {
    background: var(--light-green);
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .menu-toggle,
    .js .menu-toggle,
    .mobile-nav {
        display: none;
    }
}

/* ==========================================================================
   Blog head, chips, search
   ========================================================================== */
.blog-head {
    padding: 3rem 0 0.5rem;
}

.blog-head__title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

/* The serif italic subline is the identity motif carried over from the homepage hero. */
.lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
    line-height: 1.6;
    color: var(--ink-muted);
    max-width: 40rem;
    margin-bottom: 0;
}

.blog-head__tools {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .blog-head__tools {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid var(--soft-green);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
    background: var(--light-green);
    border-color: var(--brand-green);
}

.chip.is-current {
    background: var(--forest-green);
    border-color: var(--forest-green);
    color: #fff;
}

.search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
    border: 1px solid var(--soft-green);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
}

.search-form:focus-within {
    border-color: var(--forest-green);
    outline: 3px solid var(--forest-green);
    outline-offset: 2px;
}

.search-form__input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 0 1rem;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: var(--forest-green);
}

.search-form__input:focus {
    outline: none;
}

.search-form__input::placeholder {
    color: var(--ink-muted);
    opacity: 1;
}

.search-form__btn {
    width: 48px;
    border: 0;
    background: var(--light-green);
    color: var(--forest-green);
    cursor: pointer;
}

.search-form__btn:hover {
    background: var(--soft-green);
}

.search-form__btn:focus-visible {
    outline-offset: -3px;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.card:focus-within {
    outline: 3px solid var(--forest-green);
    outline-offset: 3px;
}

.card__media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--light-green);
}

.card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card__img {
    transform: scale(1.05);
}

.card__img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-green);
}

.card__img--empty img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    opacity: 0.9;
}

.card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.card__title {
    font-size: 1.375rem;
    margin: 0.75rem 0 0.5rem;
}

.card__title a {
    text-decoration: none;
}

/* Stretched link: the whole card is one click target. */
.card__title a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.card__title a:focus-visible {
    outline: none;
}

.card__excerpt {
    color: var(--forest-green);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card .meta {
    margin-top: auto;
}

/* One wide card for the newest post. Reason: gives the blog home a focal point and breaks the uniform grid. */
.card--featured {
    margin-top: 1.5rem;
}

@media (min-width: 900px) {
    .card--featured {
        flex-direction: row;
        align-items: stretch;
    }

    .card--featured .card__media {
        flex: 0 0 55%;
        aspect-ratio: auto;
        min-height: 22rem;
    }

    .card--featured .card__body {
        justify-content: center;
        padding: 3rem;
    }

    .card--featured .card__title {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .card--featured .card__excerpt {
        font-size: 1.0625rem;
    }

    .card--featured .meta {
        margin-top: 0.5rem;
    }
}

.tag {
    align-self: flex-start;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--light-green);
    color: var(--forest-green);
    font-family: var(--font-head);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}

a.tag:hover {
    background: var(--soft-green);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

/* ==========================================================================
   Single article
   ========================================================================== */
.article__head {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.article__head .tag {
    margin-bottom: 1rem;
    min-height: 32px;
    line-height: 1.6;
}

.article__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.article__head .lead {
    margin-bottom: 1.25rem;
}

.article__cover {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    max-width: 62rem;
}

.article__cover img {
    width: 100%;
    border-radius: var(--radius);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.entry-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin: 2.75rem 0 1rem;
}

.entry-content h3 {
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
}

.entry-content h4 {
    font-size: 1.125rem;
    margin: 1.75rem 0 0.5rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    margin: 0 0 1.25rem;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content li::marker {
    color: var(--brand-green);
}

.entry-content a {
    color: var(--forest-green);
    text-decoration: underline;
    text-decoration-color: var(--brand-green);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    background: var(--light-green);
}

.entry-content strong {
    font-weight: 600;
}

.entry-content img,
.entry-content .wp-block-image img {
    border-radius: var(--radius);
}

.entry-content figure {
    margin: 2rem 0;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
    text-align: center;
}

.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--light-green);
    border-left: 4px solid var(--brand-green);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-serif);
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content hr {
    border: 0;
    height: 1px;
    background: var(--soft-green);
    margin: 2.5rem 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
    display: block;
    overflow-x: auto;
}

.entry-content th,
.entry-content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--soft-green);
    text-align: left;
}

.entry-content th {
    background: var(--light-green);
    font-family: var(--font-head);
}

.entry-content code {
    background: var(--light-yellow);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.entry-content pre {
    background: var(--forest-green);
    color: #fff;
    padding: 1.25rem;
    border-radius: var(--radius);
    overflow-x: auto;
}

.entry-content pre code {
    background: transparent;
    padding: 0;
}

.entry-content .wp-block-button__link,
.entry-content .wp-element-button {
    background: var(--forest-green);
    color: #fff;
    border-radius: var(--radius);
    padding: 0.875rem 1.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    text-decoration: none;
}

.entry-content .wp-block-button__link:hover {
    background: var(--brand-green);
    color: var(--forest-green);
}

.entry-content .alignwide,
.entry-content .alignfull {
    max-width: 100%;
}

.entry-content iframe,
.entry-content video {
    max-width: 100%;
    border-radius: var(--radius);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
}

.tag-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.875rem;
    border: 1px solid var(--soft-green);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 0.9375rem;
    text-decoration: none;
}

.tag-list a:hover {
    background: var(--light-green);
}

.page-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* ==========================================================================
   Order note (end of article) and buttons
   ========================================================================== */
.order-note {
    margin-top: 3.5rem;
    padding: 1.75rem;
    background: var(--light-yellow);
    border: 1px solid rgba(244, 184, 36, 0.5);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.order-note p {
    margin-bottom: 0;
}

.order-note__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.375rem;
    margin-bottom: 0.25rem !important;
}

.order-note__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .order-note__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--forest-green);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    transform: scale(1.03);
}

.btn--primary {
    background: var(--forest-green);
    color: #fff;
}

.btn--primary:hover {
    background: #14492d;
}

.btn--ghost {
    background: #fff;
    color: var(--forest-green);
    border-color: rgba(26, 93, 58, 0.3);
}

.btn--ghost:hover {
    background: var(--light-yellow);
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
    margin-top: 3rem;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--soft-green);
    border-radius: var(--radius-sm);
    background: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    text-decoration: none;
}

.pagination a.page-numbers:hover {
    background: var(--light-green);
}

.pagination .page-numbers.current {
    background: var(--forest-green);
    border-color: var(--forest-green);
    color: #fff;
}

.pagination .dots {
    border-color: transparent;
    background: transparent;
}

/* ==========================================================================
   Empty / error states
   ========================================================================== */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px dashed var(--soft-green);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.empty-state p {
    margin: 0;
    max-width: 30rem;
}

.empty-state__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
}

.empty-state__code {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(4rem, 14vw, 7rem);
    line-height: 1;
    color: var(--soft-green);
}

.empty-state .search-form {
    margin: 0.5rem 0;
}

/* ==========================================================================
   Footer (mirrors includes/footer.php)
   ========================================================================== */
.site-footer {
    margin-top: 2rem;
    padding: 5rem var(--gutter) 2.5rem;
    border-top: 1px solid rgba(34, 166, 82, 0.1);
    background: var(--warm-white);
}

.site-footer__inner {
    max-width: 80rem;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .footer-brand {
        grid-column: span 4;
    }

    .footer-col--explore {
        grid-column: 6 / span 2;
    }

    .footer-col--company {
        grid-column: span 3;
    }

    .footer-col--support {
        grid-column: 11 / span 2;
    }
}

.footer-brand__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand__logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(34, 166, 82, 0.1);
}

.footer-brand__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-brand__tagline {
    max-width: 24rem;
    line-height: 1.7;
}

.social-row {
    display: flex;
    gap: 1rem;
    padding-top: 0.5rem;
}

.social-row a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(34, 166, 82, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-green);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.social-row a:hover {
    background: var(--forest-green);
    color: #fff;
}

.footer-col__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-col a {
    display: inline-block;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    text-decoration: underline;
    text-decoration-color: var(--brand-green);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.footer-col a.is-current {
    font-weight: 600;
}

.footer-tag {
    margin-left: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--light-green);
    font-size: 0.6875rem;
    font-weight: 700;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 166, 82, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .fa-heart {
    color: var(--forest-green);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ==========================================================================
   WhatsApp FAB (the one allowed motion accent)
   ========================================================================== */
.floating-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 50;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    font-size: 1.75rem;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse-green 2s infinite;
}

.floating-fab:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .floating-fab {
        right: 2rem;
        bottom: 2rem;
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .card:hover,
    .btn:hover,
    .floating-fab:hover {
        transform: none;
    }
}
