:root {
    --bg: #fafaf8;
    --bg2: #f0eeea;
    --dark: #1a1a1a;
    --tx: #1a1a1a;
    --tx2: #5a5650;
    --tx3: #8a8580;
    --txd: #f0eeea;
    --ac: #937b5e;
    --acl: #c4b49a;
    --bd: #ddd8d0;
    --wh: #fff;
    --fd: 'Cormorant Garamond', Georgia, serif;
    --fb: 'Outfit', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box }
html { scroll-behavior: smooth; overflow-x: hidden }
body { font-family: var(--fb); color: var(--tx); background: var(--bg); line-height: 1.6; overflow-x: hidden }

/* NAV */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.25rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    transition: all .5s cubic-bezier(.22,1,.36,1);
}
.nav.scrolled {
    background: rgba(250,250,248,.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: .75rem 2.5rem;
    box-shadow: 0 1px 0 var(--bd);
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--tx) }
.nav-logo img { height: 38px; width: auto; transition: height .5s cubic-bezier(.22,1,.36,1) }
.nav.scrolled .nav-logo img { height: 30px }
.nav-logo-text { font-family: var(--fb); font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase }
.nav-right { display: flex; align-items: center; gap: 1.5rem }
.nav-links { display: flex; gap: 2rem; list-style: none }
.nav-links a {
    text-decoration: none; color: var(--tx2); font-size: .82rem; font-weight: 400;
    letter-spacing: .05em; transition: color .3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--ac); transition: width .3s;
}
.nav-links a:hover { color: var(--tx) }
.nav-links a:hover::after { width: 100% }
.lang-toggle {
    background: none; border: 1px solid var(--bd); border-radius: 100px;
    padding: .35rem .85rem; cursor: pointer; font-family: var(--fb);
    font-size: .72rem; font-weight: 500; letter-spacing: .12em;
    color: var(--tx2); transition: all .3s;
}
.lang-toggle:hover { border-color: var(--tx); color: var(--tx) }
.mob-btn {
    display: none; background: none; border: none; cursor: pointer;
    width: 28px; height: 20px; position: relative; z-index: 101;
}
.mob-btn span {
    display: block; width: 100%; height: 1.5px; background: var(--tx);
    position: absolute; left: 0; transition: all .3s;
}
.mob-btn span:nth-child(1) { top: 0 }
.mob-btn span:nth-child(2) { top: 50%; transform: translateY(-50%) }
.mob-btn span:nth-child(3) { bottom: 0 }
.mob-btn.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg) }
.mob-btn.active span:nth-child(2) { opacity: 0 }
.mob-btn.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg) }
.mobile-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 99;
    flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.mobile-nav.active { display: flex }
.mobile-nav a { text-decoration: none; color: var(--tx); font-family: var(--fd); font-size: 2rem; font-weight: 500 }

/* HERO */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 8rem 2rem 4rem; position: relative; overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover; background-position: center 40%; z-index: 0;
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(250,250,248,.75) 0%, rgba(250,250,248,.85) 40%, rgba(250,250,248,.92) 100%);
}
.hero-content {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1.25rem; border: 1px solid var(--bd); border-radius: 100px;
    font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    color: var(--tx3); margin-bottom: 2.5rem;
    background: rgba(250,250,248,.6); backdrop-filter: blur(10px);
    opacity: 0; transform: translateY(20px);
    animation: fu 1s .3s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ac) }
