:root {
    --cream: #fbf4ea;
    --flour: #fffaf3;
    --ink: #4d3d32;
    --muted: #806e61;
    --crust: #bd9364;
    --berry: #cc8d84;
    --sage: #87906f;
    --gold: #bd9364;
    --line: #eadbca;
    --shadow: 0 18px 45px rgba(77, 61, 50, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.site-footer,
main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    width: 100%;
    margin: 0;
    padding: 0;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 12px max(16px, calc((100vw - 1120px) / 2));
    background-color: #e9ddd0;
    background-image: linear-gradient(90deg, #e7c8bd 0%, #d7d4bf 44%, #ead9c4 100%);
    border-bottom: 1px solid var(--line);
}

.brand-inline {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.brand-logo-main {
    width: clamp(118px, 13vw, 158px);
    height: auto;
    object-fit: contain;
    display: block;
    padding: 8px;
    border-radius: 12px;
    background: #fffaf3;
    box-shadow: 0 8px 22px rgba(77, 61, 50, 0.08);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--berry);
    color: white;
    font-weight: 700;
}

.eyebrow,
.site-footer,
.product-card p,
.rich-text {
    color: var(--muted);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    width: auto;
    margin: 0;
    padding: 0;
}

.main-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: rgba(255, 250, 243, 0.76);
    color: var(--sage);
}

.hero,
.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 28px;
    align-items: stretch;
    min-height: 500px;
    padding: 22px 0 48px;
}

.home-intro {
    grid-template-columns: minmax(300px, 0.86fr) minmax(480px, 1.14fr);
    min-height: 0;
    align-items: start;
    padding: 34px 0 26px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    margin: 0 0 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 7vw, 5.8rem);
    line-height: 0.95;
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(2.35rem, 4.6vw, 4.35rem);
    line-height: 1.02;
}

.home-intro h1 {
    max-width: 520px;
    font-size: clamp(2.15rem, 3.2vw, 3.35rem);
    line-height: 1.08;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
}

h3 {
    margin: 0 0 8px;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 620px;
    font-size: 1.12rem;
}

.home-intro .hero-copy {
    position: sticky;
    top: 18px;
    justify-content: flex-start;
    padding-top: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 250, 243, 0.72);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}

.social-link:hover {
    border-color: var(--sage);
    color: var(--sage);
}

.social-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-color: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.social-icon-instagram {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.25-2.75a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E");
}

.social-icon-facebook {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 8h3V4h-3c-3.1 0-5 1.9-5 5v2H6v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E");
}

.social-icon-whatsapp {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a9.7 9.7 0 0 0-8.4 14.6L2.3 22l5.5-1.4A9.8 9.8 0 1 0 12 2Zm0 2a7.8 7.8 0 0 1 0 15.6 8 8 0 0 1-3.8-1l-.4-.2-2.7.7.7-2.6-.3-.4A7.8 7.8 0 0 1 12 4Zm-3.1 4.2c-.2 0-.5.1-.7.4-.3.3-.9.9-.9 2.1 0 1.3.9 2.5 1 2.7.1.2 1.8 2.8 4.4 3.8 2.2.9 2.6.7 3.1.7.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.1-1.2-.1-.1-.2-.2-.5-.3l-1.7-.8c-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.6.1a6.4 6.4 0 0 1-1.9-1.2 7 7 0 0 1-1.3-1.6c-.1-.3 0-.4.1-.5l.4-.5c.1-.1.2-.3.3-.4.1-.2.1-.3 0-.5l-.8-1.9c-.2-.5-.4-.5-.6-.5h-.7Z'/%3E%3C/svg%3E");
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.button.primary {
    background: var(--sage);
    color: white;
}

.button.secondary {
    background: var(--flour);
    border: 1px solid var(--line);
}

.hero-photo {
    min-height: 420px;
    border-radius: 8px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-photo-wide {
    min-height: 360px;
    margin-bottom: 28px;
}

.section-grid,
.content-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    margin: 26px 0;
}

.section-grid > article,
.info-panel,
.product-card,
.rich-text,
.contact-list {
    background: var(--flour);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

.info-panel ul {
    padding-left: 18px;
    margin: 0;
}

.products {
    padding: 42px 0 30px;
}

.home-products {
    padding: 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 16px;
}

.home-products .product-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.content-page.assortment-page {
    display: block;
}

.content-page.assortment-page .rich-text {
    margin-bottom: 20px;
}

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
}

.product-card img {
    width: calc(100% + 48px);
    height: 210px;
    margin: -24px -24px 20px;
    object-fit: cover;
    background: var(--line);
}

.product-card strong {
    color: var(--sage);
    margin-top: auto;
}

.portfolio-slider {
    display: grid;
    grid-auto-columns: minmax(310px, 58%);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--gold) transparent;
}

.portfolio-slide {
    min-width: 0;
    overflow: hidden;
    background: var(--flour);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(77, 61, 50, 0.1);
    scroll-snap-align: start;
}

.portfolio-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.portfolio-slide div {
    padding: 18px;
}

.portfolio-slide h2,
.portfolio-slide h3 {
    margin-bottom: 6px;
}

.portfolio-slide p {
    margin: 0;
    color: var(--muted);
}

.portfolio-page-slider {
    grid-auto-columns: minmax(320px, 46%);
}

.page-hero {
    padding: 56px 0 22px;
}

.rich-text {
    grid-column: span 1;
}

.site-footer {
    padding: 34px 0 38px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.1fr 0.8fr;
    gap: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer div,
.site-footer a,
.site-footer span {
    display: block;
}

.site-footer strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--sage);
}

@media (max-width: 780px) {
    .site-header {
        align-items: stretch;
    }

    .header-bar {
        align-items: center;
        flex-direction: column;
        gap: 12px;
    }

    .main-nav {
        justify-content: center;
    }

    .hero,
    .home-intro,
    .section-grid,
    .content-page,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .home-products .product-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
        padding-top: 18px;
    }

    .home-intro {
        padding-top: 22px;
    }

    .home-intro .hero-copy {
        position: static;
        padding-top: 0;
    }

    .hero-photo {
        min-height: 280px;
    }

    .portfolio-slider,
    .portfolio-page-slider {
        grid-auto-columns: minmax(270px, 88%);
    }

    .section-heading,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 430px) {
    .site-footer,
    main {
        width: min(100% - 22px, 1120px);
    }

    .header-bar {
        padding-right: 11px;
        padding-left: 11px;
    }

    .main-nav a {
        padding: 8px 9px;
        font-size: 0.94rem;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .button {
        flex: 0 1 auto;
        min-height: 40px;
        width: auto;
        padding: 9px 12px;
        font-size: 0.94rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
