:root {
    --bg-color: #f7f9fc;
    --bg-secondary: #ffffff;
    --text-primary: #1b1b1b;
    --text-secondary: #596275;
    --accent-color: #64a36f;
    --accent-hover: #528d5d;
    --forest: #052014;
    --forest-mid: #0d3d25;
    --sage-soft: #e8f5e9;
    --border: #e2e8f0;
    --accent-glow: rgba(100, 163, 111, 0.2);
    --gold: #64a36f;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.05);
    --font-main: 'IBM Plex Sans', 'Montserrat', sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-nav: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --page-pad: clamp(16px, 5vw, 80px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: var(--font-main);
}

html {
    overflow-x: clip;
    scrollbar-gutter: stable;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

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

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

ul {
    list-style: none;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: var(--transition);
}

.eyebrow {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header--left {
    text-align: left;
    max-width: none;
}

.section-header--left p {
    margin-top: 8px;
}

.section-header h2 {
    font-size: 1.85rem;
    color: var(--forest);
    font-weight: 600;
}

.section-header p,
.section-header .eyebrow {
    margin-bottom: 8px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-color);
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(100, 163, 111, 0.25);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 10px rgba(100, 163, 111, 0.25);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128c7e;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 76px;
    padding: 0 var(--page-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.navbar.scrolled {
    border-bottom-color: rgba(5, 32, 20, 0.08);
    box-shadow: 0 8px 24px rgba(5, 32, 20, 0.06);
    background: rgba(255, 255, 255, 0.98);
}

.logo {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.logo img {
    height: 42px;
    width: auto;
    max-width: 56px;
    flex-shrink: 0;
}

.logo-text {
    line-height: 1;
    letter-spacing: 0.14em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-links li {
    position: relative;
}

.nav-links > li > a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--forest);
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
}

.nav-links > li > a:hover {
    background: rgba(5, 32, 20, 0.04);
    color: var(--forest);
}

.nav-links > li > a.active {
    color: var(--forest);
    font-weight: 600;
}

.nav-links > li > a.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.dropdown-toggle i {
    font-size: 0.65rem;
    opacity: 0.55;
}

.nav-phone a {
    font-variant-numeric: tabular-nums;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

.btn-nav {
    background: var(--forest) !important;
    color: #fff !important;
    padding: 9px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin-left: 8px;
}

.btn-nav:hover {
    background: var(--forest-mid) !important;
    color: #fff !important;
}

.nav-links > li > a.btn-primary {
    color: #fff !important;
    margin-left: 8px;
    padding: 9px 16px;
    border-radius: 8px;
}

.nav-links > li > a.btn-primary.active::after,
.nav-links > li > a.btn-nav.active::after {
    display: none;
}

.nav-search {
    flex: 1;
    max-width: 520px;
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--bg-color);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 16px;
}

.navbar--catalog .nav-search {
    display: flex;
    min-width: 0;
    flex: 1 1 180px;
    max-width: 420px;
}

.navbar--catalog .logo-text,
.navbar--catalog .logo {
    min-width: 0;
}

@media (min-width: 769px) {
    .navbar--catalog .nav-links li:not(:last-child) {
        display: none;
    }
}

.nav-search i {
    color: var(--text-secondary);
}

.nav-search input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 0.9rem;
    outline: none;
    color: var(--text-primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    width: max-content;
    background: #fff;
    border: 1px solid rgba(5, 32, 20, 0.08);
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 16px 40px rgba(5, 32, 20, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 2000;
}

.dropdown-parent::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--forest);
    font-size: 0.9rem;
    border-bottom: none;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: var(--sage-soft);
    color: var(--forest);
}

.hamburger {
    display: none;
    font-size: 1.25rem;
    color: var(--forest);
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    line-height: 1;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 76px var(--page-pad) 36px;
    overflow: hidden;
    background: var(--forest);
    color: #fff;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    width: 100%;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    gap: 48px;
}

.hero-left {
    flex: 1;
    max-width: 640px;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    letter-spacing: 0;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.55rem;
    line-height: 1.22;
    margin-bottom: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.55;
}

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

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 0;
}

.hero-logo-img {
    width: min(30vw, 230px);
    height: auto;
    object-fit: contain;
    opacity: 0.95;
}

.hero-trust-bar {
    z-index: 3;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 24px;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0;
    padding: 18px 32px 4px 0;
    margin-right: 32px;
}

/* How we work (homepage) */
.how {
    padding: 72px var(--page-pad);
    background: #fff;
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 56px;
    align-items: start;
}

.how-intro h2 {
    font-size: 1.85rem;
    color: var(--forest);
    margin-bottom: 12px;
}

.how-intro p {
    max-width: 46ch;
    line-height: 1.65;
}

.how-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
}

.how-steps li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 8px 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.how-steps .num {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--accent-color);
    font-size: 0.95rem;
    padding-top: 2px;
}

