/* ============================================================
   STOLARNIA MAZOWSZE - Custom Theme Styles
   Premium Carpentry & Woodworking Business
   ============================================================ */

/* ============================================================
   1. ROOT VARIABLES AND RESET
   ============================================================ */
:root {
    --sm-primary-dark: #222220;
    --sm-secondary-dark: #2e2e2b;
    --sm-accent: #a89279;
    --sm-accent-light: #c9b99e;
    --sm-accent-dark: #7a6b56;
    --sm-text-light: #ebe7e1;
    --sm-text-muted: #8a8780;
    --sm-bg-light: #f0ece6;
    --sm-bg-section: #f4f1ec;
    --sm-white: #faf8f5;
    --sm-border-light: rgba(168,146,121,0.18);
    --sm-font-heading: 'Montserrat', sans-serif;
    --sm-font-body: 'Inter', sans-serif;
    --sm-font-accent: 'Montserrat', sans-serif;
    --sm-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --sm-shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --sm-shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --sm-shadow-xl: 0 16px 48px rgba(0,0,0,0.1);
    --sm-radius-sm: 4px;
    --sm-radius-md: 8px;
    --sm-radius-lg: 16px;
    --sm-radius-xl: 24px;
    --sm-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sm-transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --sm-container-width: 1280px;
    --sm-header-height: 80px;
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: var(--sm-font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--sm-primary-dark);
    background-color: var(--sm-white);
    overflow-x: hidden;
    position: relative;
}

/* Subtle paper-grain texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

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

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

a:hover {
    color: var(--sm-accent);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

::selection {
    background-color: var(--sm-accent);
    color: var(--sm-white);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--sm-accent);
    border-radius: 4px;
}

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

/* ============================================================
   2. GLOBAL STYLES
   ============================================================ */
.sm-container {
    width: 100%;
    max-width: var(--sm-container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.sm-container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.sm-container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sm-font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--sm-primary-dark);
}

h1 { font-size: 3.5rem; letter-spacing: -0.01em; }
h2 { font-size: 2.75rem; letter-spacing: 0; }
h3 { font-size: 2rem; letter-spacing: 0.01em; }
h4 { font-size: 1.5rem; letter-spacing: 0.01em; }
h5 { font-size: 1.25rem; letter-spacing: 0.02em; }
h6 { font-size: 1rem; letter-spacing: 0.02em; }

p {
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.8;
}

p:last-child {
    margin-bottom: 0;
}

.sm-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

blockquote {
    font-family: var(--sm-font-body);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    color: var(--sm-accent-dark);
    border-left: 3px solid var(--sm-accent);
    padding-left: 24px;
    margin: 32px 0;
}

/* ============================================================
   3. PRELOADER
   ============================================================ */
.sm-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--sm-primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.sm-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sm-preloader-logo {
    font-family: var(--sm-font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--sm-accent);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: preloaderLogoIn 0.8s ease forwards 0.2s;
}

.sm-preloader-logo i {
    margin-right: 12px;
    font-size: 1.5rem;
}

@keyframes preloaderLogoIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sm-preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(168,146,121,0.2);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: preloaderLogoIn 0.6s ease forwards 0.5s;
}

.sm-preloader-bar-inner {
    width: 0%;
    height: 100%;
    background: var(--sm-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.sm-preloader-percent {
    font-family: var(--sm-font-body);
    font-size: 0.75rem;
    color: var(--sm-text-muted);
    margin-top: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: preloaderLogoIn 0.6s ease forwards 0.7s;
}

/* Section 4: Custom Cursor - REMOVED in v2 */

/* ============================================================
   5. HEADER / NAVIGATION
   ============================================================ */
.sm-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--sm-header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    background: linear-gradient(to bottom, rgba(34,34,32,0.65) 0%, rgba(34,34,32,0.25) 70%, transparent 100%);
    will-change: transform, background;
}

.sm-header.is-scrolled {
    background: rgba(34,34,32,0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.sm-header.is-hidden {
    transform: translateY(-100%);
}

.sm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 40px;
}

.sm-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1001;
    flex-shrink: 0;
    gap: 0;
    line-height: 1;
}

.sm-logo-icon {
    height: 32px;
    width: auto;
    margin-bottom: 4px;
    filter: brightness(0) invert(1);
}

.sm-logo-line {
    font-family: var(--sm-font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sm-white);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    display: block;
    line-height: 1.4;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.sm-logo-line:last-child {
    color: var(--sm-accent-light);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.42em;
}

/* Legacy fallback for .sm-logo-tagline */
.sm-logo-tagline {
    font-family: var(--sm-font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sm-white);
    text-transform: uppercase;
    letter-spacing: 0.35em;
}

.sm-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sm-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sm-nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 16px;
    white-space: nowrap;
    transition: color var(--sm-transition);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.sm-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sm-accent);
    transition: width var(--sm-transition);
}

.sm-nav-link:hover,
.sm-nav-link.active {
    color: var(--sm-white);
}

.sm-nav-link:hover::after,
.sm-nav-link.active::after {
    width: 100%;
}

.sm-nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sm-accent);
    padding: 8px 16px;
    border: 1px solid rgba(168,146,121,0.3);
    border-radius: var(--sm-radius-sm);
    transition: all var(--sm-transition);
}

.sm-nav-phone i {
    font-size: 0.8rem;
}

.sm-nav-phone:hover {
    background: var(--sm-accent);
    color: var(--sm-white);
    border-color: var(--sm-accent);
}

.sm-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sm-header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sm-white);
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--sm-radius-sm);
    transition: all var(--sm-transition);
}

.sm-header-phone svg {
    width: 16px;
    height: 16px;
    color: var(--sm-accent-light);
}

.sm-header-phone:hover {
    background: var(--sm-accent);
    color: var(--sm-white);
    border-color: var(--sm-accent);
}

.sm-header-phone:hover svg {
    color: var(--sm-white);
}

/* Cart Icon */
.sm-header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--sm-white);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--sm-radius-sm);
    transition: all var(--sm-transition);
}

.sm-header-cart:hover {
    background: var(--sm-accent);
    color: var(--sm-white);
    border-color: var(--sm-accent);
}

.sm-header-cart svg {
    width: 18px;
    height: 18px;
}

.sm-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    background: var(--sm-accent);
    color: var(--sm-white);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    padding: 0 4px;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sm-cart-count.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Hamburger Menu Button */
.sm-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.sm-hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--sm-white);
    transition: all var(--sm-transition);
    position: absolute;
}

.sm-hamburger-line:nth-child(1) {
    transform: translateY(-7px);
}

.sm-hamburger-line:nth-child(2) {
    transform: translateY(0);
}

.sm-hamburger-line:nth-child(3) {
    transform: translateY(7px);
}

.sm-hamburger.active .sm-hamburger-line:nth-child(1), .sm-hamburger.is-active .sm-hamburger-line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.sm-hamburger.active .sm-hamburger-line:nth-child(2), .sm-hamburger.is-active .sm-hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.sm-hamburger.active .sm-hamburger-line:nth-child(3), .sm-hamburger.is-active .sm-hamburger-line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

/* ============================================================
   6. MOBILE MENU OVERLAY
   ============================================================ */
.sm-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--sm-primary-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 40px 30px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.sm-mobile-menu.active, .sm-mobile-menu.is-open {
    right: 0;
}

.sm-mobile-menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a89279'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.sm-mobile-nav-list {
    position: relative;
    z-index: 1;
}

.sm-mobile-nav-item {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.4s ease;
}

.sm-mobile-menu.active .sm-mobile-nav-item, .sm-mobile-menu.is-open .sm-mobile-nav-item {
    opacity: 1;
    transform: translateX(0);
}

.sm-mobile-menu.is-open .sm-mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.sm-mobile-menu.is-open .sm-mobile-nav-item:nth-child(2) { transition-delay: 0.15s; }
.sm-mobile-menu.is-open .sm-mobile-nav-item:nth-child(3) { transition-delay: 0.2s; }
.sm-mobile-menu.is-open .sm-mobile-nav-item:nth-child(4) { transition-delay: 0.25s; }
.sm-mobile-menu.is-open .sm-mobile-nav-item:nth-child(5) { transition-delay: 0.3s; }
.sm-mobile-menu.is-open .sm-mobile-nav-item:nth-child(6) { transition-delay: 0.35s; }

.sm-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(168,146,121,0.1);
    transition: all var(--sm-transition);
}

.sm-mobile-nav-link:hover {
    padding-left: 12px;
    border-bottom-color: var(--sm-accent);
}

.sm-mobile-nav-num, .sm-mobile-nav-number {
    font-family: var(--sm-font-body);
    font-size: 0.75rem;
    color: var(--sm-accent);
    font-weight: 600;
    letter-spacing: 1px;
    min-width: 28px;
}

.sm-mobile-nav-text {
    font-family: var(--sm-font-heading);
    font-size: 2rem;
    color: var(--sm-white);
    font-weight: 700;
    transition: color var(--sm-transition);
}

.sm-mobile-nav-link:hover .sm-mobile-nav-text {
    color: var(--sm-accent);
}

.sm-mobile-menu-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(168,146,121,0.15);
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
}

.sm-mobile-menu.is-open .sm-mobile-menu-footer {
    opacity: 1;
}

.sm-mobile-menu-contact {
    font-size: 0.875rem;
    color: var(--sm-text-muted);
    margin-bottom: 6px;
}

.sm-mobile-menu-contact a {
    color: var(--sm-accent);
    font-weight: 500;
}

.sm-mobile-menu-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.sm-mobile-menu-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(168,146,121,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 0.875rem;
    transition: all var(--sm-transition);
}

.sm-mobile-menu-social a:hover {
    background: var(--sm-accent);
    color: var(--sm-white);
    border-color: var(--sm-accent);
}

.sm-mobile-phone {
    display: block;
    font-family: var(--sm-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sm-accent);
    margin-bottom: 8px;
}

.sm-mobile-address {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.sm-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--sm-primary-dark);
    overflow: hidden;
}

.sm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sm-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(34,34,32,0.92) 0%,
        rgba(34,34,32,0.75) 50%,
        rgba(34,34,32,0.85) 100%
    );
}

.sm-hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sm-hero-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: rgba(168,146,121,0.06);
}

.sm-hero-line:nth-child(1) { left: 20%; }
.sm-hero-line:nth-child(2) { left: 40%; }
.sm-hero-line:nth-child(3) { left: 60%; }
.sm-hero-line:nth-child(4) { left: 80%; }

.sm-hero-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, transparent, var(--sm-accent), transparent);
    opacity: 0.15;
    animation: heroLineMove 8s ease-in-out infinite;
}

.sm-hero-line:nth-child(2)::after { animation-delay: 2s; }
.sm-hero-line:nth-child(3)::after { animation-delay: 4s; }
.sm-hero-line:nth-child(4)::after { animation-delay: 6s; }

@keyframes heroLineMove {
    0% { top: -30%; }
    100% { top: 100%; }
}

.sm-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--sm-container-width);
    margin: 0 auto;
    padding: 140px 24px 120px;
    width: 100%;
}

.sm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(168,146,121,0.1);
    border: 1px solid rgba(168,146,121,0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.sm-hero-badge i {
    font-size: 0.65rem;
}

.sm-hero-title {
    font-family: var(--sm-font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--sm-white);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
    letter-spacing: -0.02em;
}

.sm-hero-title .sm-text-accent {
    color: var(--sm-accent);
}

.sm-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.sm-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sm-hero-stats {
    position: absolute;
    bottom: 40px;
    left: 24px;
    right: 24px;
    max-width: var(--sm-container-width);
    margin: 0 auto;
    display: flex;
    gap: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(168,146,121,0.15);
    z-index: 2;
}

.sm-hero-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.sm-hero-stat-number {
    font-family: var(--sm-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sm-accent);
    line-height: 1;
}

.sm-hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.sm-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.sm-scroll-indicator-text {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    margin-bottom: 8px;
}

.sm-scroll-indicator-line {
    width: 1px;
    height: 60px;
    background: rgba(168,146,121,0.3);
    position: relative;
    overflow: hidden;
}

.sm-scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--sm-accent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0% { top: -40%; }
    50% { top: 100%; }
    100% { top: -40%; }
}

/* ============================================================
   7b. HERO V2 - Split Layout with Video
   ============================================================ */
/* ============================================
   HERO SECTION - Industrial centered layout
   ============================================ */
.sm-hero-industrial {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sm-primary-dark);
    position: relative;
    overflow: hidden;
}

.sm-hero-industrial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Subtle diagonal saw-cut lines pattern */
.sm-hero-industrial-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(168,146,121,0.3) 40px,
        rgba(168,146,121,0.3) 41px
    );
}

