* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: #141414; background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; }

html.preloader-active, html.preloader-active body { overflow: hidden; }
.preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #faf8f4; opacity: 1; visibility: visible; transition: opacity 0.6s ease, visibility 0.6s ease; }
.preloader.is-ready { opacity: 0; visibility: hidden; }
.preloader-panel { width: min(86vw, 360px); text-align: center; }
.preloader-logo { display: block; width: clamp(90px, 24vw, 132px); height: auto; max-height: 92px; object-fit: contain; margin: 0 auto 1.25rem; animation: preloaderLogo 2.4s ease-in-out infinite; }
.preloader-painting { position: relative; width: 100%; height: 76px; }
.paint-track { position: absolute; right: 7%; bottom: 12px; left: 7%; height: 12px; overflow: hidden; border-radius: 999px; background: rgba(20, 20, 20, 0.08); }
.paint-stroke { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f1592a 0%, #f1592a 50%, #00a652 50%, #00a652 100%); animation: paintStroke 2.4s ease-in-out infinite; }
.paint-roller { position: absolute; top: 4px; left: 5%; width: clamp(48px, 14vw, 66px); height: clamp(20px, 5vw, 28px); border: 4px solid #f1592a; border-radius: 7px 7px 5px 5px; background: #fff; box-shadow: 0 5px 12px rgba(20, 20, 20, 0.12); animation: rollerSweep 2.4s ease-in-out infinite; }
.paint-roller::after { content: ''; position: absolute; top: 100%; right: 5px; width: 4px; height: 27px; border-radius: 4px; background: #141414; transform: rotate(-22deg); transform-origin: top center; }
.paint-roller-handle { position: absolute; top: calc(100% + 23px); right: -8px; width: 18px; height: 5px; border-radius: 5px; background: #00a652; transform: rotate(-22deg); }
.preloader-label { margin: 0; color: #5a5a5a; font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
@keyframes preloaderLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes paintStroke { 0% { width: 0; } 45%, 75% { width: 100%; } 100% { width: 100%; } }
@keyframes rollerSweep { 0% { left: 5%; transform: rotate(-4deg); } 45%, 75% { left: 82%; transform: rotate(4deg); } 100% { left: 5%; transform: rotate(-4deg); } }

[class~="font-display"] { font-family: 'Sora', sans-serif; }
[class~="text-brand-orange"] { color: #f1592a; }
[class~="text-brand-green"] { color: #00a652; }
[class~="text-brand-green-dark"] { color: #008a45; }
[class~="text-brand-dark"] { color: #141414; }
[class~="text-brand-muted"] { color: #5a5a5a; }
[class~="bg-brand-orange"] { background-color: #f1592a; }
[class~="bg-brand-green"] { background-color: #00a652; }
[class~="bg-brand-dark"] { background-color: #141414; }
[class~="bg-brand-cream"] { background-color: #faf8f4; }
[class~="bg-brand-line"] { background-color: #e8e6e1; }
[class~="border-brand-orange"] { border-color: #f1592a; }
[class~="border-brand-green"] { border-color: #00a652; }
[class~="border-brand-line"] { border-color: #e8e6e1; }
[class~="bg-brand-orange\/10"] { background-color: rgba(241, 89, 42, 0.1); }
[class~="bg-brand-orange\/20"] { background-color: rgba(241, 89, 42, 0.2); }
[class~="bg-brand-orange\/30"] { background-color: rgba(241, 89, 42, 0.3); }
[class~="bg-brand-green\/10"] { background-color: rgba(0, 166, 82, 0.1); }
[class~="bg-brand-green\/20"] { background-color: rgba(0, 166, 82, 0.2); }
[class~="bg-brand-green\/30"] { background-color: rgba(0, 166, 82, 0.3); }
[class~="bg-brand-dark\/20"] { background-color: rgba(20, 20, 20, 0.2); }
[class~="bg-brand-dark\/95"] { background-color: rgba(20, 20, 20, 0.95); }
[class~="border-brand-orange\/40"] { border-color: rgba(241, 89, 42, 0.4); }
[class~="border-brand-green\/40"] { border-color: rgba(0, 166, 82, 0.4); }
[class~="text-white\/60"] { color: rgba(255, 255, 255, 0.6); }
[class~="text-white\/70"] { color: rgba(255, 255, 255, 0.7); }
[class~="text-white\/80"] { color: rgba(255, 255, 255, 0.8); }
[class~="text-white\/85"] { color: rgba(255, 255, 255, 0.85); }
[class~="text-white\/90"] { color: rgba(255, 255, 255, 0.9); }
[class~="hover:text-brand-orange"]:hover { color: #f1592a; }
[class~="hover:bg-brand-orange"]:hover { background-color: #f1592a; }
[class~="hover:bg-brand-green"]:hover { background-color: #00a652; }
[class~="hover:bg-brand-cream"]:hover { background-color: #faf8f4; }
[class~="hover:border-brand-orange\/40"]:hover { border-color: rgba(241, 89, 42, 0.4); }
[class~="hover:border-brand-green\/40"]:hover { border-color: rgba(0, 166, 82, 0.4); }
[class~="from-brand-orange"][class~="to-brand-orange-dark"] { background-image: linear-gradient(to bottom right, #f1592a, #d9461f); }
[class~="from-brand-dark"][class~="via-brand-dark\/85"][class~="to-brand-dark\/40"] { background-image: linear-gradient(to right, rgba(20, 20, 20, 1), rgba(20, 20, 20, 0.85), rgba(20, 20, 20, 0.4)); }
[class~="from-brand-dark\/80"][class~="via-brand-dark\/20"][class~="to-transparent"] { background-image: linear-gradient(to top, rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.2), transparent); }
[class~="from-brand-dark\/80"][class~="to-transparent"] { background-image: linear-gradient(to top, rgba(20, 20, 20, 0.8), transparent); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.hero-overlay { background: linear-gradient(105deg, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.78) 38%, rgba(20,20,20,0.45) 70%, rgba(20,20,20,0.25) 100%); }
.hero-slides { background: #141414; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-slide.active { opacity: 1; }
.why-section { background-image: linear-gradient(rgba(20, 20, 20, 0.86), rgba(20, 20, 20, 0.92)), url('../assets/images/bg-1.jpg'); background-position: center; background-size: cover; background-attachment: fixed; }
.contact-surface { background-image: linear-gradient(rgba(250, 248, 244, 0.9), rgba(250, 248, 244, 0.94)), url('../assets/images/bg-3.jpg'); background-position: center; background-size: cover; }
.bg-grid { background-image: linear-gradient(rgba(20,20,20,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,20,0.025) 1px, transparent 1px); background-size: 36px 36px; }
.paint-divider { height: 4px; width: 64px; border-radius: 4px; background: linear-gradient(90deg, #f1592a 0%, #f1592a 50%, #00a652 50%, #00a652 100%); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; font-weight: 600; font-family: 'Sora', sans-serif; transition: all 0.25s ease; cursor: pointer; border-radius: 10px; padding: 0.95rem 1.6rem; font-size: 0.95rem; letter-spacing: 0.01em; }
.btn-primary { background: #f1592a; color: #fff; }
.btn-primary:hover { background: #d9461f; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(241,89,42,0.32); }
.btn-green { background: #00a652; color: #fff; }
.btn-green:hover { background: #008a45; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,166,82,0.32); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: #fff; color: #141414; border-color: #fff; }
.btn-dark { background: #141414; color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #141414; border: 1.5px solid #e8e6e1; }
.btn-ghost:hover { border-color: #141414; background: #faf8f4; }

.card { background: #fff; border: 1px solid #f0eee9; border-radius: 18px; transition: all 0.35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(20,20,20,0.09); border-color: #e8e6e1; }
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.7s ease; }
.img-zoom:hover img { transform: scale(1.08); }

.nav-link { position: relative; font-weight: 500; color: #3a3a3a; transition: color 0.2s ease; padding: 6px 2px; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: #f1592a; transition: width 0.25s ease; }
.nav-link:hover, .nav-link.active { color: #f1592a; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.mobile-menu { transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1); }
.mobile-menu.open { transform: translateX(0); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.floaty { animation: floaty 4s ease-in-out infinite; }
.accent-line { width: 36px; height: 3px; border-radius: 3px; background: #f1592a; }
.form-input { width: 100%; padding: 0.9rem 1rem; border: 1.5px solid #e8e6e1; border-radius: 10px; background: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: #141414; transition: all 0.2s ease; }
.form-input:focus { outline: none; border-color: #f1592a; box-shadow: 0 0 0 4px rgba(241,89,42,0.12); }
.form-label { display: block; font-weight: 500; font-size: 0.85rem; color: #3a3a3a; margin-bottom: 0.4rem; font-family: 'Sora', sans-serif; }

.ba-container { position: relative; overflow: hidden; border-radius: 18px; cursor: ew-resize; user-select: none; }
.ba-img, .ba-after-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after-wrap { position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.ba-handle::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.ba-label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; font-family: 'Sora', sans-serif; letter-spacing: 0.05em; text-transform: uppercase; }
.ba-label-before { left: 16px; background: rgba(20,20,20,0.8); color: #fff; }
.ba-label-after { right: 16px; background: #00a652; color: #fff; }

.lightbox { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { transform: scale(0.96); transition: transform 0.3s ease; }
.lightbox.open img { transform: scale(1); }
.gallery-item { transition: all 0.35s ease; }
.gallery-item.hidden-item { display: none; }
.gallery-item img { transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay { opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover .overlay { opacity: 1; }
.filter-tab { padding: 0.55rem 1.15rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500; font-family: 'Sora', sans-serif; color: #5a5a5a; border: 1.5px solid #e8e6e1; background: #fff; cursor: pointer; transition: all 0.2s ease; }
.filter-tab:hover { border-color: #f1592a; color: #f1592a; }
.filter-tab.active { background: #141414; color: #fff; border-color: #141414; }
.process-line { background: linear-gradient(90deg, #f1592a 0%, #f1592a 30%, #00a652 70%, #00a652 100%); }

.logo-mark { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg, #f1592a 0%, #f1592a 60%, #00a652 60%, #00a652 100%); display: flex; align-items: center; justify-content: center; }
.logo-image { background: #fff; overflow: hidden; }
.logo-image img { width: 100%; height: 100%; object-fit: contain; }
.site-header { min-height: 72px; }
.site-footer { background-image: linear-gradient(rgba(20, 20, 20, 0.9), rgba(20, 20, 20, 0.94)), url('../assets/images/bg-2.jpg'); background-position: center; background-size: cover; }
.site-footer a, .mobile-menu a { transition: color 0.2s ease, background 0.2s ease; }
.contact-social-icon { width: 44px; height: 44px; display: inline-flex !important; gap:10px; align-items: center; justify-content: center; border-radius: 10px; background: #faf8f4; color: #141414; transition: all 0.2s ease; }
.contact-social-icon:hover { background: #f1592a; color: #fff; transform: translateY(-2px); }
.contact-row-icon { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(241, 89, 42, 0.1); color: #f1592a; }
.contact-row-icon svg { width: 18px; height: 18px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f7f6f3; }
::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #f1592a; }

@media (max-width: 768px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(20,20,20,0.85) 0%, rgba(20,20,20,0.7) 50%, rgba(20,20,20,0.85) 100%); }
  .why-section { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .preloader-logo, .paint-stroke, .paint-roller { animation: none; }
  .paint-stroke { width: 100%; }
  .paint-roller { left: 82%; }
}
