:root {
    --farchis-red: #ba1310;
    --farchis-red-dark: #6e0505;
    --farchis-yellow: #ffd000;
    --farchis-orange: #f38f00;
    --farchis-bg-light: #faf7f2;
    --farchis-dark: #231b19;
    --farchis-ink: #3a2e2a;
    --farchis-line: rgba(35, 27, 25, 0.08);
    --farchis-card: #fffdf9;
    --nav-h: 78px;
    --shadow-soft: 0 10px 30px rgba(110, 5, 5, 0.08);
    --shadow-lift: 0 18px 40px rgba(110, 5, 5, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 208, 0, 0.18), transparent 26%),
        var(--farchis-bg-light);
    color: var(--farchis-ink);
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.65;
}

h1, h2, h3, h4,
.brand-name,
.display-font {
    font-family: "Fredoka", sans-serif;
    color: var(--farchis-dark);
    letter-spacing: -0.02em;
}

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

a {
    color: var(--farchis-red);
}

a:hover {
    color: var(--farchis-red-dark);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--farchis-dark);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 999px;
}

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

section[id] {
    scroll-margin-top: calc(var(--nav-h) + 12px);
}

.site-header {
    z-index: 1030;
}

.site-nav {
    background: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--farchis-line);
    min-height: var(--nav-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 6px 10px rgba(110, 5, 5, 0.18));
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--farchis-red);
}

.brand-place {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--farchis-orange);
}

.navbar-nav .nav-link {
    color: var(--farchis-dark);
    font-weight: 600;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--farchis-red);
    background: rgba(186, 19, 16, 0.08);
}

.navbar-toggler {
    border: 1px solid var(--farchis-line);
    border-radius: 12px;
}

