:root {
    --color-ink: #17211b;
    --color-muted: #5f6f67;
    --color-line: #dce5df;
    --color-surface: #f7faf7;
    --color-panel: #ffffff;
    --color-primary: #176b4d;
    --color-primary-dark: #0d3f31;
    --color-accent: #c9862c;
    --color-blue: #315d7d;
    --shadow-soft: 0 16px 40px rgba(23, 33, 27, 0.08);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 1000;
    background: var(--color-ink);
    color: #ffffff;
    padding: 0.5rem 0.75rem;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-line);
}

.site-header__inner,
.site-footer__inner,
.container,
.section,
.hero,
.final-cta {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.site-brand {
    display: grid;
    gap: 0;
    color: var(--color-ink);
    text-decoration: none;
}

.site-brand__name {
    font-weight: 700;
    font-size: 1.1rem;
}

.site-brand__tagline {
    color: var(--color-muted);
    font-size: 0.8rem;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--color-line);
    background: var(--color-panel);
    color: var(--color-ink);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
}

.nav-toggle__bar {
    width: 18px;
    height: 2px;
    background: var(--color-ink);
    box-shadow: 0 6px 0 var(--color-ink), 0 -6px 0 var(--color-ink);
}

.primary-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-line);
    padding: 0.75rem 1rem 1rem;
}

.primary-nav.is-open {
    display: block;
}

.primary-nav ul,
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-nav a {
    display: block;
    padding: 0.55rem 0;
    color: var(--color-ink);
    font-weight: 600;
}

.header-cta {
    display: none;
    background: var(--color-primary);
    color: #ffffff;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius);
    font-weight: 700;
}

.hero {
    display: grid;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.hero__copy {
    display: grid;
    gap: 1.25rem;
}

.eyebrow,
.section-label {
    margin: 0;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.8rem;
}

h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: 2.1rem;
}

h2 {
    font-size: 1.65rem;
}

h3 {
    font-size: 1.1rem;
}

p {
    margin: 0 0 1rem;
}

.lead {
    color: var(--color-muted);
    font-size: 1.05rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.beeso-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}

.beeso-button--primary {
    color: #ffffff;
    background: var(--color-primary);
}

.beeso-button--secondary {
    color: var(--color-primary-dark);
    background: #ffffff;
    border-color: var(--color-primary);
}

.beeso-button--light {
    color: var(--color-primary-dark);
    background: #ffffff;
}

.beeso-button--dark {
    color: #ffffff;
    background: var(--color-primary-dark);
}

.beeso-button--whatsapp {
    color: #ffffff;
    background: #1f8f62;
}

.placeholder-media {
    min-height: 260px;
    display: grid;
    place-items: center;
    border: 1px dashed #a9b8b0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f9fbfa, #edf4ef);
    color: var(--color-muted);
    text-align: center;
    padding: 1rem;
}

.section {
    padding: 2.5rem 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.surface-band {
    background: var(--color-surface);
}

.grid,
.card-grid,
.category-grid,
.product-grid,
.market-grid,
.metric-grid {
    display: grid;
    gap: 1rem;
}

.info-card,
.category-card,
.market-card,
.metric-card,
.faq-item {
    background: var(--color-panel);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 1rem;
}

.category-card {
    display: grid;
    gap: 1rem;
    padding: 0;
    overflow: hidden;
}

.category-card .placeholder-media {
    min-height: 180px;
    border: 0;
    border-radius: 0;
}

.category-card__body {
    padding: 0 1rem 1rem;
}

.product-card {
    display: grid;
    overflow: hidden;
    background: var(--color-panel);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
}

.product-card__media {
    display: block;
    background: var(--color-surface);
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-card__media img,
.product-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__media .placeholder-media {
    min-height: 100%;
    border: 0;
    border-radius: 0;
}

.product-card__body {
    padding: 1rem;
}

.product-card__meta,
.product-detail__meta {
    color: var(--color-muted);
    font-size: 0.92rem;
}

.metric-card strong {
    display: block;
    color: var(--color-primary-dark);
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.text-link {
    display: inline-flex;
    font-weight: 700;
}

.process-list {
    counter-reset: step;
    display: grid;
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.process-list li {
    counter-increment: step;
    border-left: 4px solid var(--color-primary);
    background: var(--color-panel);
    padding: 1rem;
    border-radius: var(--radius);
}

.process-list li::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-item p {
    margin: 0.75rem 0 0;
}

.breadcrumbs {
    width: min(100% - 32px, var(--container));
    margin: 1rem auto 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.4rem;
    color: var(--color-muted);
}

.final-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.final-cta > div:first-child {
    flex: 1 1 420px;
    min-width: min(100%, 300px);
    max-width: 720px;
}

.final-cta h2 {
    overflow-wrap: normal;
    word-break: normal;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.88);
}

.final-cta .button-row {
    flex: 1 1 320px;
    min-width: min(100%, 280px);
    max-width: 560px;
    justify-content: flex-start;
}

.final-cta .beeso-button {
    flex: 1 1 210px;
    text-align: center;
    white-space: normal;
}

.site-footer {
    background: #13251d;
    color: #ffffff;
    padding: 2.5rem 0 1rem;
}

.site-footer a {
    color: #ffffff;
}

.site-footer__inner {
    display: grid;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.25rem;
}

.footer-nav ul {
    columns: 2;
}

.site-footer__note {
    width: min(100% - 32px, var(--container));
    margin: 1.5rem auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.whatsapp-sticky {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    background: #1f8f62;
    color: #ffffff;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    font-weight: 700;
    text-decoration: none;
    max-width: min(320px, calc(100% - 32px));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entry-content {
    width: min(100% - 32px, 820px);
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.entry-content > * {
    max-width: 100%;
}

.inquiry-form {
    display: grid;
    gap: 1rem;
    max-width: 760px;
}

.inquiry-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 0.75rem;
    font: inherit;
}

.message-template {
    white-space: pre-wrap;
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 1rem;
    color: var(--color-ink);
    overflow-x: auto;
}

.page-title {
    width: min(100% - 32px, var(--container));
    margin: 2rem auto 1rem;
}

.product-detail {
    width: min(100% - 32px, var(--container));
    margin: 2rem auto;
    display: grid;
    gap: 2rem;
}

.product-detail__media {
    min-height: 320px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
}

.product-detail__media .placeholder-media {
    min-height: 320px;
    border: 0;
    border-radius: 0;
}

.product-detail__summary {
    display: grid;
    align-content: center;
    gap: 0.75rem;
}

.product-spec-grid {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.product-entry-content {
    padding-top: 0;
    padding-bottom: 0;
}

@media (min-width: 760px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
        align-items: center;
        padding: 4.5rem 0 3rem;
    }

    .metric-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .card-grid,
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .market-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-detail {
        grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
        align-items: center;
    }

    .product-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
}

@media (min-width: 1040px) {
    .nav-toggle {
        display: none;
    }

    .primary-nav {
        display: block;
        position: static;
        padding: 0;
        border: 0;
    }

    .primary-nav ul {
        display: flex;
        gap: 0.85rem;
        align-items: center;
    }

    .primary-nav a {
        padding: 0.25rem 0;
        font-size: 0.92rem;
    }

    .header-cta {
        display: inline-flex;
    }
}