/* Grain texture */
.sm-hero-industrial-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.sm-hero-industrial .sm-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: calc(var(--sm-header-height) + 40px);
    padding-bottom: 40px;
}

.sm-hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Overline */
.sm-hero-overline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.sm-hero-overline-line {
    width: 40px;
    height: 1px;
    background: var(--sm-accent);
    opacity: 0.5;
}

.sm-hero-overline-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sm-accent-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* Title */
.sm-hero-industrial .sm-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--sm-text-light);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.sm-hero-industrial .sm-hero-title .sm-hero-title-line {
    display: block;
}

.sm-hero-industrial .sm-hero-title .sm-hero-title-accent {
    color: var(--sm-accent);
}

.sm-hero-industrial .sm-hero-title .sm-hero-title-small {
    font-size: 2.2rem;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.02em;
    margin-top: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Description */
.sm-hero-industrial .sm-hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

/* Actions */
.sm-hero-industrial .sm-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Stats bar */
.sm-hero-stats-bar {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 48px;
    border: 1px solid rgba(168,146,121,0.2);
    border-radius: 4px;
    background: rgba(34,34,32,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sm-hero-stats-bar .sm-hero-stat {
    text-align: center;
}

.sm-hero-stats-bar .sm-hero-stat-number {
    font-family: var(--sm-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sm-accent);
    line-height: 1;
    display: block;
}

.sm-hero-stats-bar .sm-hero-stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    display: block;
}

.sm-hero-stats-bar .sm-hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(168,146,121,0.2);
}

.sm-hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(34,34,32,0.3) 0%, transparent 40%);
    pointer-events: none;
}

/* Hero scroll indicator */
.sm-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.sm-hero-scroll-text {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.sm-hero-scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(168,146,121,0.3);
    position: relative;
    overflow: hidden;
}

.sm-hero-scroll-dot {
    width: 3px;
    height: 10px;
    background: var(--sm-accent);
    border-radius: 2px;
    position: absolute;
    left: -1px;
    animation: scrollDotMove 2s ease-in-out infinite;
}

@keyframes scrollDotMove {
    0% { top: -10px; }
    50% { top: 40px; }
    100% { top: -10px; }
}

/* ============================================================
   7c. ABOUT V2 SECTION
   ============================================================ */
.sm-about-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sm-about-v2-images {
    position: relative;
    height: auto;
}

.sm-about-v2-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--sm-shadow-lg);
}

.sm-about-v2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sm-about-v2-img-main {
    width: 100%;
    aspect-ratio: 4/3;
    margin-bottom: 20px;
}

.sm-about-v2-img-secondary {
    width: 70%;
    aspect-ratio: 16/9;
    margin-left: auto;
    border: 4px solid var(--sm-white);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.sm-about-v2-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--sm-accent);
    color: var(--sm-white);
    padding: 20px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(168,146,121,0.4);
    z-index: 3;
}

.sm-about-v2-badge-number {
    font-family: var(--sm-font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.sm-about-v2-badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    line-height: 1.3;
    margin-top: 4px;
    display: block;
}

.sm-about-v2-content {
    padding: 0;
}

.sm-about-v2-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.sm-about-v2-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.sm-about-v2-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sm-about-v2-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(168,146,121,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
}

.sm-about-v2-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 4px;
}

.sm-about-v2-feature p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   7d. ARIES SHOWCASE (Portfolio Preview)
   ============================================================ */
.sm-aries-showcase {
    margin-top: 48px;
}

.sm-aries-gallery {
    display: grid;
    grid-template-columns: 1.2fr auto 0.8fr;
    gap: 0;
    margin-bottom: 32px;
    align-items: stretch;
}

/* Compact stats strip between photos */
.sm-aries-stats-strip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--sm-bg-section);
    min-width: 100px;
}

.sm-aries-stat-compact {
    text-align: center;
}

.sm-aries-stat-num {
    font-family: var(--sm-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sm-accent);
    line-height: 1;
    display: block;
}

.sm-aries-stat-lbl {
    font-size: 0.6rem;
    color: var(--sm-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
    display: block;
}

.sm-aries-img {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.sm-aries-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-aries-img:hover img {
    transform: scale(1.05);
}

.sm-aries-img-main {
    aspect-ratio: 16/10;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.sm-aries-img-side {
    aspect-ratio: 3/4;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.sm-aries-img-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 16px;
    background: rgba(34,34,32,0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sm-aries-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.sm-aries-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
}

.sm-aries-stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    display: block;
}

/* Numbers grid (used on realizacje page) */
.sm-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.sm-numbers-grid .sm-number-item {
    padding: 24px 16px;
    background: var(--sm-bg-section);
    border-radius: 12px;
}

.sm-number-suffix {
    font-family: var(--sm-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sm-accent);
    line-height: 1;
}

/* ============================================================
   8. BUTTONS
   ============================================================ */
.sm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--sm-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--sm-radius-sm);
    transition: all var(--sm-transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.sm-btn i {
    font-size: 0.7rem;
    transition: transform var(--sm-transition);
}

.sm-btn:hover i {
    transform: translateX(4px);
}

/* Primary button */
.sm-btn-primary {
    background: var(--sm-accent);
    color: var(--sm-white);
    border-color: var(--sm-accent);
}

.sm-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--sm-accent-dark);
    transition: left var(--sm-transition);
    z-index: -1;
}

.sm-btn-primary:hover {
    color: var(--sm-white);
    background: var(--sm-accent-dark);
    border-color: var(--sm-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168,146,121,0.3);
}

.sm-btn-primary:hover::before {
    left: 0;
}

/* Outline button */
.sm-btn-outline {
    background: transparent;
    color: var(--sm-accent);
    border-color: var(--sm-accent);
}

.sm-btn-outline:hover {
    background: var(--sm-accent);
    color: var(--sm-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(168,146,121,0.2);
}

/* Dark button */
.sm-btn-dark {
    background: var(--sm-primary-dark);
    color: var(--sm-white);
    border-color: var(--sm-primary-dark);
}

.sm-btn-dark:hover {
    background: var(--sm-secondary-dark);
    border-color: var(--sm-secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--sm-shadow-lg);
}

/* White button */
.sm-btn-white {
    background: var(--sm-white);
    color: var(--sm-primary-dark);
    border-color: var(--sm-white);
}

.sm-btn-white:hover {
    background: var(--sm-bg-light);
    border-color: var(--sm-bg-light);
    transform: translateY(-2px);
    box-shadow: var(--sm-shadow-lg);
}

/* Outline light */
.sm-btn-outline-light {
    background: transparent;
    color: var(--sm-white);
    border-color: rgba(255,255,255,0.3);
}

.sm-btn-outline-light:hover {
    background: var(--sm-white);
    color: var(--sm-primary-dark);
    border-color: var(--sm-white);
    transform: translateY(-2px);
}

/* Button sizes */
.sm-btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

.sm-btn-lg {
    padding: 18px 40px;
    font-size: 0.9rem;
}

/* ============================================================
   9. SECTION STYLES
   ============================================================ */
.sm-section {
    padding: 100px 0;
    position: relative;
}

.sm-section-dark {
    background: var(--sm-primary-dark);
    color: var(--sm-text-light);
}

.sm-section-dark h2,
.sm-section-dark h3,
.sm-section-dark h4 {
    color: var(--sm-white);
}

.sm-section-dark p {
    color: rgba(255,255,255,0.75);
}

.sm-section-alt {
    background: var(--sm-bg-section);
}

.sm-section-light {
    background: var(--sm-bg-light);
}

.sm-section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.sm-section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--sm-accent);
}

.sm-section-title {
    font-family: var(--sm-font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.sm-section-subtitle {
    font-size: 1.05rem;
    color: #777;
    max-width: 560px;
    line-height: 1.8;
}

.sm-section-dark .sm-section-subtitle {
    color: rgba(255,255,255,0.5);
}

.sm-text-accent-light {
    color: var(--sm-accent-light);
}

.sm-section-header-light .sm-section-title { color: var(--sm-white); }
.sm-section-header-light .sm-section-subtitle { color: rgba(255,255,255,0.75); }
.sm-section-header-light .sm-section-label { color: var(--sm-accent); }

.sm-text-accent {
    color: var(--sm-accent);
}

.sm-section-header {
    margin-bottom: 60px;
}

.sm-section-header-center {
    text-align: center;
}

.sm-section-header-center .sm-section-label {
    justify-content: center;
}

.sm-section-header-center .sm-section-label::before {
    display: block;
}

.sm-section-header-center .sm-section-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--sm-accent);
}

.sm-section-header-center .sm-section-subtitle {
    margin: 0 auto;
}

/* ============================================================
   10. ABOUT PREVIEW SECTION
   ============================================================ */
.sm-about-preview {
    /* V2: grid is handled by .sm-about-v2 inside container */
    display: block;
}

.sm-about-images {
    position: relative;
    height: 560px;
}

.sm-about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 420px;
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    box-shadow: var(--sm-shadow-lg);
}

.sm-about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 300px;
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    box-shadow: var(--sm-shadow-xl);
    border: 4px solid var(--sm-white);
}

.sm-about-experience {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sm-accent);
    color: var(--sm-white);
    padding: 20px 28px;
    border-radius: var(--sm-radius-md);
    text-align: center;
    box-shadow: 0 8px 32px rgba(168,146,121,0.4);
    z-index: 2;
}

.sm-about-experience-number {
    font-family: var(--sm-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.sm-about-experience-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.sm-about-content {
    padding-left: 20px;
}

.sm-about-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 32px;
}

.sm-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.sm-about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sm-about-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(168,146,121,0.1);
    border-radius: var(--sm-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 0.9rem;
}

.sm-about-feature-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sm-primary-dark);
    line-height: 1.4;
}

.sm-about-feature-desc {
    font-size: 0.8rem;
    color: var(--sm-text-muted);
    margin-top: 2px;
    line-height: 1.5;
}

/* ============================================================
   11. SERVICES GRID
   ============================================================ */
.sm-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sm-service-card {
    background: var(--sm-white);
    border-radius: var(--sm-radius-md);
    padding: 40px 32px;
    position: relative;
    transition: all var(--sm-transition);
    border: 1px solid var(--sm-border-light);
    overflow: hidden;
}

.sm-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--sm-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--sm-transition);
}

.sm-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sm-shadow-lg);
    border-color: rgba(168,146,121,0.3);
}

.sm-service-card:hover::before {
    transform: scaleX(1);
}

.sm-service-number {
    font-family: var(--sm-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(168,146,121,0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.sm-service-icon {
    width: 52px;
    height: 52px;
    background: rgba(168,146,121,0.1);
    border-radius: var(--sm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 1.25rem;
    margin-bottom: 20px;
    transition: all var(--sm-transition);
}

.sm-service-card:hover .sm-service-icon {
    background: var(--sm-accent);
    color: var(--sm-white);
}

.sm-service-title {
    font-family: var(--sm-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--sm-primary-dark);
}

.sm-service-desc {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sm-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--sm-transition);
}

.sm-service-link i {
    font-size: 0.65rem;
    transition: transform var(--sm-transition);
}

.sm-service-link:hover {
    color: var(--sm-accent-dark);
}

.sm-service-link:hover i {
    transform: translateX(4px);
}

/* ============================================================
   12. PORTFOLIO SHOWCASE
   ============================================================ */
.sm-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.sm-portfolio-item {
    position: relative;
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    cursor: pointer;
    min-height: 320px;
}

.sm-portfolio-item-large {
    grid-column: span 8;
    min-height: 480px;
}

.sm-portfolio-item-small {
    grid-column: span 4;
}

.sm-portfolio-item-medium {
    grid-column: span 6;
    min-height: 400px;
}

.sm-portfolio-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-portfolio-item:hover .sm-portfolio-item-img {
    transform: scale(1.08);
}

.sm-portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(34,34,32,0.9) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--sm-transition-slow);
}

.sm-portfolio-item:hover .sm-portfolio-item-overlay {
    transform: translateY(0);
    opacity: 1;
}

.sm-portfolio-item-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.sm-portfolio-item-title {
    font-family: var(--sm-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sm-white);
    margin-bottom: 8px;
}

.sm-portfolio-item-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.sm-portfolio-item-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-white);
    font-size: 0.8rem;
    opacity: 0;
    transform: translate(10px, -10px);
    transition: all var(--sm-transition);
}

.sm-portfolio-item:hover .sm-portfolio-item-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.sm-portfolio-item-arrow:hover {
    background: var(--sm-accent);
}

/* ============================================================
   13. PROCESS / TIMELINE
   ============================================================ */
.sm-process {
    padding: 100px 0;
    background: var(--sm-primary-dark);
    position: relative;
    overflow: hidden;
}

.sm-process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.sm-process-content {
    position: sticky;
    top: 120px;
}

.sm-process-steps {
    position: relative;
    padding-left: 40px;
}