.btn {
    font-weight: 700;
    border-radius: 999px;
    padding: 0.8rem 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-sm {
    padding: 0.45rem 0.85rem;
}

.btn-farchis {
    background: var(--farchis-red);
    color: #fff;
    border: 0;
    box-shadow: 0 8px 18px rgba(186, 19, 16, 0.25);
}

.btn-farchis:hover,
.btn-farchis:focus {
    background: var(--farchis-red-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sun {
    background: var(--farchis-yellow);
    color: var(--farchis-dark);
    border: 0;
}

.btn-sun:hover,
.btn-sun:focus {
    background: #ffbf00;
    color: var(--farchis-dark);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--farchis-dark);
    border: 1.5px solid rgba(35, 27, 25, 0.16);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background: #fff;
    color: var(--farchis-red);
    border-color: var(--farchis-red);
}

.btn-wa {
    background: #1fa855;
    color: #fff;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-wa:hover,
.btn-wa:focus {
    background: #178a44;
    color: #fff;
}

.hero {
    position: relative;
    padding: 2.5rem 0 3.5rem;
    overflow: hidden;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--farchis-red-dark);
    box-shadow: var(--shadow-soft);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.05;
    font-weight: 700;
    margin: 1rem 0;
}

.hero-lead {
    font-size: 1.08rem;
    max-width: 38rem;
    color: var(--farchis-ink);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.seal {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 2px dashed var(--farchis-red);
    background: rgba(255, 208, 0, 0.92);
    color: var(--farchis-red-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(-8deg);
    box-shadow: var(--shadow-soft);
    line-height: 1.1;
    margin-top: 1.5rem;
}

.seal strong {
    font-family: "Fredoka", sans-serif;
    font-size: 0.95rem;
    max-width: 8rem;
}

.seal span {
    font-size: 1.35rem;
    font-weight: 800;
}

.hero-visual {
    position: relative;
    min-height: 320px;
}

.hero-visual img {
    width: 100%;
    border-radius: 2rem;
    box-shadow: var(--shadow-lift);
    background: #fff;
}

.float-chip {
    position: absolute;
    background: #fff;
    border-radius: 1rem;
    padding: 0.7rem 0.9rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 0.86rem;
}

.float-chip i {
    color: var(--farchis-orange);
    font-size: 1.15rem;
}

.chip-a { left: 0.4rem; bottom: 1.4rem; }
.chip-b { right: 0.4rem; top: 1rem; }

.section {
    padding: 4.25rem 0;
}

.section-tight {
    padding-top: 1rem;
}

.kicker {
    color: var(--farchis-orange);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.6rem;
}

.section-copy {
    max-width: 40rem;
    margin-bottom: 0;
}

.filters {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    margin: 1.5rem 0 0.5rem;
    scrollbar-width: thin;
}

.filter-btn {
    border: 0;
    background: #fff;
    color: var(--farchis-dark);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(35, 27, 25, 0.04);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--farchis-red);
    color: #fff;
}

.product-card,
.benefit-card,
.blog-card,
.quote-card,
.about-panel {
    background: var(--farchis-card);
    border: 1px solid var(--farchis-line);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.product-card {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f3e6cf;
}

.product-media img,
.blog-media img,
.product-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ribbon {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: var(--farchis-yellow);
    color: var(--farchis-dark);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
}

.product-body {
    padding: 1.1rem 1.15rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    color: var(--farchis-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-body h3,
.blog-body h3,
.benefit-card h3 {
    font-size: 1.25rem;
    margin: 0.25rem 0 0.35rem;
}

.product-weight {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    color: var(--farchis-dark);
    background: rgba(243, 143, 0, 0.15);
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.82rem;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.empty-catalog {
    display: none;
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
}

.benefit-card,
.blog-card {
    height: 100%;
    padding: 1.3rem;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: rgba(186, 19, 16, 0.1);
    color: var(--farchis-red);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.quote-card {
    padding: 1.4rem;
}

.form-label {
    font-weight: 700;
    color: var(--farchis-dark);
}

.form-control,
.form-select {
    border-radius: 1rem;
    border-color: rgba(35, 27, 25, 0.12);
    padding: 0.8rem 1rem;
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--farchis-red);
    box-shadow: 0 0 0 0.2rem rgba(186, 19, 16, 0.15);
}

.wa-preview {
    background: #fff8df;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    color: var(--farchis-dark);
}

.about-panel {
    overflow: hidden;
}

.about-visual {
    min-height: 280px;
    background:
        linear-gradient(160deg, rgba(110, 5, 5, 0.18), rgba(186, 19, 16, 0.05)),
        url("../img/hero-bowl.svg") center/cover no-repeat;
}

.about-copy {
    padding: 1.6rem;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.stat {
    background: var(--farchis-bg-light);
    border-radius: 1rem;
    padding: 0.8rem;
}

.stat b {
    display: block;
    font-family: "Fredoka", sans-serif;
    color: var(--farchis-red);
    font-size: 1.05rem;
}

.stat span {
    font-size: 0.82rem;
}

.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.blog-media {
    aspect-ratio: 16 / 10;
    background: #f6e7c4;
}

.blog-body {
    padding: 1.15rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.meta {
    color: #6d5d57;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-body .stretched {
    margin-top: auto;
    font-weight: 800;
    text-decoration: none;
}

.post-hero {
    border-radius: 1.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.post-hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.post-article {
    background: #fffdf9;
    border-radius: 1.75rem;
    padding: 1.4rem 1.2rem 2rem;
    box-shadow: var(--shadow-soft);
}

.post-article h2 {
    font-size: 1.55rem;
    margin-top: 1.6rem;
}

.post-article ul {
    padding-left: 1.1rem;
}

.post-article li + li {
    margin-top: 0.35rem;
}

.post-article blockquote {
    margin: 1.4rem 0;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--farchis-yellow);
    background: #fff8df;
    border-radius: 0 1rem 1rem 0;
    font-weight: 600;
    color: var(--farchis-dark);
}

.site-footer {
    background: var(--farchis-dark);
    color: rgba(255, 247, 237, 0.82);
    padding: 3.5rem 0 6.5rem;
}

.brand-footer .brand-name,
.brand-footer .brand-place {
    color: #fff;
}

.brand-footer .brand-place {
    color: var(--farchis-yellow);
}

.footer-lead,
.footer-address,
.footer-phone {
    color: rgba(255, 247, 237, 0.78);
}

.footer-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.4rem;
}

.footer-links a {
    color: rgba(255, 247, 237, 0.82);
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--farchis-yellow);
}

.footer-map {
    color: var(--farchis-yellow);
    font-weight: 700;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

.social-link:hover {
    background: var(--farchis-red);
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.wa-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(20, 120, 60, 0.35);
}

.wa-float:hover {
    color: #fff;
    transform: translateY(-2px);
}

.product-modal {
    border: 0;
    border-radius: 1.5rem;
    background: var(--farchis-bg-light);
}

.product-modal-img {
    border-radius: 1.25rem;
    aspect-ratio: 4 / 3;
    background: #fff;
}

.product-modal-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0.45rem;
}

.product-kicker {
    color: var(--farchis-red);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.reveal {
    animation: rise 0.6s ease both;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
    .btn-wa span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .btn-wa {
        width: 42px;
        height: 42px;
        justify-content: center;
        padding: 0;
        position: relative;
    }

    .stat-row {
        grid-template-columns: 1fr;
    }

    .chip-a, .chip-b {
        position: static;
        margin-top: 0.7rem;
    }

    .hero-visual {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .hero {
        padding: 4rem 0 4.5rem;
    }

    .about-copy {
        padding: 2.4rem 2.2rem;
    }

    .post-article {
        padding: 2.2rem 2.4rem 2.6rem;
    }

    .site-footer {
        padding-bottom: 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .product-card,
    .blog-card,
    .btn,
    .reveal {
        animation: none;
        transition: none;
    }
}
