:root {
    --primary: #1173d4;
    --primary-dark: #0d5cad;
    --secondary: #2e7d32;
    --surface: #ffffff;
    --surface-alt: #f5f7fb;
    --surface-muted: #eef3f8;
    --text: #0f172a;
    --text-soft: #5b6475;
    --text-inverse: #d5dbea;
    --border: #dfe7f0;
    --shadow-soft: 0 24px 64px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.08);
    --footer: #0f172d;
    --whatsapp: #25d366;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Lexend", sans-serif;
    background: linear-gradient(180deg, #f7fbff 0%, #f4f7fb 38%, #ffffff 100%);
    color: var(--text);
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(223, 231, 240, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 42px;
    max-height: 40px;
}

.brand-logo img {
    width: auto;
    max-width: 180px;
    max-height: 40px;
    object-fit: contain;
}

.brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(17, 115, 212, 0.25);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: #334155;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
    border-color: #bfd7f2;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    font-weight: 700;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--primary);
    color: #fff;
    padding: 13px 22px;
    box-shadow: 0 16px 30px rgba(17, 115, 212, 0.24);
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-secondary {
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--border);
    padding: 11px 20px;
}

.button-secondary:hover {
    background: #f8fafc;
}

.button-large {
    padding: 16px 28px;
    border-radius: 16px;
    font-size: 1rem;
}

.login-shortcut {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.login-shortcut:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
    border-color: #bfd7f2;
}

.login-badge {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9f1c 0%, #ff5f6d 52%, #b83280 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.login-badge::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #d44a76;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
}

.login-shortcut:hover .login-badge,
.login-shortcut:focus-visible .login-badge {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.mobile-sidebar {
    position: fixed;
    inset: 0;
    z-index: 80;
    visibility: hidden;
    pointer-events: none;
}

.mobile-sidebar-panel {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: min(320px, calc(100vw - 48px));
    height: 100%;
    padding: 22px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-right: 1px solid rgba(223, 231, 240, 0.95);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
}

.mobile-sidebar-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: none;
    background: rgba(15, 23, 42, 0.36);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.mobile-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.mobile-sidebar-head strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.mobile-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-sidebar-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-alt);
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
}

.mobile-sidebar.is-open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-sidebar.is-open .mobile-sidebar-panel {
    transform: translateX(0);
}

.mobile-sidebar.is-open .mobile-sidebar-backdrop {
    opacity: 1;
}

.button-whatsapp {
    width: 100%;
    background: var(--whatsapp);
    color: #fff;
    padding: 11px 14px;
    border-radius: 12px;
}

.button-whatsapp:hover {
    box-shadow: 0 16px 28px rgba(37, 211, 102, 0.24);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 56px 0 96px;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(4px);
    pointer-events: none;
}

.hero-section::before {
    width: 360px;
    height: 360px;
    top: -140px;
    left: -80px;
    background: radial-gradient(circle, rgba(17, 115, 212, 0.16) 0%, rgba(17, 115, 212, 0) 72%);
}

.hero-section::after {
    width: 420px;
    height: 420px;
    right: -140px;
    top: 0;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.14) 0%, rgba(46, 125, 50, 0) 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(46, 125, 50, 0.12);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.04em;
    max-width: 760px;
}

.hero-copy h1 span {
    color: var(--primary);
    display: inline-block;
    margin-top: 12px;
    font-size: clamp(1.35rem, 2.2vw, 2.2rem);
    line-height: 1.2;
}

.hero-copy p {
    max-width: 660px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-card {
    width: min(460px, 100%);
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #083a6c, #0d213e 58%, #123666);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.22);
    transform: rotate(2deg);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    left: 0;
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(223, 231, 240, 0.9);
}

.hero-floating-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.15);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-card strong {
    display: block;
    font-size: 1rem;
}