.sm-process-line {
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: rgba(168,146,121,0.15);
}

.sm-process-line-progress {
    width: 100%;
    height: 0%;
    background: var(--sm-accent);
    transition: height 0.5s ease;
}

.sm-process-step {
    position: relative;
    padding-bottom: 48px;
    padding-left: 32px;
}

.sm-process-step:last-child {
    padding-bottom: 0;
}

.sm-process-timeline {
    position: relative;
    padding-left: 40px;
}

.sm-process-step-number {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 30px;
    height: 30px;
    background: var(--sm-secondary-dark);
    border: 2px solid rgba(168,146,121,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sm-accent);
    transition: all var(--sm-transition);
    z-index: 1;
}

.sm-process-step-content {
    padding-left: 8px;
}

.sm-process-step-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 30px;
    height: 30px;
    background: var(--sm-secondary-dark);
    border: 2px solid rgba(168,146,121,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sm-accent);
    transition: all var(--sm-transition);
    z-index: 1;
}

.sm-process-step.active .sm-process-step-dot {
    background: var(--sm-accent);
    border-color: var(--sm-accent);
    color: var(--sm-white);
    box-shadow: 0 0 0 6px rgba(168,146,121,0.15);
}

.sm-process-step-title {
    font-family: var(--sm-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sm-white);
    margin-bottom: 8px;
}

.sm-process-step-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.sm-process-step-duration {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    padding: 4px 12px;
    background: rgba(168,146,121,0.1);
    border-radius: 50px;
}

/* ============================================================
   14. TESTIMONIALS
   ============================================================ */
.sm-testimonials {
    position: relative;
}

.sm-testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.sm-testimonials-slider::-webkit-scrollbar {
    display: none;
}

.sm-testimonial-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: var(--sm-white);
    border-radius: var(--sm-radius-md);
    padding: 36px;
    border: 1px solid var(--sm-border-light);
    transition: all var(--sm-transition);
    position: relative;
}

.sm-testimonial-card:hover {
    box-shadow: var(--sm-shadow-md);
    border-color: rgba(168,146,121,0.3);
}

.sm-testimonial-quote-icon {
    font-family: var(--sm-font-accent);
    font-size: 4rem;
    color: rgba(168,146,121,0.15);
    line-height: 1;
    margin-bottom: -10px;
}

.sm-testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.sm-testimonial-stars i {
    color: var(--sm-accent);
    font-size: 0.8rem;
}

.sm-testimonial-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.sm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--sm-border-light);
}

.sm-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sm-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-white);
    font-family: var(--sm-font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.sm-testimonial-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--sm-primary-dark);
}

.sm-testimonial-author-role {
    font-size: 0.8rem;
    color: var(--sm-text-muted);
    margin-top: 2px;
}

.sm-testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.sm-testimonials-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid var(--sm-border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-primary-dark);
    font-size: 0.8rem;
    transition: all var(--sm-transition);
    cursor: pointer;
}

.sm-testimonials-arrow:hover {
    background: var(--sm-accent);
    border-color: var(--sm-accent);
    color: var(--sm-white);
}

.sm-testimonials-dots {
    display: flex;
    gap: 8px;
}

.sm-testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(168,146,121,0.3);
    cursor: pointer;
    transition: all var(--sm-transition);
}

.sm-testimonials-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--sm-accent);
}

/* ============================================================
   15. MATERIALS GRID
   ============================================================ */
.sm-materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sm-material-card {
    background: var(--sm-white);
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    border: 1px solid var(--sm-border-light);
    transition: all var(--sm-transition);
}

.sm-material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sm-shadow-md);
}

.sm-material-swatch {
    height: 80px;
    width: 100%;
}

.sm-material-swatch[data-color="oak"]      { background: linear-gradient(135deg, #a89279, #a68b6b); }
.sm-material-swatch[data-color="walnut"]   { background: linear-gradient(135deg, #5C4033, #8B6F47); }
.sm-material-swatch[data-color="ash"]      { background: linear-gradient(135deg, #c9b99e, #d4c4a8); }
.sm-material-swatch[data-color="pine"]     { background: linear-gradient(135deg, #DEB887, #c5a06c); }
.sm-material-swatch[data-color="beech"]    { background: linear-gradient(135deg, #f5deb3, #dcc49c); }
.sm-material-swatch[data-color="cherry"]   { background: linear-gradient(135deg, #9B3D12, #7a3110); }
.sm-material-swatch[data-color="maple"]    { background: linear-gradient(135deg, #FFE4B5, #e0c89a); }
.sm-material-swatch[data-color="mahogany"] { background: linear-gradient(135deg, #4E1609, #6b2012); }

.sm-material-info {
    padding: 16px;
}

.sm-material-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--sm-primary-dark);
    margin-bottom: 4px;
}

.sm-material-type {
    font-size: 0.75rem;
    color: var(--sm-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   16. CTA SECTIONS
   ============================================================ */
.sm-cta {
    position: relative;
    padding: 80px 0;
    background: transparent;
    overflow: visible;
}

.sm-cta-bg {
    display: none;
}

.sm-cta-overlay {
    display: none;
    background: linear-gradient(135deg, rgba(34,34,32,0.95) 0%, rgba(46,46,43,0.9) 100%);
}

.sm-cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: repeating-linear-gradient(
        45deg,
        var(--sm-accent) 0px,
        var(--sm-accent) 1px,
        transparent 1px,
        transparent 20px
    );
}

.sm-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    background: var(--sm-primary-dark);
    border-radius: 20px;
    padding: 64px 48px;
    overflow: hidden;
}

.sm-cta-title {
    font-family: var(--sm-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sm-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.sm-cta-subtitle,
.sm-cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sm-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sm-cta-phone {
    font-family: var(--sm-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sm-accent);
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sm-cta-phone i {
    font-size: 1.25rem;
}

/* ============================================================
   17. PAGE HERO (Inner Pages)
   ============================================================ */
.sm-page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--sm-primary-dark);
    overflow: hidden;
}

.sm-page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.sm-page-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(34,34,32,0.5) 0%, rgba(34,34,32,0.9) 100%);
}

.sm-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34,34,32,0.92) 0%, rgba(34,34,32,0.82) 100%);
    z-index: 1;
}

.sm-page-hero-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.sm-page-hero-content {
    position: relative;
    z-index: 2;
}

.sm-page-hero-title {
    font-family: var(--sm-font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--sm-white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.sm-page-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    line-height: 1.8;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* Breadcrumbs */
.sm-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sm-breadcrumbs a {
    font-size: 0.8rem;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: color var(--sm-transition);
}

.sm-breadcrumbs a:hover {
    color: var(--sm-accent-light);
}

.sm-breadcrumbs-separator, .sm-breadcrumb-sep {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
}

.sm-breadcrumbs-current, .sm-breadcrumb-current {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Content Section (default page.php) */
.sm-page-content-section {
    padding: 80px 0;
}

.sm-page-content-section .sm-container {
    max-width: var(--sm-container-width);
}

.sm-page-content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.sm-page-content-section h2 {
    font-family: var(--sm-font-heading);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.sm-page-content-section h3 {
    font-family: var(--sm-font-heading);
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
}

/* ============================================================
   18. REALIZACJE (Portfolio) PAGE
   ============================================================ */
/* Filter Buttons */
.sm-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.sm-filter-btn {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--sm-border-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--sm-transition);
    background: transparent;
}

.sm-filter-btn:hover,
.sm-filter-btn.active {
    background: var(--sm-accent);
    color: var(--sm-white);
    border-color: var(--sm-accent);
}

/* Category Dividers */
.sm-category-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 60px 0 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sm-border-light);
}

.sm-category-divider-icon {
    width: 48px;
    height: 48px;
    background: rgba(168,146,121,0.1);
    border-radius: var(--sm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 1.1rem;
}

.sm-category-divider-title {
    font-family: var(--sm-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
}

.sm-category-divider-badge {
    padding: 4px 14px;
    background: rgba(168,146,121,0.1);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: auto;
}

/* Project Cards Grid */
.sm-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sm-project-card {
    background: var(--sm-white);
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    border: 1px solid var(--sm-border-light);
    transition: all var(--sm-transition);
}

.sm-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sm-shadow-lg);
}

.sm-project-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.sm-project-card-image img,
.sm-project-card-image .sm-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sm-project-card:hover .sm-project-card-image img,
.sm-project-card:hover .sm-project-card-image .sm-placeholder {
    transform: scale(1.06);
}

.sm-project-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(34,34,32,0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sm-project-card-body {
    padding: 24px;
}

.sm-project-card-title {
    font-family: var(--sm-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 8px;
    transition: color var(--sm-transition);
}

.sm-project-card:hover .sm-project-card-title {
    color: var(--sm-accent);
}

.sm-project-card-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 16px;
}

.sm-project-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--sm-text-muted);
}

.sm-project-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sm-project-card-meta i {
    color: var(--sm-accent);
    font-size: 0.7rem;
}

/* Horizontal card variant */
.sm-project-card-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: span 2;
}

.sm-project-card-horizontal .sm-project-card-image {
    height: 100%;
    min-height: 300px;
}

.sm-project-card-horizontal .sm-project-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

/* Featured Project */
.sm-featured-project {
    background: var(--sm-white);
    border-radius: var(--sm-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sm-border-light);
    margin-bottom: 60px;
}

.sm-featured-project-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.sm-featured-project-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 20px;
    background: var(--sm-accent);
    color: var(--sm-white);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.sm-featured-project-content {
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.sm-featured-project-title {
    font-family: var(--sm-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 16px;
}

.sm-featured-project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.sm-featured-stat {
    text-align: center;
    padding: 16px;
    background: var(--sm-bg-light);
    border-radius: var(--sm-radius-md);
}

.sm-featured-stat-value {
    font-family: var(--sm-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sm-accent);
}

.sm-featured-stat-label {
    font-size: 0.7rem;
    color: var(--sm-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.sm-featured-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sm-featured-gallery-item {
    height: 140px;
    border-radius: var(--sm-radius-sm);
    overflow: hidden;
}

/* ============================================================
   19. O NAS (About) PAGE
   ============================================================ */
/* Story Section */
.sm-story {
    /* V2: grid is handled by .sm-story-grid inside container */
    display: block;
}

.sm-story-content {
    /* Story text column */
}

.sm-story-text {
    margin-top: 24px;
}

.sm-story-text p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 16px;
}

.sm-story-images {
    position: relative;
    min-height: 500px;
}

.sm-story-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--sm-shadow-lg);
}

.sm-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sm-story-img-1 {
    width: 100%;
    aspect-ratio: 4/3;
    margin-bottom: 20px;
}

.sm-story-img-2 {
    width: 70%;
    aspect-ratio: 16/9;
    margin-left: auto;
    margin-top: -60px;
    border: 4px solid var(--sm-white);
    position: relative;
    z-index: 2;
}

.sm-story-img-main {
    width: 80%;
    height: 380px;
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    box-shadow: var(--sm-shadow-lg);
}

.sm-story-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 240px;
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    box-shadow: var(--sm-shadow-xl);
    border: 4px solid var(--sm-white);
}

/* V2: .sm-story-year is now inside .sm-story-year-badge, not a standalone badge */
.sm-story-year {
    font-family: var(--sm-font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    color: var(--sm-accent);
}

.sm-story-year-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.75);
    display: block;
    margin-top: 4px;
    margin-top: 4px;
}

.sm-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sm-story-year-badge {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    background: var(--sm-primary-dark);
    color: var(--sm-accent);
    padding: 16px 24px;
    border-radius: var(--sm-radius-md);
    text-align: center;
    box-shadow: var(--sm-shadow-xl);
    z-index: 2;
}

/* About Timeline */
.sm-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.sm-timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--sm-border-light);
}

.sm-timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 48px;
    width: 50%;
}

.sm-timeline-item:nth-child(odd) {
    padding-right: 48px;
    text-align: right;
    justify-content: flex-end;
}

.sm-timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 48px;
}

.sm-timeline-dot {
    position: absolute;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--sm-accent);
    border: 3px solid var(--sm-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--sm-border-light);
    z-index: 1;
}

.sm-timeline-item:nth-child(odd) .sm-timeline-dot {
    right: -8px;
}

.sm-timeline-item:nth-child(even) .sm-timeline-dot {
    left: -8px;
}

.sm-timeline-year {
    font-family: var(--sm-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sm-accent);
    margin-bottom: 8px;
}

.sm-timeline-title {
    font-family: var(--sm-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 8px;
}

.sm-timeline-desc {
    font-size: 0.875rem;
    color: #777;
    line-height: 1.7;
}

/* Team Grid */
.sm-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.sm-team-member {
    text-align: center;
}

.sm-team-member-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.sm-team-member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(34,34,32,0.8), transparent);
    opacity: 0;
    transition: opacity var(--sm-transition);
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sm-team-member:hover .sm-team-member-overlay {
    opacity: 1;
}

.sm-team-member-social {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-white);
    font-size: 0.8rem;
    transition: all var(--sm-transition);
}

.sm-team-member-social:hover {
    background: var(--sm-accent);
}

.sm-team-member-name {
    font-family: var(--sm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 4px;
}

.sm-team-member-role {
    font-size: 0.8rem;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sm-team-card {
    background: var(--sm-white);
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    border: 1px solid var(--sm-border-light);
    transition: all var(--sm-transition);
}

.sm-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sm-shadow-md);
}

.sm-team-img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.sm-team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sm-team-card:hover .sm-team-img img {
    transform: scale(1.05);
}

.sm-team-info {
    padding: 20px;
}

.sm-team-name {
    font-family: var(--sm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 4px;
}

.sm-team-role {
    font-size: 0.8rem;
    color: var(--sm-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sm-team-desc {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
}

.sm-img-placeholder,
.sm-img-placeholder-portrait {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    color: rgba(255,255,255,0.3);
}

.sm-img-placeholder-portrait {
    aspect-ratio: 3/4;
}

/* Values Grid */
.sm-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sm-value-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(168,146,121,0.1);
    border-radius: var(--sm-radius-md);
    padding: 36px;
    text-align: center;
    transition: all var(--sm-transition);
}

.sm-value-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(168,146,121,0.25);
    transform: translateY(-4px);
}

.sm-value-icon {
    width: 64px;
    height: 64px;
    background: rgba(168,146,121,0.1);
    border-radius: var(--sm-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.sm-value-title {
    font-family: var(--sm-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sm-white);
    margin-bottom: 10px;
}

.sm-value-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* Workshop Gallery */
.sm-workshop-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.sm-workshop-gallery-item {
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    height: 240px;
    position: relative;
}

.sm-workshop-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

.sm-workshop-gallery-item img,
.sm-workshop-gallery-item .sm-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sm-workshop-gallery-item:hover img,
.sm-workshop-gallery-item:hover .sm-placeholder {
    transform: scale(1.05);
}

/* Numbers/Stats Row */
.sm-numbers-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.sm-number-item {
    padding: 30px;
}

.sm-number-value {
    font-family: var(--sm-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--sm-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.sm-number-label {
    font-size: 0.8rem;
    color: var(--sm-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sm-section-dark .sm-number-label {
    color: rgba(255,255,255,0.5);
}

/* ============================================================
   20. OFERTA (Offer) PAGE
   ============================================================ */
.sm-offer-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--sm-border-light);
}

.sm-offer-detail:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sm-offer-detail:nth-child(even) .sm-offer-detail-image {
    order: 2;
}

.sm-offer-detail:nth-child(even) .sm-offer-detail-content {
    order: 1;
}

.sm-offer-detail-image {
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    height: 440px;
    position: relative;
}

.sm-offer-detail-content {
    padding: 20px 0;
}

.sm-offer-detail-number {
    font-family: var(--sm-font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(168,146,121,0.1);
    line-height: 1;
    margin-bottom: 12px;
}

.sm-offer-detail-title {
    font-family: var(--sm-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 16px;
}

.sm-offer-detail-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Feature List */
.sm-feature-list {
    margin-bottom: 28px;
}

.sm-feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.sm-feature-list-item i {
    color: var(--sm-accent);
    font-size: 0.8rem;
    margin-top: 4px;
    min-width: 18px;
}

.sm-feature-list-item span {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Material Tags */
.sm-material-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.sm-material-tag {
    padding: 6px 16px;
    background: var(--sm-bg-light);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sm-accent-dark);
    letter-spacing: 0.5px;
    border: 1px solid var(--sm-border-light);
}

/* Pricing Cards */
.sm-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sm-pricing-card {
    background: var(--sm-white);
    border-radius: var(--sm-radius-md);
    padding: 36px;
    border: 1px solid var(--sm-border-light);
    text-align: center;
    transition: all var(--sm-transition);
    position: relative;
    overflow: hidden;
}

.sm-pricing-card.featured {
    border-color: var(--sm-accent);
    box-shadow: var(--sm-shadow-lg);
}

.sm-pricing-card.featured::before {
    content: 'Popularne';
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--sm-accent);
    color: var(--sm-white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 40px;
    transform: rotate(45deg);
}

.sm-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sm-shadow-lg);
}

.sm-pricing-icon {
    width: 56px;
    height: 56px;
    background: rgba(168,146,121,0.1);
    border-radius: var(--sm-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 1.3rem;
    margin: 0 auto 20px;
}

.sm-pricing-title {
    font-family: var(--sm-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 8px;
}

.sm-pricing-desc {
    font-size: 0.85rem;
    color: var(--sm-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sm-pricing-price {
    font-family: var(--sm-font-heading);
    font-size: 1rem;
    color: #555;
    margin-bottom: 24px;
}

.sm-pricing-price strong {
    font-size: 2rem;
    color: var(--sm-accent);
    font-weight: 700;
}

.sm-pricing-features {
    text-align: left;
    margin-bottom: 28px;
}

.sm-pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 1px solid rgba(168,146,121,0.08);
}

.sm-pricing-feature:last-child {
    border-bottom: none;
}

.sm-pricing-feature i {
    color: var(--sm-accent);
    font-size: 0.7rem;
}

/* B2B Badge */
.sm-b2b-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--sm-primary-dark);
    color: var(--sm-accent);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================================
   21. KONTAKT (Contact) PAGE
   ============================================================ */
/* Contact Info Cards */
.sm-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.sm-contact-card {
    background: var(--sm-white);
    border-radius: var(--sm-radius-md);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--sm-border-light);
    transition: all var(--sm-transition);
}

.sm-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sm-shadow-md);
    border-color: rgba(168,146,121,0.3);
}

.sm-contact-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(168,146,121,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.sm-contact-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--sm-primary-dark);
    margin-bottom: 6px;
}

.sm-contact-card-text {
    font-size: 0.875rem;
    color: #777;
    line-height: 1.6;
}

.sm-contact-card-text a {
    color: var(--sm-accent);
    font-weight: 600;
}

/* Contact Form */
.sm-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.sm-form-group {
    margin-bottom: 28px;
    position: relative;
}

.sm-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sm-primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sm-form-input {
    width: 100%;
    padding: 14px 0;
    font-size: 0.95rem;
    color: var(--sm-primary-dark);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--sm-border-light);
    transition: border-color var(--sm-transition);
}

.sm-form-input:focus {
    border-bottom-color: var(--sm-accent);
}

.sm-form-input::placeholder {
    color: #bbb;
}

.sm-form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sm-accent);
    transition: width var(--sm-transition);
}

.sm-form-group:focus-within .sm-form-line {
    width: 100%;
}

.sm-form-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sm-accent);
    transition: width var(--sm-transition);
}