.how-steps h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--forest);
    font-weight: 600;
}

.how-steps p {
    font-size: 0.95rem;
}

/* Why us (catalog pages) */
.why-us {
    padding: 88px var(--page-pad);
    background: var(--bg-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.why-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.why-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.why-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sage-soft);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.why-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.why-card p {
    font-size: 0.95rem;
}

/* About */
.about {
    padding: 72px var(--page-pad);
    background: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.55fr;
    gap: 48px;
    align-items: start;
    max-width: 1120px;
}

.about-copy h2 {
    font-size: 1.85rem;
    color: var(--forest);
    margin-bottom: 20px;
}

.about-copy p {
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-quote {
    margin-top: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--forest);
    font-style: italic;
}

.about-aside {
    background: var(--forest);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    border-radius: var(--radius-lg);
    position: sticky;
    top: 96px;
}

.about-aside-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45) !important;
    margin-bottom: 8px;
}

.about-aside p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    margin: 0;
}

.about-aside a {
    color: #fff;
    font-weight: 500;
}

.about-aside a:hover {
    color: var(--accent-color);
}

/* Category mosaic */
.categories {
    padding: 72px var(--page-pad);
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
}

.category-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    border-color: rgba(100, 163, 111, 0.45);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.category-card:nth-child(1) {
    grid-row: 1 / 3;
}

.category-card:nth-child(1) .category-card-media {
    flex: 1;
    min-height: 280px;
    height: auto;
}

.category-card--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
}

.category-card--wide .category-card-media {
    width: 280px;
    height: 140px;
    flex-shrink: 0;
}

.category-card--wide .category-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-card-media {
    height: 160px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.category-card-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 12px;
}

.category-card-body {
    padding: 16px 18px 20px;
}

.category-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--forest);
    font-weight: 600;
}

.category-card-body p {
    font-size: 0.88rem;
}

/* Featured / products */
.products {
    padding: 64px var(--page-pad) 72px;
    background: var(--bg-color);
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 28px;
}

.products-toolbar h2 {
    font-size: 1.85rem;
    color: var(--forest);
}

.products-toolbar p {
    margin-top: 6px;
    font-size: 0.95rem;
}

.products-toolbar a {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.product-card:hover {
    border-color: rgba(100, 163, 111, 0.45);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: none;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-info .category {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
}

.product-info h3 {
    font-size: 1rem;
    color: var(--forest);
}

.product-info p {
    font-size: 0.85rem;
    flex: 1;
}

.product-card .btn-request {
    width: 100%;
    padding: 10px 16px;
    background: var(--accent-color);
    border: none;
    color: #fff;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
}

.product-card .btn-request:hover {
    background: var(--accent-hover);
}

/* Catalog B */
.catalog-page {
    padding-top: 88px;
}

.catalog-hero {
    padding: 48px var(--page-pad) 24px;
    background: var(--bg-color);
}

.catalog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.chip {
    padding: 8px 14px;
    border-radius: var(--radius);
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.chip:hover {
    color: var(--forest);
}

.chip.active {
    background: var(--forest);
    color: #fff !important;
}

.catalog-hero h1 {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--forest);
    max-width: 720px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.catalog-hero .lead {
    font-size: 1rem;
    max-width: 640px;
}

.catalog-search-mobile {
    display: none;
    margin-top: 20px;
}

.catalog-search-mobile input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-size: 0.95rem;
}

.catalog-products {
    background: #fff;
}

.catalog-trust {
    background: var(--bg-color);
}

/* Contact */
.contact {
    padding: 72px var(--page-pad);
    background: #fff;
}

.contact-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.85rem;
    color: var(--forest);
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--forest);
    font-weight: 500;
}

.whatsapp-box {
    margin-top: 24px;
}

.contact-form {
    background: var(--bg-color);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: none;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--forest);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.btn-submit {
    padding: 12px 24px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--accent-hover);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