.hero h1 {
    font-family: var(--fd); font-size: clamp(2.75rem, 6vw, 5.5rem); font-weight: 500;
    line-height: 1.08; letter-spacing: -.02em; max-width: 850px;
    margin: 0 auto 1.5rem; opacity: 0; transform: translateY(30px);
    animation: fu 1s .5s cubic-bezier(.22,1,.36,1) forwards;
}
.hero p {
    font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--tx2); max-width: 520px;
    margin: 0 auto 2.5rem; font-weight: 300; line-height: 1.75;
    opacity: 0; transform: translateY(30px);
    animation: fu 1s .7s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-cta {
    display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: center;
    opacity: 0; transform: translateY(30px);
    animation: fu 1s .9s cubic-bezier(.22,1,.36,1) forwards;
}
.btn-p {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 2rem; background: var(--dark); color: var(--txd);
    text-decoration: none; font-family: var(--fb); font-size: .82rem;
    font-weight: 500; letter-spacing: .05em; border-radius: 100px;
    transition: all .4s cubic-bezier(.22,1,.36,1); border: none; cursor: pointer;
}
.btn-p:hover { background: var(--ac); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(147,123,94,.25) }
.btn-s {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .9rem 2rem; background: rgba(250,250,248,.7); backdrop-filter: blur(8px);
    color: var(--tx); text-decoration: none; font-family: var(--fb);
    font-size: .82rem; font-weight: 500; letter-spacing: .05em;
    border-radius: 100px; border: 1px solid var(--bd); transition: all .4s; cursor: pointer;
}
.btn-s:hover { border-color: var(--tx); background: var(--wh) }
.hero-scroll {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%) translateY(30px);
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    opacity: 0; animation: fu-scroll 1s 1.2s cubic-bezier(.22,1,.36,1) forwards; z-index: 1;
}
@keyframes fu-scroll { to { opacity: 1; transform: translateX(-50%) translateY(0) } }
.hero-scroll span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--tx3) }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--ac), transparent); animation: sp 2s infinite }
@keyframes sp { 0%,100% { opacity: .3; transform: scaleY(.5) } 50% { opacity: 1; transform: scaleY(1) } }
@keyframes fu { to { opacity: 1; transform: translateY(0) } }

/* VISUAL STORY STRIP */
.story { padding: 0; position: relative; z-index: 1 }
.story-inner { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 380px }
.story-card { position: relative; overflow: hidden; cursor: default }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1) }
.story-card:hover img { transform: scale(1.05) }
.story-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0) 30%, rgba(26,26,26,.7) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem;
    transition: background .4s;
}
.story-card:hover .story-overlay { background: linear-gradient(180deg, rgba(26,26,26,0) 20%, rgba(26,26,26,.8) 100%) }
.story-num { font-family: var(--fd); font-size: 3rem; font-weight: 600; color: rgba(255,255,255,.2); line-height: 1; margin-bottom: .5rem }
.story-overlay h3 { font-family: var(--fd); font-size: 1.4rem; font-weight: 500; color: #fff; margin-bottom: .35rem }
.story-overlay p { font-size: .82rem; color: rgba(255,255,255,.65); font-weight: 300 }

/* SHARED */
section { position: relative; z-index: 1 }
.sp { padding: 7rem 2.5rem }
.ctn { max-width: 1100px; margin: 0 auto }
.sl {
    font-size: .68rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
    color: var(--ac); margin-bottom: 1rem; display: flex; align-items: center; gap: .75rem;
}
.sl::before { content: ''; width: 30px; height: 1px; background: var(--ac) }
.st {
    font-family: var(--fd); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 500;
    line-height: 1.12; letter-spacing: -.01em; margin-bottom: 1.25rem;
}
.sd { font-size: .95rem; color: var(--tx2); font-weight: 300; line-height: 1.8; max-width: 580px }
.div { width: 100%; max-width: 1100px; margin: 0 auto; height: 1px; background: var(--bd) }
.rv { opacity: 0; transform: translateY(40px); transition: all .8s cubic-bezier(.22,1,.36,1) }
.rv.vis { opacity: 1; transform: translateY(0) }
.d1 { transition-delay: .1s } .d2 { transition-delay: .2s } .d3 { transition-delay: .3s } .d4 { transition-delay: .4s }

/* ABOUT */
.about-g { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem }
.about-text p { color: var(--tx2); font-weight: 300; line-height: 1.85; margin-bottom: 1.25rem; font-size: .92rem }
.about-img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.08) }
.about-img img { width: 100%; height: auto; display: block }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem }
.stat {
    padding: 2rem; background: var(--wh); border: 1px solid var(--bd);
    border-radius: 14px; text-align: center; transition: all .4s;
}
.stat:hover { border-color: var(--acl); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.04) }
.stat-n, .stat-t { font-family: var(--fb); font-size: 1.1rem; font-weight: 600; color: var(--tx); line-height: 1; margin-bottom: .4rem; letter-spacing: .18em; text-transform: uppercase }
.stat-l { font-size: .78rem; color: var(--tx3); font-weight: 400 }