.sm-form-group:focus-within .sm-form-underline {
    width: 100%;
}

.sm-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.sm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Select dropdown */
.sm-form-select {
    width: 100%;
    padding: 14px 0;
    font-size: 0.95rem;
    color: var(--sm-primary-dark);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--sm-border-light);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a89279' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
    transition: border-color var(--sm-transition);
}

.sm-form-select:focus {
    border-bottom-color: var(--sm-accent);
}

/* Textarea */
.sm-form-textarea {
    width: 100%;
    padding: 14px 0;
    font-size: 0.95rem;
    color: var(--sm-primary-dark);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--sm-border-light);
    resize: vertical;
    min-height: 120px;
    font-family: var(--sm-font-body);
    transition: border-color var(--sm-transition);
}

.sm-form-textarea:focus {
    border-bottom-color: var(--sm-accent);
}

/* Checkbox */
.sm-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 24px;
}

.sm-form-checkbox input {
    display: none;
}

.sm-form-checkbox-mark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--sm-border-light);
    border-radius: var(--sm-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--sm-transition);
    margin-top: 2px;
}

.sm-form-checkbox input:checked + .sm-form-checkbox-mark {
    background: var(--sm-accent);
    border-color: var(--sm-accent);
}

.sm-form-checkbox input:checked + .sm-form-checkbox-mark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.55rem;
    color: var(--sm-white);
}

.sm-form-checkbox-text {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
}

.sm-form-checkbox-text a {
    color: var(--sm-accent);
    text-decoration: underline;
}

.sm-contact-form-intro {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 32px;
}

.sm-form-actions {
    margin-top: 8px;
}

.sm-form-note {
    font-size: 0.75rem;
    color: var(--sm-text-muted);
    margin-top: 12px;
}

.sm-contact-form-wrapper {
    padding: 0;
}

/* Form Status */
.sm-form-status {
    padding: 16px 24px;
    border-radius: var(--sm-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 16px;
    display: none;
}

.sm-form-status.success {
    display: block;
    background: rgba(76,175,80,0.1);
    color: #2e7d32;
    border: 1px solid rgba(76,175,80,0.2);
}

.sm-form-status.error {
    display: block;
    background: rgba(244,67,54,0.1);
    color: #c62828;
    border: 1px solid rgba(244,67,54,0.2);
}

/* Map */
.sm-map {
    width: 100%;
    height: 400px;
    border-radius: var(--sm-radius-md);
    overflow: hidden;
    border: 1px solid var(--sm-border-light);
    margin-top: 60px;
}

.sm-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Sidebar */
.sm-contact-sidebar {
    background: var(--sm-bg-light);
    border-radius: var(--sm-radius-md);
    padding: 36px;
    border: 1px solid var(--sm-border-light);
}

.sm-contact-sidebar-title {
    font-family: var(--sm-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 24px;
}

.sm-contact-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sm-border-light);
}

.sm-contact-sidebar-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sm-contact-sidebar-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(168,146,121,0.12);
    border-radius: var(--sm-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 0.9rem;
}

.sm-contact-sidebar-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sm-text-muted);
    margin-bottom: 4px;
}

.sm-contact-sidebar-text {
    font-size: 0.9rem;
    color: var(--sm-primary-dark);
    font-weight: 600;
}

.sm-contact-sidebar-text a {
    color: var(--sm-accent);
}

/* Quick contact card */
.sm-quick-contact {
    background: var(--sm-primary-dark);
    border-radius: var(--sm-radius-md);
    padding: 32px;
    margin-top: 24px;
    text-align: center;
}

.sm-quick-contact-title {
    font-family: var(--sm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sm-white);
    margin-bottom: 12px;
}

.sm-quick-contact-phone {
    font-family: var(--sm-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sm-accent);
    margin-bottom: 16px;
    display: block;
}

/* Directions */
.sm-directions {
    background: var(--sm-white);
    border-radius: var(--sm-radius-md);
    padding: 32px;
    border: 1px solid var(--sm-border-light);
    margin-top: 24px;
}

.sm-directions-title {
    font-family: var(--sm-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--sm-primary-dark);
}

.sm-directions-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

.sm-directions-item i {
    color: var(--sm-accent);
    margin-top: 3px;
    min-width: 16px;
}

/* FAQ Accordion */
.sm-faq {
    max-width: 800px;
    margin: 0 auto;
}

.sm-faq-item {
    border-bottom: 1px solid var(--sm-border-light);
}

.sm-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    font-family: var(--sm-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    text-align: left;
    cursor: pointer;
    transition: color var(--sm-transition);
    background: none;
    border: none;
}

.sm-faq-question:hover {
    color: var(--sm-accent);
}

.sm-faq-question i {
    font-size: 0.8rem;
    color: var(--sm-accent);
    transition: transform var(--sm-transition);
    min-width: 20px;
}

.sm-faq-item.active .sm-faq-question i {
    transform: rotate(180deg);
}

.sm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.sm-faq-item.active .sm-faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.sm-faq-answer p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

/* ============================================================
   22. FOOTER
   ============================================================ */
.sm-footer-wave {
    position: relative;
    margin-top: -2px;
}

.sm-footer-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

.sm-footer {
    background: var(--sm-primary-dark);
    padding: 80px 0 0;
    position: relative;
}

.sm-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(168,146,121,0.1);
}

.sm-footer-brand {
    max-width: 320px;
}

.sm-footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.sm-footer-logo .sm-logo-icon {
    height: 36px;
    width: auto;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
}

.sm-footer-logo-text {
    font-family: var(--sm-font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--sm-white);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sm-footer-logo-name {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sm-accent);
    font-weight: 400;
}

.sm-footer-logo-tagline {
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
}

.sm-footer-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: 24px;
}

.sm-footer-social {
    display: flex;
    gap: 12px;
}

.sm-footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(168,146,121,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-accent);
    font-size: 0.875rem;
    transition: all var(--sm-transition);
}

.sm-footer-social a:hover {
    background: var(--sm-accent);
    border-color: var(--sm-accent);
    color: var(--sm-white);
    transform: translateY(-3px);
}