/* Footer */
.site-footer,
footer {
    padding: 28px var(--page-pad);
    background: var(--forest);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-inner .logo img {
    height: 22px;
}

.footer-inner a {
    color: var(--accent-color);
    font-weight: 600;
}

.site-footer--light,
footer.site-footer--light {
    background: #fff;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}

.site-footer--light .logo {
    color: var(--forest);
}

.site-footer--light a {
    color: var(--forest);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
    border-radius: 5px;
}

/* Subpage leftovers */
.page-header {
    min-height: 240px;
    background: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 48px;
    color: #fff;
}

.page-header h1,
.page-header p {
    color: #fff;
}

.back-link-top {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .navbar--catalog .logo {
        font-size: 0.78rem;
        letter-spacing: 0.08em;
    }

    .navbar--catalog .nav-search {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-logo-img {
        width: 96px;
    }

    .how,
    .about,
    .categories,
    .products,
    .contact,
    .why-us {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-phone {
        display: none;
    }
}

@media (max-width: 1100px) {
    .how,
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .why-us-grid,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .category-card:nth-child(1) {
        grid-row: auto;
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .category-card:nth-child(1) .category-card-media {
        min-height: 0;
        height: 180px;
        width: 42%;
        flex: none;
    }

    .category-card--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: 64px;
    }

    .logo img {
        height: 34px;
        max-width: 68px;
    }

    .nav-links {
        display: none;
    }

    .nav-search {
        display: none !important;
    }

    .catalog-search-mobile {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 12px 16px 20px;
        box-shadow: var(--shadow-card);
        gap: 4px;
        border-top: 1px solid var(--border);
    }

    .nav-links.mobile-active > li > a.active::after {
        display: none;
    }

    .btn-nav {
        margin-left: 0;
        justify-content: center;
        margin-top: 8px;
    }

    .hero {
        min-height: 0;
        padding: 80px 20px 20px;
        justify-content: flex-start;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: none;
        gap: 16px;
    }

    .hero-left {
        max-width: none;
        text-align: center;
    }

    .hero-right {
        display: flex;
        justify-content: center;
        order: -1;
        flex: none;
        width: 100%;
    }

    .hero-logo-img {
        width: 108px;
    }

    .hero-eyebrow {
        margin-bottom: 8px;
    }

    .hero-title {
        font-size: 1.55rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 16px;
        font-size: 0.92rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 14px;
        margin-top: 16px;
    }

    .trust-item {
        margin-right: 0;
        padding: 8px 0 0;
        font-size: 0.75rem;
    }

    .how,
    .about,
    .categories,
    .products,
    .contact,
    .why-us,
    .catalog-hero {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .how-intro p {
        max-width: none;
    }

    .how-steps li {
        grid-template-columns: 2.25rem 1fr;
        padding: 14px 0;
    }

    .about-copy p {
        font-size: 0.95rem;
        margin-bottom: 12px;
        line-height: 1.65;
    }

    .category-card:nth-child(1),
    .category-card--wide {
        flex-direction: column;
    }

    .category-card-media,
    .category-card:nth-child(1) .category-card-media,
    .category-card--wide .category-card-media {
        width: 100%;
        height: 110px;
        min-height: 0;
    }

    .category-card--wide {
        flex-direction: row;
        grid-column: 1 / -1;
    }

    .category-card--wide .category-card-media {
        width: 110px;
        height: 110px;
        flex-shrink: 0;
    }

    .category-card-body {
        padding: 12px;
    }

    .category-card-body h3 {
        font-size: 0.95rem;
    }

    .product-image {
        height: 128px;
    }

    .why-us-grid,
    .products-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .nav-links.mobile-active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        padding: 0 0 8px 12px;
        min-width: 0;
        width: 100%;
    }

    .nav-links.mobile-active .dropdown-parent.open .dropdown-menu {
        display: block;
    }

    .nav-links.mobile-active .dropdown-parent::after {
        display: none;
    }

    .catalog-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
        max-width: 100%;
    }

    .catalog-chips::-webkit-scrollbar {
        display: none;
    }

    .chip {
        flex: 0 0 auto;
    }

    .catalog-search-mobile input {
        font-size: 1rem;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        flex: 1 1 auto;
        text-align: center;
    }

    .about-aside {
        position: static;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form,
    .why-card,
    .product-card {
        max-width: 100%;
    }

    .catalog-hero h1 {
        font-size: 1.7rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

html.js-anim .reveal:not(.is-visible),
html.js-anim .reveal-stagger > *:not(.is-visible) {
    opacity: 0;
    transform: translateY(16px);
}

html.js-anim .reveal,
html.js-anim .reveal-stagger > * {
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--stagger, 0ms);
}

html.js-anim .reveal.is-visible,
html.js-anim .reveal-stagger > *.is-visible {
    opacity: 1;
    transform: none;
}

.product-card.card-enter {
    animation: fade-up 0.5s ease both;
    animation-delay: var(--stagger, 0ms);
}

.catalog-hero.card-enter,
.hero-actions.card-enter {
    animation: fade-up 0.6s ease both;
}

@media (max-width: 768px) {
    html.js-anim .reveal:not(.is-visible),
    html.js-anim .reveal-stagger > *:not(.is-visible) {
        transform: translateY(10px);
    }

    .product-card.card-enter {
        animation-duration: 0.4s;
    }
}

html.js-anim .why-card.is-visible:hover,
html.js-anim .category-card.is-visible:hover,
html.js-anim .product-card.is-visible:hover {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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