/* SERVICES */
.svc-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem }
.svc-left, .svc-right {
    background: var(--wh); border: 1px solid var(--bd); border-radius: 16px; padding: 2.25rem;
}
.panel-t { font-family: var(--fd); font-size: 1.4rem; font-weight: 600; margin-bottom: 1.5rem }
.machines { display: flex; flex-direction: column; gap: 1.25rem }
.mc { display: flex; align-items: flex-start; gap: 1rem }
.mc-i {
    width: 40px; height: 40px; border-radius: 50%; background: var(--ac);
    color: var(--wh); display: flex; align-items: center; justify-content: center;
    font-family: var(--fd); font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.mc h4 { font-family: var(--fd); font-size: 1.05rem; font-weight: 600; margin-bottom: .15rem }
.mc p { font-size: .82rem; color: var(--tx2); font-weight: 300; line-height: 1.6 }
.tag-grp { margin-bottom: 1.75rem }
.tag-grp:last-child { margin-bottom: 0 }
.tag-grp h5 {
    font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
    color: var(--tx3); margin-bottom: .75rem;
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem }
.tags span {
    padding: .45rem 1rem; border: 1px solid var(--bd); border-radius: 100px;
    font-size: .82rem; font-weight: 400; color: var(--tx2); transition: all .3s;
}
.tags span:hover { border-color: var(--ac); color: var(--ac) }
.svc-note {
    font-size: .85rem; color: var(--tx3); font-weight: 300; line-height: 1.7;
    margin-top: 2rem; font-style: italic; text-align: center;
}

/* CLIENTS */
.clients-s { overflow: hidden }
.clients-wrap { overflow-x: auto; margin-top: 2rem; scrollbar-width: none; -ms-overflow-style: none }
.clients-wrap::-webkit-scrollbar { display: none }
.clients-track {
    display: flex; align-items: center; width: max-content;
}
.client-logo {
    flex-shrink: 0; margin: 0 2rem;
    display: flex; align-items: center; justify-content: center;
}
.client-logo img { height: 75px; width: auto; display: block }

/* CONTACT */
.cnt-g { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem }
.cnt-info { display: flex; flex-direction: column; gap: 2rem }
.cnt-item { display: flex; align-items: flex-start; gap: 1rem }
.cnt-ic {
    width: 44px; height: 44px; border-radius: 12px; background: var(--bg2);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cnt-ic svg { width: 20px; height: 20px; stroke: var(--ac); stroke-width: 1.5; fill: none }
.cnt-item h4 { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--tx3); margin-bottom: .25rem; font-weight: 500 }
.cnt-item a, .cnt-item p { color: var(--tx); text-decoration: none; font-size: .95rem; font-weight: 400; transition: color .3s }
.cnt-item a:hover { color: var(--ac) }
.cnt-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--bd); height: 100%; min-height: 320px }
.cnt-map iframe { width: 100%; height: 100%; border: none }
.cnt-cta { margin-top: 2.5rem }

/* FOOTER */
.ftr { background: var(--dark); color: rgba(240,238,234,.4); padding: 2.5rem }
.ftr-c {
    max-width: 1100px; margin: 0 auto; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.ftr p { font-size: .78rem; font-weight: 300 }
.ftr-l { display: flex; gap: 1.5rem }
.ftr-l a { color: rgba(240,238,234,.4); text-decoration: none; font-size: .78rem; transition: color .3s }
.ftr-l a:hover { color: var(--acl) }

/* WA BUTTON */
.wa {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.3); transition: all .4s;
    text-decoration: none; opacity: 0; transform: scale(.8);
    animation: fs .5s 1.5s forwards;
}
.wa:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,.4) }
.wa svg { width: 28px; height: 28px; fill: white }
@keyframes fs { to { opacity: 1; transform: scale(1) } }

/* RESPONSIVE - Mobile first approach */
/* Tablet (768px+) already default for most things */

@media (max-width: 1024px) {
    .stats-row { grid-template-columns: repeat(2, 1fr) }
}

@media (max-width: 768px) {
    .nav-links { display: none }
    .mob-btn { display: block }
    .about-g { grid-template-columns: 1fr; gap: 2.5rem }
    .svc-panels { grid-template-columns: 1fr }
    .cnt-g { grid-template-columns: 1fr }
    .story-inner { grid-template-columns: 1fr; min-height: auto }
    .story-card { min-height: 280px }
    .stats-row { grid-template-columns: 1fr 1fr }
    .client-logo img { height: 60px }
}

@media (max-width: 480px) {
    .sp { padding: 4rem 1.25rem }
    .hero { padding: 7rem 1.25rem 4rem }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 1rem }
    .ftr-c { flex-direction: column; text-align: center }
    .nav { padding: 1rem 1.25rem }
    .nav.scrolled { padding: .6rem 1.25rem }
    .client-logo img { height: 50px }
    .hero-scroll { display: none }
}