.sm-footer-title {
    font-family: var(--sm-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--sm-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sm-footer-links li {
    margin-bottom: 10px;
}

.sm-footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    transition: all var(--sm-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--sm-accent);
    transition: width var(--sm-transition);
}

.sm-footer-links a:hover {
    color: var(--sm-accent);
    padding-left: 4px;
}

.sm-footer-links a:hover::before {
    width: 12px;
}

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

.sm-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.sm-footer-contact li svg {
    color: var(--sm-accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.sm-footer-contact li strong {
    color: #fff;
    font-weight: 600;
}

.sm-footer-contact li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.sm-footer-contact li a:hover {
    color: var(--sm-accent);
}

.sm-footer-contact li span {
    color: rgba(255,255,255,0.8);
}

/* Footer Bottom Bar */
.sm-footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.sm-footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.sm-footer-copyright a {
    color: var(--sm-accent);
}

.sm-footer-bottom-links {
    display: flex;
    gap: 24px;
}

.sm-footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    transition: color var(--sm-transition);
}

.sm-footer-bottom-links a:hover {
    color: var(--sm-accent);
}

/* ============================================================
   23. SCROLL TO TOP BUTTON
   ============================================================ */
.sm-scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    z-index: 990;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--sm-transition);
}

.sm-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sm-scroll-top-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sm-scroll-top-bg {
    fill: none;
    stroke: rgba(168,146,121,0.2);
    stroke-width: 2;
}

.sm-scroll-top-progress {
    fill: none;
    stroke: var(--sm-accent);
    stroke-width: 2;
    stroke-dasharray: 138.23;
    stroke-dashoffset: 138.23;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.3s ease;
}

.sm-scroll-top-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--sm-accent);
    font-size: 0.8rem;
    transition: color var(--sm-transition);
}

.sm-scroll-top:hover .sm-scroll-top-icon {
    color: var(--sm-accent-dark);
}

/* ============================================================
   24. FLOATING CTA
   ============================================================ */
.sm-floating-cta {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sm-primary-dark);
    padding: 10px 20px 10px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(168,146,121,0.15);
    color: var(--sm-white);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sm-floating-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sm-floating-cta svg {
    width: 20px;
    height: 20px;
    color: var(--sm-accent);
    flex-shrink: 0;
}

.sm-floating-cta-text {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--sm-accent);
}

.sm-floating-cta:hover {
    background: var(--sm-accent);
    border-color: var(--sm-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168,146,121,0.3);
    color: var(--sm-white);
}

.sm-floating-cta:hover svg,
.sm-floating-cta:hover .sm-floating-cta-text {
    color: var(--sm-white);
}

/* ============================================================
   25. IMAGE PLACEHOLDERS
   ============================================================ */
.sm-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.5);
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    position: relative;
    overflow: hidden;
}

.sm-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(168,146,121,0.3) 10px,
        rgba(168,146,121,0.3) 11px
    );
}