.hero-floating-card p {
    margin: 3px 0 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.steps-section,
.catalog-section,
.team-section {
    padding: 92px 0;
}

.steps-section {
    background: rgba(255, 255, 255, 0.85);
}

.team-section {
    background: #f7fafc;
}

.section-intro {
    text-align: center;
    margin-bottom: 52px;
}

.section-intro h2,
.catalog-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.section-intro p,
.catalog-head span {
    margin: 0 auto;
    max-width: 720px;
    color: var(--text-soft);
    line-height: 1.75;
}

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

.step-card {
    text-align: center;
    padding: 10px 12px;
}

.step-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(17, 115, 212, 0.11);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
}

.step-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.94rem;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 38px;
}

.catalog-head-full {
    grid-column: 1 / -1;
    margin-bottom: -8px;
}

.catalog-sidebar {
    align-self: start;
    position: sticky;
    top: 108px;
    display: grid;
    gap: 24px;
}

.sidebar-block {
    padding: 0;
}

.sidebar-block h3 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}

.sidebar-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.sidebar-filter {
    text-align: center;
    padding: 10px 14px;
    border: 1px solid #dbe5ef;
    background: #fff;
    color: var(--text-soft);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 14px;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-filter:hover,
.sidebar-filter.is-active {
    color: var(--primary);
    transform: translateY(-1px);
}

.sidebar-filter.is-active {
    background: linear-gradient(135deg, #1173d4 0%, #2e7d32 100%);
    color: #fff;
    box-shadow: 0 16px 28px rgba(17, 115, 212, 0.2);
    border-color: transparent;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
}

.search-box span {
    color: #94a3b8;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
}

.compact-options {
    gap: 8px;
    max-height: 240px;
    overflow: auto;
    padding-right: 4px;
}

.compact-options .sidebar-filter {
    text-align: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 8px;
}

.catalog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.catalog-head span {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 500;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--surface);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(223, 231, 240, 0.7);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.product-card[hidden] {
    display: none;
}

.product-thumb {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e8eef5;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.08);
}

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.product-label {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    font-weight: 800;
}

.product-content h3 {
    margin: 8px 0 0;
    font-size: 1rem;
    line-height: 1.4;
}

.product-meta {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.product-meta span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f0f6fb;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-card.is-empty {
    grid-column: 1 / -1;
}

.product-grid.is-loading {
    opacity: 0.92;
}

.product-card-skeleton {
    pointer-events: none;
}

.skeleton-box,
.skeleton-line,
.skeleton-pill {
    background: linear-gradient(90deg, #edf2f8 25%, #f8fbff 50%, #edf2f8 75%);
    background-size: 200% 100%;
    animation: skeletonPulse 1.2s ease-in-out infinite;
}

.skeleton-line {
    height: 16px;
    border-radius: 999px;
}

.skeleton-line-short {
    width: 34%;
    height: 12px;
}

.skeleton-line-title {
    width: 86%;
    height: 24px;
    margin-top: 14px;
}

.skeleton-pill {
    width: 84px;
    height: 36px;
    border-radius: 999px;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 34px;
    width: 100%;
}

.load-more-button {
    min-width: 240px;
}

.load-more-button.is-complete {
    background: #e8f1fb;
    color: #5f6f84;
    border-color: #d5e2f0;
    box-shadow: none;
    cursor: default;
}

.team-section .load-more-wrap {
    margin-top: 40px;
}

.team-load-more {
    justify-content: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.team-card {
    background: var(--surface);
    border-radius: 22px;
    border: 1px solid rgba(223, 231, 240, 0.9);
    padding: 28px 22px 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-card.is-team-hidden {
    display: none !important;
}

.team-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(17, 115, 212, 0.1);
    margin-bottom: 16px;
    background: #dbeafe;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar.is-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.team-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.3;
    min-height: calc(1.3em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-areas {
    width: 100%;
    overflow: hidden;
    padding: 2px 2px 6px;
    margin: 2px 0 18px;
    display: flex;
    justify-content: center;
}

.team-areas-track {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 100%;
    justify-content: center;
}

.team-areas.is-animated .team-areas-track {
    width: max-content;
    min-width: max-content;
    justify-content: flex-start;
    animation: teamBadgeSlide 18s linear infinite;
}

.team-area-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf5ff;
    border: 1px solid #cfe2fb;
    color: #45607f;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.team-area-badge.is-duplicate {
    opacity: 0.92;
}

@keyframes teamBadgeSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.site-footer {
    background: var(--footer);
    color: var(--text-inverse);
    padding: 78px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
    gap: 34px;
}

.footer-logo {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo .brand-logo {
    justify-content: flex-start;
}

.footer-logo h2,
.footer-links-block h3,
.footer-cta h3 {
    margin: 0 0 12px;
    color: #fff;
}

.footer-logo p,
.footer-description,
.footer-links-block p,
.footer-cta p {
    color: #a9b4c8;
    line-height: 1.8;
}

.footer-brand .brand-badge {
    width: 44px;
    height: 44px;
}

.footer-brand-logo {
    max-height: 44px;
}

.footer-brand-logo img {
    max-height: 44px;
    max-width: 200px;
}

.footer-description {
    margin: 0 0 20px;
    max-width: 360px;
    font-size: 0.94rem;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #d7dfeb;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-links-block {
    display: grid;
    align-content: start;
    gap: 10px;
}

.footer-links-block a,
.footer-links-block p {
    color: #a9b4c8;
    font-size: 0.92rem;
    line-height: 1.8;
}

.footer-links-block a:hover,
.footer-socials a:hover {
    color: #fff;
}

.footer-cta {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 24px;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(169, 180, 200, 0.16);
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    color: #91a0bb;
    font-size: 0.84rem;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #1173d4 0%, #2e7d32 100%);
    color: #fff;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.back-to-top:hover {
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.24);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.reveal {
    animation: fadeUp 0.6s ease both;
    animation-delay: calc(var(--delay, 0) * 70ms);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes skeletonPulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 1080px) {
    .site-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .hero-grid,
    .catalog-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
    }

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

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

@media (max-width: 860px) {
    .hero-section {
        padding-top: 34px;
        padding-bottom: 72px;
    }

    .hero-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-floating-card {
        left: 18px;
        right: 18px;
        bottom: 0;
    }

    .catalog-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-sidebar {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .team-section .container.team-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: auto;
        gap: 14px;
    }

    .team-section .team-card {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 72px;
        gap: 10px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .header-actions {
        gap: 8px;
        margin-left: auto;
    }

    .header-actions .button-primary {
        width: auto;
    }

    .header-contact-button {
        display: none;
    }

    .login-badge {
        right: 0;
        top: calc(100% + 10px);
        transform: translateY(-4px);
        width: 148px;
        text-align: center;
        white-space: normal;
    }

    .login-badge::after {
        top: -5px;
        right: 18px;
        transform: rotate(45deg);
    }

    .login-shortcut:hover .login-badge,
    .login-shortcut:focus-visible .login-badge {
        transform: translateY(0);
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .team-section .container.team-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-auto-rows: auto;
        gap: 12px;
        align-items: stretch;
    }

    .team-section .team-card {
        padding: 16px 10px 12px;
        border-radius: 18px;
        min-height: 0;
        min-width: 0;
    }

    .team-avatar {
        width: 64px;
        height: 64px;
        margin-bottom: 10px;
        border-width: 3px;
    }

    .team-card h3 {
        font-size: 0.8rem;
        min-height: calc(1.3em * 2);
        margin-bottom: 8px;
    }

    .team-areas {
        margin: 0 0 10px;
        padding-bottom: 2px;
    }

    .team-area-badge {
        padding: 5px 8px;
        font-size: 0.64rem;
    }

    .button-whatsapp {
        padding: 9px 10px;
        font-size: 0.72rem;
        border-radius: 10px;
    }

    .button-whatsapp .material-symbols-outlined {
        font-size: 16px;
    }

    .brand-logo img {
        max-width: 140px;
        max-height: 40px;
    }

    .catalog-layout {
        gap: 24px;
    }

    .catalog-sidebar {
        gap: 14px;
    }

    .sidebar-block {
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.9);
    }

    .sidebar-block h3 {
        margin-bottom: 12px;
    }

    .footer-socials {
        flex-direction: column;
    }

    .footer-socials a {
        width: 100%;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }
}

body.has-mobile-menu {
    overflow: hidden;
}