.sm-placeholder[data-bg="wood"] {
    background: linear-gradient(135deg, #5C4033, #3a2b1e);
}

.sm-placeholder[data-bg="workshop"] {
    background: linear-gradient(135deg, #4a4a4a, #2a2a2a);
}

.sm-placeholder[data-bg="kitchen"] {
    background: linear-gradient(135deg, #a89279, #7a6b56);
}

.sm-placeholder[data-bg="furniture"] {
    background: linear-gradient(135deg, #6b5a48, #3d3028);
}

.sm-placeholder[data-bg="stairs"] {
    background: linear-gradient(135deg, #7a6b56, #5C4033);
}

.sm-placeholder[data-bg="door"] {
    background: linear-gradient(135deg, #a08b70, #6b5a48);
}

.sm-placeholder[data-bg="hotel"] {
    background: linear-gradient(135deg, #2a3a4a, #1a2a3a);
}

.sm-placeholder[data-bg="office"] {
    background: linear-gradient(135deg, #3a4a5a, #2a3a4a);
}

.sm-placeholder[data-bg="team"] {
    background: linear-gradient(135deg, #4a3a2a, #3a2a1a);
}

.sm-placeholder[data-bg="light"] {
    background: linear-gradient(135deg, #c9b99e, #a89279);
    color: rgba(34,34,32,0.4);
}

.sm-placeholder-icon {
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.sm-placeholder-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ============================================================
   26. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ----- 1200px ----- */
@media (max-width: 1200px) {
    :root {
        --sm-container-width: 1080px;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }

    .sm-nav-list {
        gap: 4px;
    }

    .sm-nav-link {
        font-size: 0.75rem;
        padding: 6px 10px;
        letter-spacing: 0.3px;
    }

    .sm-hero-title {
        font-size: 3.5rem;
    }

    .sm-hero-industrial .sm-hero-title {
        font-size: 3.5rem;
    }

    .sm-hero-industrial .sm-hero-title .sm-hero-title-small {
        font-size: 1.8rem;
    }

    .sm-section-title {
        font-size: 2.5rem;
    }

    .sm-services-grid {
        gap: 24px;
    }

    .sm-footer-grid {
        gap: 36px;
    }

    .sm-offer-detail {
        gap: 60px;
    }

    .sm-pricing-grid {
        gap: 24px;
    }

    .sm-team-grid {
        gap: 24px;
    }
}

/* ----- 992px ----- */
@media (max-width: 992px) {
    .sm-nav-list {
        display: none;
    }

    .sm-nav-phone {
        display: none;
    }

    .sm-hamburger {
        display: flex;
    }

    .sm-hero-title {
        font-size: 2.75rem;
    }

    .sm-hero-content {
        padding: 120px 24px 100px;
    }

    .sm-hero-stats {
        flex-wrap: wrap;
        gap: 24px 48px;
    }

    /* Industrial Hero responsive */
    .sm-hero-industrial .sm-hero-title {
        font-size: 3rem;
    }

    .sm-hero-industrial .sm-hero-title .sm-hero-title-small {
        font-size: 1.5rem;
    }

    .sm-hero-stats-bar {
        flex-wrap: wrap;
        gap: 16px 24px;
        padding: 20px 32px;
        justify-content: center;
    }

    .sm-hero-stats-bar .sm-hero-stat-divider {
        display: none;
    }

    /* V2 About responsive */
    .sm-about-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sm-about-v2-img-secondary {
        margin-top: -40px;
    }

    /* Aries responsive */
    .sm-aries-gallery {
        grid-template-columns: 1fr;
    }

    .sm-aries-stats-strip {
        flex-direction: row;
        padding: 16px;
        gap: 16px;
    }

    .sm-numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-section {
        padding: 80px 0;
    }

    .sm-section-title {
        font-size: 2.25rem;
    }

    .sm-about-images {
        height: 420px;
    }

    .sm-about-content {
        padding-left: 0;
    }

    .sm-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-portfolio-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .sm-portfolio-item-large {
        grid-column: span 6;
    }

    .sm-portfolio-item-small {
        grid-column: span 3;
    }

    .sm-portfolio-item-medium {
        grid-column: span 6;
    }

    .sm-process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sm-process-content {
        position: static;
    }

    .sm-testimonial-card {
        flex: 0 0 320px;
    }

    .sm-materials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sm-page-hero-title {
        font-size: 2.75rem;
    }

    .sm-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-project-card-horizontal {
        grid-template-columns: 1fr;
        grid-column: span 2;
    }

    .sm-project-card-horizontal .sm-project-card-image {
        height: 260px;
    }

    .sm-story-images {
        min-height: 380px;
    }

    .sm-story-img-2 {
        margin-top: -40px;
    }

    .sm-timeline-item {
        width: 100%;
        padding-left: 48px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .sm-timeline-item:nth-child(even) {
        margin-left: 0;
    }

    .sm-timeline-line {
        left: 8px;
        transform: none;
    }

    .sm-timeline-dot {
        left: 0 !important;
        right: auto !important;
    }

    .sm-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-workshop-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-workshop-gallery-item:first-child {
        grid-column: span 2;
    }

    .sm-numbers-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-offer-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sm-offer-detail:nth-child(even) .sm-offer-detail-image {
        order: 0;
    }

    .sm-offer-detail:nth-child(even) .sm-offer-detail-content {
        order: 0;
    }

    .sm-offer-detail-image {
        height: 340px;
    }

    .sm-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sm-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .sm-featured-project-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sm-featured-project-image {
        height: 380px;
    }
}

/* ----- 768px ----- */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .sm-hero {
        min-height: 100svh;
    }

    .sm-hero-title {
        font-size: 2.25rem;
    }

    .sm-hero-subtitle {
        font-size: 1rem;
    }

    .sm-hero-content {
        padding: 120px 20px 160px;
    }

    .sm-hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 48px;
        gap: 20px 36px;
    }

    .sm-hero-stat-number {
        font-size: 1.5rem;
    }

    /* Industrial Hero 768px */
    .sm-hero-industrial .sm-hero-title {
        font-size: 2.5rem;
    }

    .sm-hero-industrial .sm-hero-title .sm-hero-title-small {
        font-size: 1.3rem;
    }

    .sm-hero-industrial .sm-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* V2 About 768px */
    .sm-about-v2-img-secondary {
        width: 60%;
    }

    .sm-about-v2-badge {
        left: 0;
    }

    .sm-scroll-indicator {
        display: none;
    }

    .sm-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .sm-section {
        padding: 64px 0;
    }

    .sm-section-title {
        font-size: 2rem;
    }

    .sm-section-header {
        margin-bottom: 40px;
    }

    .sm-about-images {
        height: 320px;
    }

    .sm-about-img-main {
        width: 70%;
        height: 280px;
    }

    .sm-about-img-secondary {
        width: 55%;
        height: 200px;
    }

    .sm-about-features {
        grid-template-columns: 1fr;
    }

    .sm-services-grid {
        grid-template-columns: 1fr;
    }

    .sm-portfolio-item {
        min-height: 260px;
    }

    .sm-portfolio-item-large {
        min-height: 340px;
    }

    .sm-testimonial-card {
        flex: 0 0 280px;
        padding: 28px;
    }

    .sm-materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-page-hero {
        padding: 140px 0 80px;
    }

    .sm-page-hero-title {
        font-size: 2.25rem;
    }

    .sm-projects-grid {
        grid-template-columns: 1fr;
    }

    .sm-project-card-horizontal {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }

    .sm-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px;
    }

    .sm-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .sm-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sm-category-divider {
        flex-wrap: wrap;
        gap: 12px;
    }

    .sm-category-divider-badge {
        margin-left: 0;
    }

    .sm-team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sm-values-grid {
        grid-template-columns: 1fr;
    }

    .sm-workshop-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .sm-workshop-gallery-item {
        height: 180px;
    }

    .sm-numbers-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sm-number-value {
        font-size: 2.25rem;
    }

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

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

    .sm-cta-title {
        font-size: 2rem;
    }

    .sm-cta-content {
        padding: 48px 36px;
        border-radius: 16px;
    }

    .sm-pricing-grid {
        grid-template-columns: 1fr;
    }

    .sm-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sm-footer-brand {
        max-width: 100%;
    }

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

    .sm-featured-project-image {
        height: 280px;
    }

    .sm-featured-project-content {
        padding: 32px 24px;
    }

    .sm-featured-project-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .sm-featured-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .sm-featured-gallery-item {
        height: 100px;
    }

    .sm-map {
        height: 300px;
    }

    .sm-mobile-nav-text {
        font-size: 1.5rem;
    }

    .sm-offer-detail-number {
        font-size: 3rem;
    }

    .sm-offer-detail-title {
        font-size: 1.5rem;
    }

    .sm-offer-detail-image {
        height: 280px;
    }
}

/* ----- 576px ----- */
@media (max-width: 576px) {
    html {
        font-size: 15px;
    }

    .sm-container,
    .sm-container-narrow,
    .sm-container-wide {
        padding: 0 16px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }

    .sm-hero-title {
        font-size: 1.85rem;
    }

    .sm-hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .sm-hero-stats {
        gap: 16px 28px;
    }

    .sm-hero-stat-number {
        font-size: 1.25rem;
    }

    .sm-hero-stat-label {
        font-size: 0.7rem;
    }

    /* Industrial Hero mobile */
    .sm-hero-industrial .sm-hero-title {
        font-size: 2.2rem;
    }

    .sm-hero-industrial .sm-hero-title .sm-hero-title-small {
        font-size: 1.1rem;
    }

    .sm-hero-stats-bar {
        padding: 16px 20px;
        gap: 12px 20px;
    }

    .sm-hero-stats-bar .sm-hero-stat-number {
        font-size: 1.2rem;
    }

    .sm-about-v2-badge {
        left: 0;
        bottom: 20px;
    }

    .sm-aries-stats-strip {
        flex-direction: row;
        gap: 12px;
    }

    .sm-section {
        padding: 52px 0;
    }

    .sm-section-title {
        font-size: 1.65rem;
    }

    .sm-section-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .sm-btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .sm-btn-lg {
        padding: 14px 28px;
    }

    .sm-service-card {
        padding: 28px 24px;
    }

    .sm-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .sm-portfolio-item-large,
    .sm-portfolio-item-small,
    .sm-portfolio-item-medium {
        grid-column: span 1;
        min-height: 280px;
    }

    .sm-portfolio-item-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .sm-process-step {
        padding-left: 24px;
    }

    .sm-testimonial-card {
        flex: 0 0 260px;
        padding: 24px;
    }

    .sm-materials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sm-page-hero {
        padding: 120px 0 64px;
    }

    .sm-page-hero-title {
        font-size: 1.85rem;
    }

    .sm-team-grid {
        grid-template-columns: 1fr;
    }

    .sm-workshop-gallery {
        grid-template-columns: 1fr;
    }

    .sm-workshop-gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }

    .sm-workshop-gallery-item {
        height: 200px;
    }

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

    .sm-cta-title {
        font-size: 1.65rem;
    }

    .sm-cta-content {
        padding: 40px 24px;
        border-radius: 14px;
    }

    .sm-cta-phone {
        font-size: 1.35rem;
    }

    .sm-floating-cta {
        bottom: 20px;
        left: 20px;
        padding: 8px 16px 8px 10px;
    }

    .sm-floating-cta-text {
        font-size: 0.7rem;
    }

    .sm-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .sm-faq-question {
        font-size: 0.95rem;
        padding: 18px 0;
    }

    .sm-footer {
        padding: 60px 0 0;
    }

    .sm-contact-sidebar {
        padding: 28px;
    }

    .sm-featured-project-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sm-about-images {
        height: 280px;
    }

    .sm-about-img-main {
        width: 75%;
        height: 240px;
    }

    .sm-about-img-secondary {
        width: 50%;
        height: 160px;
    }

    .sm-about-experience {
        padding: 14px 20px;
    }

    .sm-about-experience-number {
        font-size: 2rem;
    }

    .sm-story-images {
        min-height: 280px;
    }

    .sm-story-img-2 {
        width: 60%;
    }

    .sm-mobile-menu {
        padding: 70px 24px 24px;
    }

    .sm-mobile-nav-text {
        font-size: 1.25rem;
    }

    .sm-mobile-nav-link {
        padding: 10px 0;
        gap: 12px;
    }

    .sm-mobile-nav-item {
        margin-bottom: 4px;
    }

    .sm-form-row-2 {
        grid-template-columns: 1fr;
    }

    .sm-story-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sm-team-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   27. WOOCOMMERCE OVERRIDES
   ============================================================ */

/* --- Shop Page Hero --- */
.sm-page-hero-sklep {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

/* --- WooCommerce Container --- */
.sm-wc-section {
    display: block;
    padding-bottom: 80px;
}

.sm-wc-section .sm-container {
    display: block;
}

.sm-wc-container {
    padding-top: 0;
}

/* --- WooCommerce Fallback Selectors (work without .woocommerce body class) --- */
.sm-wc-section ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sm-wc-section ul.products::before,
.sm-wc-section ul.products::after {
    display: none;
}

.sm-wc-section ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sm-wc-section ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.sm-wc-section ul.products li.product a img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border-radius: 0;
}

.sm-wc-section ul.products li.product .woocommerce-loop-product__title,
.sm-wc-section ul.products li.product h2 {
    font-family: var(--sm-font-heading) !important;
    font-size: 1.15rem !important;
    font-weight: 600;
    color: var(--sm-primary-dark);
    padding: 1rem 1.25rem 0.25rem !important;
    margin: 0;
    line-height: 1.3;
}

.sm-wc-section ul.products li.product .price {
    font-family: var(--sm-font-body);
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--sm-accent-dark) !important;
    padding: 0 1.25rem 0.75rem;
    margin: 0;
    display: block;
}

.sm-wc-section ul.products li.product .button,
.sm-wc-section ul.products li.product a.add_to_cart_button {
    display: block;
    text-align: center;
    background: var(--sm-primary-dark) !important;
    color: #fff !important;
    font-family: var(--sm-font-body);
    font-size: 0.85rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 1.25rem !important;
    margin: 0 !important;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}

.sm-wc-section ul.products li.product .button:hover,
.sm-wc-section ul.products li.product a.add_to_cart_button:hover {
    background: var(--sm-accent) !important;
    color: #fff !important;
}

/* Fallback responsive */
@media (max-width: 992px) {
    .sm-wc-section ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .sm-wc-section ul.products {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* --- No Products Fallback Styling --- */
.sm-wc-no-products {
    text-align: center;
    padding: 80px 20px;
}

.sm-wc-no-products-icon {
    color: var(--sm-accent);
    margin-bottom: 24px;
    opacity: 0.6;
}

.sm-wc-no-products h2 {
    font-family: var(--sm-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 12px;
}

.sm-wc-no-products p {
    font-family: var(--sm-font-body);
    font-size: 1.1rem;
    color: #888;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.sm-wc-no-products .sm-btn {
    display: inline-flex;
}

/* --- WooCommerce Notices / Messages --- */
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-family: var(--sm-font-body);
}

.woocommerce-message,
.woocommerce-info {
    background: var(--sm-bg-light);
    border-top-color: var(--sm-accent) !important;
    color: var(--sm-primary-dark);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--sm-accent) !important;
}

.woocommerce-error {
    background: #fff5f5;
    border-top-color: #e53e3e !important;
    border-radius: 8px;
    padding: 1rem 1.5rem;
}

/* --- Shop Toolbar --- */
.sm-wc-section .woocommerce,
.woocommerce-page .woocommerce {
    display: block;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    display: inline-block;
}

.woocommerce-result-count,
.woocommerce-ordering {
    font-family: var(--sm-font-body);
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2rem;
}

.woocommerce-ordering select {
    font-family: var(--sm-font-body);
    padding: 10px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: #fff;
    font-size: 0.9rem;
    color: var(--sm-primary-dark);
    cursor: pointer;
    transition: border-color var(--sm-transition);
}

.woocommerce-ordering select:focus {
    border-color: var(--sm-accent);
    outline: none;
}

/* --- Product Grid --- */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Product Thumbnail */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border-radius: 0;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-family: var(--sm-font-heading) !important;
    font-size: 1.15rem !important;
    font-weight: 600;
    color: var(--sm-primary-dark);
    padding: 1rem 1.25rem 0.25rem !important;
    margin: 0;
    line-height: 1.3;
}

/* Product Price */
.woocommerce ul.products li.product .price {
    font-family: var(--sm-font-body);
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--sm-accent-dark) !important;
    padding: 0 1.25rem 0.75rem;
    margin: 0;
    display: block;
}

.woocommerce ul.products li.product .price del {
    color: #aaa;
    font-weight: 400;
    font-size: 0.9rem;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    font-weight: 700;
    color: var(--sm-accent-dark);
}

/* Add to Cart Button in Loop */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_simple,
.woocommerce ul.products li.product a.product_type_variable {
    display: block;
    text-align: center;
    background: var(--sm-primary-dark) !important;
    color: #fff !important;
    font-family: var(--sm-font-body);
    font-size: 0.85rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 1.25rem !important;
    margin: 0 !important;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
    background: var(--sm-accent) !important;
    color: #fff !important;
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--sm-accent) !important;
    color: #fff;
    font-family: var(--sm-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 4px;
    min-width: auto;
    min-height: auto;
    line-height: 1.4;
    top: 12px;
    left: 12px;
    right: auto;
    margin: 0;
}

/* Star Rating */
.woocommerce .star-rating {
    color: var(--sm-accent) !important;
    font-size: 0.8rem;
    margin: 0 1.25rem 0.5rem;
}

/* --- Single Product Page --- */
.woocommerce div.product {
    font-family: var(--sm-font-body);
}

.woocommerce div.product .product_title {
    font-family: var(--sm-font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sm-primary-dark);
    margin-bottom: 12px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: var(--sm-font-body);
    font-size: 1.6rem !important;
    font-weight: 700;
    color: var(--sm-accent-dark) !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

/* Single Product Images */
.woocommerce div.product div.images img {
    border-radius: 12px;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 6px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li:hover img {
    opacity: 1;
}

/* Quantity Input */
.woocommerce .quantity .qty {
    font-family: var(--sm-font-body);
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 1rem;
    width: 80px;
    text-align: center;
}

.woocommerce .quantity .qty:focus {
    border-color: var(--sm-accent);
    outline: none;
}

/* Single Product Add to Cart */
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
    background: var(--sm-primary-dark) !important;
    color: #fff !important;
    font-family: var(--sm-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 36px !important;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover {
    background: var(--sm-accent) !important;
    transform: translateY(-2px);
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 24px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    list-style: none;
    display: flex;
    gap: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--sm-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    padding: 14px 24px;
    display: block;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--sm-primary-dark);
    border-bottom-color: var(--sm-accent);
}

.woocommerce div.product .woocommerce-tabs .panel {
    font-family: var(--sm-font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-family: var(--sm-font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* Related Products */
.woocommerce div.product .related h2,
.woocommerce div.product .upsells h2 {
    font-family: var(--sm-font-heading);
    font-size: 1.6rem;
    margin-bottom: 24px;
}

/* --- Cart Page --- */
.woocommerce-cart table.cart {
    font-family: var(--sm-font-body);
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-cart table.cart th {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    padding: 14px 12px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}

.woocommerce-cart table.cart td {
    padding: 20px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    vertical-align: middle;
}

.woocommerce-cart table.cart img {
    width: 80px;
    border-radius: 8px;
}

.woocommerce-cart table.cart .product-name a {
    font-weight: 600;
    color: var(--sm-primary-dark);
}

.woocommerce-cart table.cart .product-name a:hover {
    color: var(--sm-accent);
}

.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--sm-bg-light);
    border-radius: 12px;
    padding: 2rem;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-family: var(--sm-font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* Checkout Button */
.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    background: var(--sm-accent) !important;
    color: var(--sm-primary-dark) !important;
    font-family: var(--sm-font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 18px 36px !important;
    border-radius: 8px;
    display: block;
    text-align: center;
    box-shadow: 0 4px 20px rgba(168,146,121,0.4);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce a.checkout-button:hover {
    background: var(--sm-accent-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168,146,121,0.5);
}

/* --- Checkout Page --- */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
    font-family: var(--sm-font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,0,0,0.06);
}

.woocommerce form .form-row label {
    font-family: var(--sm-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sm-primary-dark);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    font-family: var(--sm-font-body);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color var(--sm-transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--sm-accent);
    box-shadow: 0 0 0 3px rgba(168,146,121,0.15);
}

/* Place Order Button */
.woocommerce #place_order {
    background: var(--sm-accent) !important;
    color: var(--sm-primary-dark) !important;
    font-family: var(--sm-font-body);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 20px 40px !important;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(168,146,121,0.4);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.woocommerce #place_order:hover {
    background: var(--sm-accent-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168,146,121,0.5);
}

/* --- Pagination --- */
.woocommerce nav.woocommerce-pagination {
    margin-top: 3rem;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    gap: 6px;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    font-family: var(--sm-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--sm-primary-dark);
    background: #fff;
    transition: all 0.3s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--sm-bg-light);
    border-color: var(--sm-accent);
    color: var(--sm-accent-dark);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--sm-primary-dark);
    color: #fff;
    border-color: var(--sm-primary-dark);
}

/* --- WooCommerce Responsive --- */
@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .woocommerce div.product .product_title {
        font-size: 1.6rem;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 1.3rem !important;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .woocommerce-cart table.cart img {
        width: 60px;
    }
}

/* ============================================================
   28. UTILITY CLASSES
   ============================================================ */

/* Text alignment */
.sm-text-center { text-align: center; }
.sm-text-left { text-align: left; }
.sm-text-right { text-align: right; }

/* Spacing - Margin */
.sm-mt-0 { margin-top: 0; }
.sm-mt-1 { margin-top: 8px; }
.sm-mt-2 { margin-top: 16px; }
.sm-mt-3 { margin-top: 24px; }
.sm-mt-4 { margin-top: 32px; }
.sm-mt-5 { margin-top: 48px; }
.sm-mt-6 { margin-top: 64px; }
.sm-mt-7 { margin-top: 80px; }

.sm-mb-0 { margin-bottom: 0; }
.sm-mb-1 { margin-bottom: 8px; }
.sm-mb-2 { margin-bottom: 16px; }
.sm-mb-3 { margin-bottom: 24px; }
.sm-mb-4 { margin-bottom: 32px; }
.sm-mb-5 { margin-bottom: 48px; }
.sm-mb-6 { margin-bottom: 64px; }
.sm-mb-7 { margin-bottom: 80px; }

.sm-ml-auto { margin-left: auto; }
.sm-mr-auto { margin-right: auto; }
.sm-mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing - Padding */
.sm-pt-0 { padding-top: 0; }
.sm-pt-1 { padding-top: 8px; }
.sm-pt-2 { padding-top: 16px; }
.sm-pt-3 { padding-top: 24px; }
.sm-pt-4 { padding-top: 32px; }
.sm-pt-5 { padding-top: 48px; }

.sm-pb-0 { padding-bottom: 0; }
.sm-pb-1 { padding-bottom: 8px; }
.sm-pb-2 { padding-bottom: 16px; }
.sm-pb-3 { padding-bottom: 24px; }
.sm-pb-4 { padding-bottom: 32px; }
.sm-pb-5 { padding-bottom: 48px; }

.sm-p-0 { padding: 0; }
.sm-p-1 { padding: 8px; }
.sm-p-2 { padding: 16px; }
.sm-p-3 { padding: 24px; }
.sm-p-4 { padding: 32px; }
.sm-p-5 { padding: 48px; }

/* Display */
.sm-d-none { display: none; }
.sm-d-block { display: block; }
.sm-d-flex { display: flex; }
.sm-d-grid { display: grid; }
.sm-d-inline { display: inline; }
.sm-d-inline-block { display: inline-block; }
.sm-d-inline-flex { display: inline-flex; }

/* Flexbox */
.sm-flex-center { display: flex; align-items: center; justify-content: center; }
.sm-flex-between { display: flex; align-items: center; justify-content: space-between; }
.sm-flex-start { display: flex; align-items: flex-start; }
.sm-flex-end { display: flex; align-items: flex-end; }
.sm-flex-column { display: flex; flex-direction: column; }
.sm-flex-wrap { flex-wrap: wrap; }
.sm-gap-1 { gap: 8px; }
.sm-gap-2 { gap: 16px; }
.sm-gap-3 { gap: 24px; }
.sm-gap-4 { gap: 32px; }
.sm-gap-5 { gap: 48px; }

/* Width */
.sm-w-100 { width: 100%; }
.sm-w-auto { width: auto; }
.sm-max-w-sm { max-width: 480px; }
.sm-max-w-md { max-width: 640px; }
.sm-max-w-lg { max-width: 800px; }
.sm-max-w-xl { max-width: 960px; }

/* Height */
.sm-h-100 { height: 100%; }
.sm-min-h-screen { min-height: 100vh; }

/* Position */
.sm-relative { position: relative; }
.sm-absolute { position: absolute; }
.sm-fixed { position: fixed; }
.sm-sticky { position: sticky; top: 0; }

/* Overflow */
.sm-overflow-hidden { overflow: hidden; }
.sm-overflow-auto { overflow: auto; }

/* Border radius */
.sm-rounded { border-radius: var(--sm-radius-md); }
.sm-rounded-sm { border-radius: var(--sm-radius-sm); }
.sm-rounded-lg { border-radius: var(--sm-radius-lg); }
.sm-rounded-xl { border-radius: var(--sm-radius-xl); }
.sm-rounded-full { border-radius: 50%; }

/* Shadows */
.sm-shadow { box-shadow: var(--sm-shadow-md); }
.sm-shadow-sm { box-shadow: var(--sm-shadow-sm); }
.sm-shadow-lg { box-shadow: var(--sm-shadow-lg); }
.sm-shadow-none { box-shadow: none; }

/* Typography */
.sm-font-heading { font-family: var(--sm-font-heading); }
.sm-font-body { font-family: var(--sm-font-body); }
.sm-font-accent { font-family: var(--sm-font-accent); }
.sm-font-bold { font-weight: 700; }
.sm-font-semibold { font-weight: 600; }
.sm-font-medium { font-weight: 500; }
.sm-font-normal { font-weight: 400; }
.sm-text-xs { font-size: 0.75rem; }
.sm-text-sm { font-size: 0.875rem; }
.sm-text-base { font-size: 1rem; }
.sm-text-lg { font-size: 1.125rem; }
.sm-text-xl { font-size: 1.25rem; }
.sm-text-2xl { font-size: 1.5rem; }
.sm-text-3xl { font-size: 2rem; }
.sm-uppercase { text-transform: uppercase; }
.sm-capitalize { text-transform: capitalize; }
.sm-italic { font-style: italic; }
.sm-tracking-wide { letter-spacing: 1px; }
.sm-tracking-wider { letter-spacing: 2px; }
.sm-leading-tight { line-height: 1.2; }
.sm-leading-normal { line-height: 1.7; }
.sm-leading-relaxed { line-height: 1.9; }

/* Colors */
.sm-color-accent { color: var(--sm-accent); }
.sm-color-dark { color: var(--sm-primary-dark); }
.sm-color-white { color: var(--sm-white); }
.sm-color-muted { color: var(--sm-text-muted); }
.sm-color-light { color: var(--sm-text-light); }
.sm-bg-accent { background-color: var(--sm-accent); }
.sm-bg-dark { background-color: var(--sm-primary-dark); }
.sm-bg-white { background-color: var(--sm-white); }
.sm-bg-light { background-color: var(--sm-bg-light); }
.sm-bg-section { background-color: var(--sm-bg-section); }

/* Borders */
.sm-border { border: 1px solid var(--sm-border-light); }
.sm-border-top { border-top: 1px solid var(--sm-border-light); }
.sm-border-bottom { border-bottom: 1px solid var(--sm-border-light); }
.sm-border-accent { border-color: var(--sm-accent); }

/* Visibility */
.sm-visible { visibility: visible; }
.sm-invisible { visibility: hidden; }
.sm-opacity-0 { opacity: 0; }
.sm-opacity-50 { opacity: 0.5; }
.sm-opacity-100 { opacity: 1; }

/* Cursor */
.sm-cursor-pointer { cursor: pointer; }

/* Transitions */
.sm-transition { transition: all var(--sm-transition); }
.sm-transition-slow { transition: all var(--sm-transition-slow); }

/* Responsive utility: hide/show */
@media (max-width: 992px) {
    .sm-hide-tablet { display: none !important; }
}

@media (max-width: 768px) {
    .sm-hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .sm-show-mobile-only { display: none !important; }
}

@media (min-width: 993px) {
    .sm-show-tablet-only { display: none !important; }
}

/* Animations */
.sm-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sm-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.sm-fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sm-fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.sm-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sm-fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.sm-scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sm-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay classes for animations */
.sm-delay-1 { transition-delay: 0.1s; }
.sm-delay-2 { transition-delay: 0.2s; }
.sm-delay-3 { transition-delay: 0.3s; }
.sm-delay-4 { transition-delay: 0.4s; }
.sm-delay-5 { transition-delay: 0.5s; }
.sm-delay-6 { transition-delay: 0.6s; }

/* Divider line */
.sm-divider {
    width: 60px;
    height: 2px;
    background: var(--sm-accent);
    margin: 24px 0;
}

.sm-divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* Badge utility */
.sm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sm-badge-accent {
    background: rgba(168,146,121,0.1);
    color: var(--sm-accent);
}

.sm-badge-dark {
    background: var(--sm-primary-dark);
    color: var(--sm-accent);
}

.sm-badge-white {
    background: var(--sm-white);
    color: var(--sm-primary-dark);
}

/* Image cover */
.sm-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Truncate text */
.sm-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sm-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sm-line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   29. MOBILE PERFORMANCE & LAYOUT FIXES
   ============================================================ */

@media (max-width: 768px) {
    /* Industrial Hero: tighter layout on mobile */
    .sm-hero-industrial .sm-hero-title {
        font-size: 2.2rem;
    }

    .sm-hero-industrial .sm-hero-title .sm-hero-title-small {
        font-size: 1.1rem;
    }

    .sm-hero-industrial .sm-hero-desc {
        font-size: 0.9rem;
    }

    .sm-hero-stats-bar {
        padding: 16px 20px;
        gap: 12px;
    }

    .sm-hero-stats-bar .sm-hero-stat-number {
        font-size: 1.2rem;
    }

    /* Phone: icon only on mobile */
    .sm-header-phone span {
        display: none;
    }

    .sm-header-phone {
        padding: 8px;
        border: none;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,0.12);
    }

    .sm-header-phone svg {
        color: var(--sm-white);
    }

    .sm-header-phone svg {
        width: 18px;
        height: 18px;
    }

    /* Header: compact on mobile */
    .sm-header-inner {
        padding: 0 16px;
    }

    .sm-logo-tagline,
    .sm-logo-line {
        font-size: 0.7rem;
        letter-spacing: 0.25em;
    }

    .sm-logo-line:last-child {
        font-size: 0.58rem;
        letter-spacing: 0.3em;
    }

    /* Header right: tighter gap */
    .sm-header-right {
        gap: 6px;
    }

    .sm-header-phone {
        width: 36px;
        height: 36px;
    }

    .sm-header-cart {
        width: 36px;
        height: 36px;
    }

    .sm-hamburger {
        width: 38px;
        height: 38px;
    }

    /* Mobile menu: reduce padding & font sizes at 768px */
    .sm-mobile-menu {
        padding: 70px 24px 24px;
    }

    .sm-mobile-nav-text {
        font-size: 1.25rem;
    }

    .sm-mobile-nav-number {
        font-size: 0.7rem;
    }

    .sm-mobile-nav-link {
        padding: 10px 0;
        gap: 12px;
    }

    .sm-mobile-nav-item {
        margin-bottom: 4px;
    }

    /* Portfolio grid: single column at 768px */
    .sm-portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    .sm-portfolio-item-large,
    .sm-portfolio-item-small,
    .sm-portfolio-item-medium {
        grid-column: span 1 !important;
        min-height: 250px;
    }

    .sm-portfolio-item-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    /* Zones grids in realizacje: 2 columns at 768px */
    .sm-zones-grid,
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Aries gallery: stack on mobile */
    .sm-aries-gallery {
        grid-template-columns: 1fr;
    }

    .sm-aries-stats-strip {
        flex-direction: row;
        padding: 16px;
        gap: 16px;
    }

    /* Footer: center and stack */
    .sm-footer-grid {
        text-align: center;
    }

    .sm-footer-links {
        justify-content: center;
    }

    .sm-footer-social {
        justify-content: center;
    }

    /* Scroll indicator: hide */
    .sm-hero-scroll {
        display: none;
    }

    /* Header cart: adjust size */
    .sm-header-cart svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    /* Header: even more compact */
    .sm-header-inner {
        padding: 0 12px;
    }

    .sm-logo-tagline,
    .sm-logo-line {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
    }

    .sm-logo-line:last-child {
        font-size: 0.5rem;
        letter-spacing: 0.25em;
    }

    .sm-header-right {
        gap: 4px;
    }

    .sm-header-phone {
        width: 32px;
        height: 32px;
    }

    .sm-header-phone svg {
        width: 16px;
        height: 16px;
    }

    .sm-header-cart {
        width: 32px;
        height: 32px;
    }

    .sm-header-cart svg {
        width: 16px;
        height: 16px;
    }

    .sm-hamburger {
        width: 34px;
        height: 34px;
    }

    .sm-hamburger-line {
        width: 20px;
    }

    /* Hero V2: smaller title, compact stats */
    .sm-hero-industrial .sm-hero-title {
        font-size: 1.8rem;
    }

    .sm-hero-industrial .sm-hero-title .sm-hero-title-small {
        font-size: 0.95rem;
    }

    .sm-hero-industrial .sm-hero-desc {
        font-size: 0.85rem;
    }

    .sm-hero-stats-bar {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }

    .sm-hero-stats-bar .sm-hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    /* Mobile menu: even tighter */
    .sm-mobile-menu {
        padding: 64px 20px 20px;
    }

    .sm-mobile-nav-text {
        font-size: 1.1rem;
    }

    .sm-mobile-nav-link {
        padding: 8px 0;
        gap: 10px;
    }

    .sm-mobile-nav-item {
        margin-bottom: 2px;
    }

    .sm-mobile-menu-footer {
        padding: 16px 0;
    }

    .sm-mobile-menu-footer-phone {
        font-size: 1rem;
    }

    .sm-mobile-phone {
        font-size: 0.9rem;
    }

    .sm-mobile-address {
        font-size: 0.8rem;
    }

    /* Zones grids: 2 columns (for inline-styled grids) */
    .sm-zones-grid,
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Footer: center everything */
    .sm-footer {
        text-align: center;
    }

    .sm-footer-brand {
        align-items: center;
    }

    .sm-footer-brand p {
        text-align: center;
    }

    .sm-footer-logo svg {
        max-width: 140px;
    }

    .sm-footer-bottom {
        gap: 12px;
        padding: 20px 0;
    }

    /* Realizacje section: tighter spacing */
    .sm-aries-gallery {
        gap: 0;
    }

    .sm-aries-stats-strip {
        gap: 8px;
        padding: 12px 8px;
    }

    .sm-aries-stat-num {
        font-size: 1rem;
    }

    /* Cart icon */
    .sm-header-cart {
        margin-right: 8px;
    }

    /* Page hero: compact */
    .sm-page-hero {
        padding: 100px 0 50px;
    }

    .sm-page-hero-title {
        font-size: 1.65rem;
    }

    .sm-page-hero-desc {
        font-size: 0.85rem;
    }

    .sm-breadcrumbs {
        font-size: 0.75rem;
    }

    /* CTA compact */
    .sm-cta-content {
        padding: 32px 20px;
    }

    .sm-cta-actions {
        flex-direction: column;
        gap: 12px;
    }

    .sm-cta-actions .sm-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Mobile menu: very small screens (short viewport) */
@media (max-height: 667px) {
    .sm-mobile-menu {
        padding: 60px 20px 16px;
    }

    .sm-mobile-nav-text {
        font-size: 1rem;
    }

    .sm-mobile-nav-link {
        padding: 6px 0;
        gap: 8px;
    }

    .sm-mobile-nav-item {
        margin-bottom: 0;
    }

    .sm-mobile-nav-number {
        font-size: 0.65rem;
        min-width: 22px;
    }

    .sm-mobile-menu-footer {
        padding: 12px 0;
        margin-top: auto;
    }

    .sm-mobile-menu-header {
        margin-bottom: 8px;
    }
}

/* Mobile menu: very narrow screens */
@media (max-width: 380px) {
    .sm-mobile-menu {
        padding: 60px 16px 16px;
    }

    .sm-mobile-nav-text {
        font-size: 1rem;
    }

    .sm-mobile-nav-link {
        padding: 7px 0;
    }
}

/* ============================================================
   REALIZACJE GRID – Projects page
   ============================================================ */
.sm-realizacje-grid-section {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.sm-projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.sm-project-tile {
    position: relative;
    overflow: hidden;
}

.sm-project-tile-inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    cursor: default;
}

.sm-project-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sm-project-tile-inner:hover .sm-project-tile-img {
    transform: scale(1.06);
}

.sm-project-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    padding: 2rem 1.8rem;
    background: linear-gradient(
        to top,
        rgba(34, 34, 32, 0.9) 0%,
        rgba(34, 34, 32, 0.35) 45%,
        rgba(34, 34, 32, 0) 70%
    );
    transition: background 0.5s ease;
}

.sm-project-tile-inner:hover .sm-project-tile-overlay {
    background: linear-gradient(
        to top,
        rgba(34, 34, 32, 0.95) 0%,
        rgba(34, 34, 32, 0.5) 55%,
        rgba(34, 34, 32, 0.15) 80%
    );
}

.sm-project-tile-info {
    transform: translateY(8px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sm-project-tile-inner:hover .sm-project-tile-info {
    transform: translateY(0);
}

.sm-project-tile-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
    font-family: var(--sm-font-heading, 'Inter', sans-serif);
}

.sm-project-tile-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sm-project-tile-inner:hover .sm-project-tile-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 0.3rem;
}

/* Accent bottom bar on hover */
.sm-project-tile-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sm-accent, #a89279);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
    border-radius: 0 0 8px 8px;
}

.sm-project-tile-inner:hover::after {
    transform: scaleX(1);
}

/* Sub-gallery (expandable) */
.sm-project-gallery {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sm-project-gallery.is-open {
    max-height: 2000px;
}

.sm-project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.75rem 0 0;
}

.sm-project-gallery-item {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.sm-project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sm-project-gallery-item:hover img {
    transform: scale(1.04);
}

.sm-project-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: transparent;
    border: 1px solid rgba(168, 146, 121, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--sm-accent, #a89279);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.sm-project-expand-btn:hover {
    background: var(--sm-accent, #a89279);
    color: #fff;
    border-color: var(--sm-accent, #a89279);
}

.sm-project-expand-btn svg {
    transition: transform 0.3s ease;
}

.sm-project-expand-btn.is-open svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .sm-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .sm-project-tile-overlay {
        background: linear-gradient(
            to top,
            rgba(34, 34, 32, 0.9) 0%,
            rgba(34, 34, 32, 0.35) 45%,
            rgba(34, 34, 32, 0) 70%
        );
    }

    .sm-project-tile-info {
        transform: translateY(0);
    }

    .sm-project-tile-desc {
        max-height: 80px;
        opacity: 1;
        margin-top: 0.3rem;
    }

    .sm-project-tile-name {
        font-size: 1.15rem;
    }

    .sm-project-tile-inner::after {
        transform: scaleX(1);
    }

    .sm-project-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   FRONT PAGE – Horizontal project slider / carousel
   ============================================================ */
.sm-slider-wrapper {
    position: relative;
    margin-top: 3rem;
    padding: 0 0 1rem;
}

.sm-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0;
}

.sm-slider::-webkit-scrollbar {
    display: none;
}

.sm-slider-card {
    flex: 0 0 calc(45% - 0.75rem);
    scroll-snap-align: start;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.sm-slider-card-inner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.sm-slider-card:hover .sm-slider-card-inner {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}

.sm-slider-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sm-slider-card:hover .sm-slider-card-img {
    transform: scale(1.08);
}

.sm-slider-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(34, 34, 32, 0.92) 0%,
        rgba(34, 34, 32, 0.45) 45%,
        rgba(34, 34, 32, 0.08) 100%
    );
    transition: background 0.6s ease;
}

.sm-slider-card:hover .sm-slider-card-overlay {
    background: linear-gradient(
        to top,
        rgba(34, 34, 32, 0.96) 0%,
        rgba(34, 34, 32, 0.55) 50%,
        rgba(34, 34, 32, 0.12) 100%
    );
}

.sm-slider-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem;
    z-index: 2;
}

.sm-slider-card-number {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sm-accent, #a89279);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s;
}

.sm-slider-card:hover .sm-slider-card-number {
    opacity: 1;
    transform: translateY(0);
}

.sm-slider-card-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
    font-family: var(--sm-font-heading, 'Montserrat', sans-serif);
    transition: all 0.4s ease;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.sm-slider-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.sm-slider-card:hover .sm-slider-card-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 0.4rem;
}

.sm-slider-card-line {
    display: block;
    width: 0;
    height: 2px;
    background: var(--sm-accent, #a89279);
    margin-top: 0.8rem;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}

.sm-slider-card:hover .sm-slider-card-line {
    width: 50px;
}

/* Accent bottom bar */
.sm-slider-card-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sm-accent, #a89279);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
    border-radius: 0 0 10px 10px;
}

.sm-slider-card:hover .sm-slider-card-inner::after {
    transform: scaleX(1);
}

/* Arrow navigation */
.sm-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    z-index: 5;
    transition: all 0.3s ease;
    color: var(--sm-primary-dark, #222220);
}

.sm-slider-nav:hover {
    background: var(--sm-accent, #a89279);
    color: #fff;
    box-shadow: 0 6px 20px rgba(168, 146, 121, 0.3);
}

.sm-slider-nav--prev {
    left: -24px;
}

.sm-slider-nav--next {
    right: -24px;
}

@media (max-width: 1024px) {
    .sm-slider-card {
        flex: 0 0 55%;
    }
}

@media (max-width: 768px) {
    .sm-slider-card {
        flex: 0 0 85%;
    }

    .sm-slider-nav {
        display: none;
    }

    .sm-slider-card-number {
        opacity: 1;
        transform: translateY(0);
    }

    .sm-slider-card-desc {
        max-height: 80px;
        opacity: 1;
        margin-top: 0.4rem;
    }

    .sm-slider-card-line {
        width: 50px;
    }

    .sm-slider-card-name {
        font-size: 1.2rem;
    }

    .sm-slider-card-inner::after {
        transform: scaleX(1);
    }
}

/* ============================================================
   LIGHTBOX – fullscreen image viewer
   ============================================================ */
.sm-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.sm-lightbox.is-active {
    display: flex;
}

.sm-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: pointer;
}

.sm-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    animation: sm-lb-fadein 0.3s ease;
}

@keyframes sm-lb-fadein {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.sm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sm-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.sm-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sm-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.sm-lightbox-nav--prev {
    left: 20px;
}

.sm-lightbox-nav--next {
    right: 20px;
}

.sm-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Make realizacje tiles clickable */
.sm-project-tile-inner {
    cursor: pointer;
}

/* Gallery icon indicator on hover */
.sm-project-tile-gallery-hint {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.sm-project-tile-inner:hover .sm-project-tile-gallery-hint {
    opacity: 1;
    transform: scale(1);
}

/* Gallery images cursor */
.sm-project-gallery-item {
    cursor: pointer;
    position: relative;
}

.sm-project-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: 6px;
}

.sm-project-gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .sm-lightbox-nav--prev { left: 8px; }
    .sm-lightbox-nav--next { right: 8px; }
    .sm-lightbox-nav { width: 40px; height: 40px; }
    .sm-lightbox-close { top: 12px; right: 12px; }
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.sm-hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.sm-hero-slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

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

.sm-hero-slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.55);
}

/* Ken Burns – subtle zoom on active slide */
.sm-hero-slideshow-slide.is-active img {
    animation: sm-ken-burns 8s ease-in-out forwards;
}

@keyframes sm-ken-burns {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

/* Frosted glass / vignette – center more frosted, edges show image */
.sm-hero-slideshow-frost {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(
        ellipse at center,
        rgba(34, 34, 32, 0.72) 0%,
        rgba(34, 34, 32, 0.5) 45%,
        rgba(34, 34, 32, 0.18) 100%
    );
    backdrop-filter: blur(2.5px) saturate(1.1);
    -webkit-backdrop-filter: blur(2.5px) saturate(1.1);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, black 35%, rgba(0,0,0,0.6) 65%, rgba(0,0,0,0.25) 100%);
    mask-image: radial-gradient(ellipse at center, black 0%, black 35%, rgba(0,0,0,0.6) 65%, rgba(0,0,0,0.25) 100%);
}

/* Ensure hero sections stack correctly with slideshow */
.sm-hero.has-slideshow,
.sm-hero-industrial.has-slideshow {
    position: relative;
    overflow: hidden;
}

.sm-hero-industrial .sm-hero-container {
    position: relative;
    z-index: 2;
}

.sm-hero-industrial .sm-hero-industrial-bg {
    z-index: 1;
}

/* When slideshow is active, hide the default industrial bg */
.sm-hero-industrial.has-slideshow .sm-hero-industrial-bg {
    display: none;
}

/* ============================================================
   O NAS — EXTENDED HERO WITH STORY + IMAGES
   ============================================================ */
.sm-page-hero-extended {
    padding: 160px 0 80px;
}

.sm-onas-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sm-onas-hero-text .sm-page-hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.sm-onas-hero-story {
    margin-top: 12px;
}

.sm-onas-hero-story p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.sm-onas-hero-story p:last-child {
    margin-bottom: 0;
}

.sm-onas-hero-images {
    position: relative;
    min-height: 420px;
}

.sm-onas-hero-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.sm-onas-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sm-onas-hero-img-main {
    width: 85%;
    aspect-ratio: 4/3;
}

.sm-onas-hero-img-secondary {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 55%;
    aspect-ratio: 16/10;
    border: 3px solid rgba(255,255,255,0.15);
    z-index: 2;
}

.sm-onas-hero-year-badge {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    background: var(--sm-accent);
    color: var(--sm-white);
    padding: 16px 14px;
    border-radius: 8px;
    text-align: center;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.sm-onas-hero-year {
    display: block;
    font-family: var(--sm-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.sm-onas-hero-year-text {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.85;
}

/* O Nas hero — responsive */
@media (max-width: 992px) {
    .sm-onas-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sm-onas-hero-text .sm-page-hero-title {
        font-size: 2.2rem;
    }
    .sm-onas-hero-images {
        min-height: 320px;
    }
    .sm-page-hero-extended {
        padding: 140px 0 60px;
    }
}

@media (max-width: 576px) {
    .sm-onas-hero-text .sm-page-hero-title {
        font-size: 1.75rem;
    }
    .sm-onas-hero-img-main {
        width: 100%;
    }
    .sm-onas-hero-img-secondary {
        width: 60%;
        bottom: -10px;
    }
    .sm-onas-hero-year-badge {
        left: auto;
        right: 10px;
        top: 10px;
        transform: none;
        padding: 12px 10px;
    }
    .sm-onas-hero-year {
        font-size: 1.2rem;
    }
    .sm-page-hero-extended {
        padding: 120px 0 50px;
    }
}

/* ============================================================
   END OF STOLARNIA MAZOWSZE CUSTOM STYLES
   ============================================================ */
